bstraehle commited on
Commit
5c618d8
·
verified ·
1 Parent(s): e74736a

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -0
agent.py CHANGED
@@ -25,6 +25,8 @@ def run_agent(level, question, file_name, ground_truth):
25
  verbosity_level = 2
26
  )
27
 
 
 
28
  answer = agent.run(question)
29
 
30
  return answer, str(answer == ground_truth)
 
25
  verbosity_level = 2
26
  )
27
 
28
+ agent.prompt_templates["system_prompt"] = agent.prompt_templates["system_prompt"] + '\nWhen answering, provide ONLY the precise answer requested. Do not include explanations, steps, reasoning, or additional text. Be direct and specific. GAIA benchmark requires exact matching answers. For example, if asked "What is the capital of France?", respond simply with "Paris".'
29
+
30
  answer = agent.run(question)
31
 
32
  return answer, str(answer == ground_truth)