botserver/templates/announcements.gbai/announcements.gbdialog/update-summary.bas
Rodrigo Rodriguez (Pragmatismo) 8aeb6f31ea feat(bot): add semantic caching and improve message handling
Enhances BotOrchestrator by integrating optional semantic caching via LangCache for faster LLM responses. Also refactors message saving to occur before and after direct mode handling, and simplifies context change logic for better clarity and flow.
2025-11-03 12:54:21 -03:00

12 lines
No EOL
316 B
QBasic

let text = GET "announcements.gbkb/news/news.pdf"
let resume = LLM "Resume this document: " + 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