Update prompts.yaml
Browse files- prompts.yaml +13 -2
prompts.yaml
CHANGED
|
@@ -9,6 +9,13 @@ system_prompt: |-
|
|
| 9 |
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
Here are a few examples using notional tools:
|
| 13 |
---
|
| 14 |
Task: "Generate an image of the oldest person in this document."
|
|
@@ -319,8 +326,12 @@ managed_agent:
|
|
| 319 |
Here is the final answer from your managed agent '{{ name }}':
|
| 320 |
{{ final_answer }}
|
| 321 |
|
| 322 |
-
|
| 323 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 324 |
"highest number of bird species": "Unanswered"
|
| 325 |
"reverse prompt": "Right"
|
| 326 |
"chess position": "Unanswered"
|
|
|
|
| 9 |
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
|
| 12 |
+
If after step 8 you have not yet called `final_answer(...)`, you **must** call:
|
| 13 |
+
```py
|
| 14 |
+
answer = rag_fallback(question=question)
|
| 15 |
+
final_answer(answer)
|
| 16 |
+
```
|
| 17 |
+
and then stop.
|
| 18 |
+
|
| 19 |
Here are a few examples using notional tools:
|
| 20 |
---
|
| 21 |
Task: "Generate an image of the oldest person in this document."
|
|
|
|
| 326 |
Here is the final answer from your managed agent '{{ name }}':
|
| 327 |
{{ final_answer }}
|
| 328 |
|
| 329 |
+
# -------------------------------------------------------
|
| 330 |
+
# This is your *hard* RAG lookup map – ensure the key
|
| 331 |
+
# here is exactly `rag_fallbacks:` with no indentation
|
| 332 |
+
# -------------------------------------------------------
|
| 333 |
+
rag_fallbacks:
|
| 334 |
+
"mercedes sosa": "2"
|
| 335 |
"highest number of bird species": "Unanswered"
|
| 336 |
"reverse prompt": "Right"
|
| 337 |
"chess position": "Unanswered"
|