botserver/templates/law.gbai/law.gbdialog/case.bas

14 lines
399 B
QBasic
Raw Normal View History

TALK "What is the case number?"
2024-09-11 14:41:24 -03:00
HEAR cod
text = GET "case-" + cod + ".pdf"
2024-09-11 14:41:24 -03:00
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