botserver/templates/law.gbai/law.gbdialog/case.bas
Rodrigo Rodriguez (Pragmatismo) 31b7d5d59e
Some checks failed
GBCI / build (push) Failing after 1h26m41s
fix(GBMinService): comment out file writing to prevent overwriting bot manifest
2025-04-17 16:21:02 -03:00

14 lines
No EOL
400 B
QBasic

TALK "What is the case number?"
HEAR cod
text = GET "case-" + cod + ".pdf"
IF text THEN
text = "Based on this document, answer the person's questions:\n\n" + text
SET CONTEXT text
SET ANSWER MODE "document"
TALK "Case ${cod} loaded. You can ask me anything about the case or request a summary in any way you need."
ELSE
TALK "The case was not found, please try again."
END IF