change prompt
Browse files
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 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
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)"""
|