Sonu313131 commited on
Commit
5a3587b
·
verified ·
1 Parent(s): fa12aa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -181,6 +181,7 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
181
  "Your response must consist of a single line starting with: FINAL ANSWER: and nothing else."
182
  "Normalization rules: If the answer is a list, apply the above rules to each item, and separate them with commas. If the answer is a number, write it as digits (no commas, no units unless asked). If the answer is a string, use lowercase, no articles (a, an, the), and no abbreviations."
183
  "If there is no correct answer (e.g., no such person, place, or event), respond with: FINAL ANSWER: none"
 
184
  "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.\n\n"
185
  )
186
  full_prompt = system_prompt + f"Question: {question_text.strip()}"
 
181
  "Your response must consist of a single line starting with: FINAL ANSWER: and nothing else."
182
  "Normalization rules: If the answer is a list, apply the above rules to each item, and separate them with commas. If the answer is a number, write it as digits (no commas, no units unless asked). If the answer is a string, use lowercase, no articles (a, an, the), and no abbreviations."
183
  "If there is no correct answer (e.g., no such person, place, or event), respond with: FINAL ANSWER: none"
184
+ "When you call the wikipedia search tool, just answer in a single word. Do not explain your reasoning"
185
  "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.\n\n"
186
  )
187
  full_prompt = system_prompt + f"Question: {question_text.strip()}"