Omnitopia commited on
Commit
f71fcae
·
verified ·
1 Parent(s): 433b1d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -13
app.py CHANGED
@@ -68,19 +68,11 @@ class BasicAgent:
68
  <code>
69
  # your code here (properly indented)
70
  </code>
71
- - When you finish your reasoning and are ready to give a final answer, ONLY output your answer in this strict format:
72
- FINAL ANSWER: [YOUR FINAL ANSWER]
73
-
74
- **Strict Output Rules:**
75
- - Do NOT include code, thoughts, explanations, or any extra text after FINAL ANSWER.
76
- - The FINAL ANSWER should be:
77
- - A number, OR as few words as possible, OR a comma separated list of numbers and/or strings.
78
- - If you are asked for a number, do NOT use commas in the number and do NOT add units unless the question asks.
79
- - If you are asked for a string, do NOT use articles or abbreviations (for example, use full city names), and write numbers in plain text unless otherwise specified.
80
- - If you are asked for a comma separated list, apply the above rules to each element.
81
- - If you cannot answer, output exactly: FINAL ANSWER: unknown
82
-
83
- If your answer does not exactly match the required format above, you will not receive credit for the answer.
84
 
85
  **Tool Usage Priority:**
86
  - Always use wikipedia_search first for factual queries.
 
68
  <code>
69
  # your code here (properly indented)
70
  </code>
71
+ - When you finish your reasoning and are ready to give a final answer, ONLY output your final answer directly.
72
+ YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma seperated list of numbers and/or strings.
73
+ 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.
74
+ If you are asked for a string, don't use articles, niether abbreviations(e.g. for cities),and write the digits in plain text unless specified otherwise.
75
+ If you are asked for a comma sperated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
 
 
 
 
 
 
 
 
76
 
77
  **Tool Usage Priority:**
78
  - Always use wikipedia_search first for factual queries.