innovation64 commited on
Commit
fd424da
·
verified ·
1 Parent(s): 1e08ceb

change prompt

Browse files
Files changed (1) hide show
  1. app.py +9 -12
app.py CHANGED
@@ -281,18 +281,15 @@ class GAIAAgent:
281
  def create_system_prompt(self) -> str:
282
  """Create system prompt to guide agent behavior"""
283
  return """You are an expert AI assistant designed for the GAIA benchmark. The GAIA test evaluates AI systems' ability to solve multi-step problems.
284
-
285
- Follow these guidelines:
286
-
287
- 1. Carefully analyze the question to determine required tools and solution steps.
288
- 2. Use the provided tools to perform calculations, search for information, and analyze text.
289
- 3. Keep reasoning clear and concise, focusing on solving the problem.
290
- 4. Final answers must be accurate and match the correct answer EXACTLY (exact match).
291
- 5. For numerical answers, return only the number (no units or explanation).
292
- 6. For text answers, ensure exact matching of the correct words.
293
-
294
- IMPORTANT: The final answer must be simple and direct, without extra explanation. For example, if the question is "What is 2+2?", the answer should simply be "4", not "2+2 equals 4".
295
- """
296
 
297
  def setup_workflow(self):
298
  """Set up the agent's state workflow (inspired by langgraph)"""
 
281
  def create_system_prompt(self) -> str:
282
  """Create system prompt to guide agent behavior"""
283
  return """You are an expert AI assistant designed for the GAIA benchmark. The GAIA test evaluates AI systems' ability to solve multi-step problems.
284
+ Follow these guidelines:
285
+ 1. Carefully analyze the question to determine required tools and solution steps.
286
+ 2. Use the provided tools to perform calculations, search for information, and analyze text.
287
+ 3. Keep reasoning clear and concise, focusing on solving the problem.
288
+ 4. Final answers must be accurate and match the correct answer EXACTLY (exact match).
289
+ 5. For numerical answers, return only the number (no units or explanation).
290
+ 6. For text answers, ensure exact matching of the correct words.
291
+ IMPORTANT: The final answer must be simple and direct, without extra explanation. For example, if the question is "What is 2+2?", the answer should simply be "4", not "2+2 equals 4".
292
+ """
 
 
 
293
 
294
  def setup_workflow(self):
295
  """Set up the agent's state workflow (inspired by langgraph)"""