botserver/templates/announcements.gbai/announcements.gbdialog/update-summary.bas
Rodrigo Rodriguez (Pragmatismo) 4c279d2a19 feat: optimize suggestions and LLM server configuration
- Added duplicate filtering for suggestions in both backend (Rust) and frontend (JavaScript)
- Changed announcement summary schedule from every 15 minutes to hourly at :37
- Simplified LLM prompt for document summarization
- Updated LLM server configuration with reduced GPU layers and increased context size
- Removed memory mapping and lock settings for LLM server
- Improved HTML formatting and added missing newline at EOF
2025-11-03 13:38:55 -03:00

12 lines
No EOL
351 B
QBasic

SET_SCHEDULE "37 * * * *"
let text = GET "announcements.gbkb/news/news.pdf"
let resume = LLM "In a short phrase, resume this: " + text
SET_BOT_MEMORY "resume", resume
let text1 = GET "announcements.gbkb/auxiliom/auxiliom.pdf"
SET_BOT_MEMORY "auxiliom", text1
let text2 = GET "announcements.gbkb/toolbix/toolbix.pdf"
SET_BOT_MEMORY "toolbix", text2