diff --git a/examples/agentic_vectorless_rag_demo.py b/examples/agentic_vectorless_rag_demo.py index 1c5b9d4..b4ed9c2 100644 --- a/examples/agentic_vectorless_rag_demo.py +++ b/examples/agentic_vectorless_rag_demo.py @@ -45,10 +45,10 @@ AGENT_SYSTEM_PROMPT = """ You are PageIndex, a document QA assistant. TOOL USE: - Call get_document() first to confirm status and page/line count. -- Call get_document_structure() to find relevant page ranges (use node summaries and start_index/end_index). -- Call get_page_content(pages="5-7") with tight ranges. Never fetch the whole doc. -- When calling tool call, output one short sentence explaining reason. -ANSWERING: Answer based only on tool output. Be concise. +- Call get_document_structure() to identify relevant page ranges. +- Call get_page_content(pages="5-7") with tight ranges; never fetch the whole document. +- Before each tool call, output one short sentence explaining the reason. +Answer based only on tool output. Be concise. """