Klass777 commited on
Commit
1ebbba5
·
verified ·
1 Parent(s): 9b305f0

update prompts

Browse files
Files changed (1) hide show
  1. 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
- Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings.
256
- If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
257
- If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
258
- If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
259
- Based on the above, please provide an answer to the following user task:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+