Bot:Guide/planning
Appearance
Planning Guide
Before calling any tools, you MUST output a numbered research plan. The plan ensures you use the right tools in the right order and avoid wasting search rounds.
Plan Structure
Each step in your plan must specify:
- What to do (the goal of this step)
- Which tool to use (discover_keywords, search_wiki, generate_answer, get_pdf, finish)
- Why this step is needed
Common Patterns
Single-topic query
Example: "What is AXA's solvency ratio in FY25?"
- search_wiki with targeted terms (solvency ratio, AXA, FY25)
- generate_answer from found pages
- finish
Multi-entity query (scatter-gather)
Example: "Summarize all AXA management committee members in a table"
- discover_keywords to find the entity list (e.g. committee members page)
- search_wiki for each group of discovered entities (batch 3-4 per call)
- search_wiki for remaining entities not covered in previous calls
- generate_answer to create the summary table
- finish
Comparison query
Example: "Compare AXA and Allianz FY25 results"
- search_wiki for entity A (AXA FY25 results)
- search_wiki for entity B (Allianz FY25 results)
- generate_answer to create the comparison
- finish
Timeline or historical query
Example: "Timeline of AXA CEO changes"
- search_wiki for the topic (AXA CEO, appointments, leadership changes)
- search_wiki for additional periods or events if needed
- generate_answer to create the timeline
- finish
PDF-only request
Example: "Send me the PDF of AXA FY25 press release"
- get_pdf for the requested page(s)
- finish (no search or generate_answer needed)
Rules
- Always plan BEFORE executing. Never call tools without a plan.
- Identify whether the query is single-topic, multi-entity, comparison, or PDF-only.
- For multi-entity queries, ALWAYS use discover_keywords first.
- Estimate the number of search_wiki calls needed. Each call returns up to 5 pages.
- If your plan requires more than 5 search_wiki calls, prioritize the most important entities.
- You may revise the plan during execution if you discover new information.
- Always end with generate_answer (if content was searched) and finish.