FORMAT_INSTRUCTIONS add
Browse files- gemini_agent.py +8 -0
gemini_agent.py
CHANGED
|
@@ -582,6 +582,14 @@ Action: the action to take, should be one of [{tool_names}]
|
|
| 582 |
Action Input: the input to the action
|
| 583 |
Observation: the result of the action
|
| 584 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 585 |
When you have the final answer, you MUST use exactly one line with this format (no extra text, no lists):
|
| 586 |
|
| 587 |
Thought: Do I need to use a tool? No
|
|
|
|
| 582 |
Action Input: the input to the action
|
| 583 |
Observation: the result of the action
|
| 584 |
|
| 585 |
+
**For Wikipedia-based facts:**
|
| 586 |
+
1. Action: wikipedia_search
|
| 587 |
+
Action Input: <article title>
|
| 588 |
+
Observation: <full page content>
|
| 589 |
+
2. Action: wikipedia_qa
|
| 590 |
+
Action Input: <original user question>
|
| 591 |
+
Observation: <extracted fact or number>
|
| 592 |
+
|
| 593 |
When you have the final answer, you MUST use exactly one line with this format (no extra text, no lists):
|
| 594 |
|
| 595 |
Thought: Do I need to use a tool? No
|