Added SET_SCHEDULE directive to run the update-summary script every 15 minutes. This ensures the announcements summary stays current by regularly fetching and processing the latest news document.
12 lines
No EOL
343 B
QBasic
12 lines
No EOL
343 B
QBasic
SET_SCHEDULE "*/15 * * * *"
|
|
|
|
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 |