Spaces:
Runtime error
Runtime error
update prompts
Browse files- prompts/agent.yaml +21 -5
prompts/agent.yaml
CHANGED
|
@@ -252,9 +252,25 @@ final_answer:
|
|
| 252 |
pre_messages: |-
|
| 253 |
An agent tried to answer a user query but it got stuck and failed to do so. You are tasked with providing an answer instead. Here is the agent's memory:
|
| 254 |
post_messages: |-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 260 |
{{task}}
|
|
|
|
|
|
| 252 |
pre_messages: |-
|
| 253 |
An agent tried to answer a user query but it got stuck and failed to do so. You are tasked with providing an answer instead. Here is the agent's memory:
|
| 254 |
post_messages: |-
|
| 255 |
+
Always separate your reasoning from the final answer.
|
| 256 |
+
|
| 257 |
+
First, write your full reasoning and explanation. Do NOT include the final answer in this reasoning section.
|
| 258 |
+
|
| 259 |
+
At the end, write the final answer on a **new line**, using this exact format:
|
| 260 |
+
|
| 261 |
+
FINAL ANSWER: [YOUR FINAL ANSWER]
|
| 262 |
+
|
| 263 |
+
Important: The final answer will be compared to a ground truth answer using **exact string match**.
|
| 264 |
+
Follow these formatting rules for the final answer:
|
| 265 |
+
- Do NOT include any reasoning, explanation, or formatting outside of the answer itself after "FINAL ANSWER:".
|
| 266 |
+
- YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
|
| 267 |
+
- If the answer is a number, write only the digits with no commas, units, or symbols (e.g., write 1000 instead of 1,000 or $1000).
|
| 268 |
+
- If the answer is a string, do NOT include articles (a, an, the), do NOT abbreviate words, and write all digits as words (e.g., "twenty one" instead of "21").
|
| 269 |
+
- If the answer is a comma-separated list, apply the same rules to each element as above.
|
| 270 |
+
|
| 271 |
+
NEVER restate the final answer in the explanation. It must appear ONLY after the phrase "FINAL ANSWER:".
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
Now, based on the above, please provide an answer to the following user task:
|
| 275 |
{{task}}
|
| 276 |
+
|