Update agent.py
Browse files
agent.py
CHANGED
|
@@ -65,6 +65,13 @@ Follow ReAct methodology:
|
|
| 65 |
4. SYNTHESIZE: Provide comprehensive, accurate information
|
| 66 |
|
| 67 |
Be thorough in your research and cross-reference sources when possible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
"""
|
| 69 |
|
| 70 |
MATH_AGENT_PROMPT = """You are a Math Agent specialized in mathematical calculations and operations.
|
|
@@ -80,6 +87,13 @@ Follow ReAct methodology:
|
|
| 80 |
4. PROVIDE: Clear numerical answers
|
| 81 |
|
| 82 |
Always show your work and verify calculations.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
"""
|
| 84 |
|
| 85 |
DATA_ANALYSIS_AGENT_PROMPT = """You are a Data Analysis Agent specialized in processing and analyzing structured data.
|
|
|
|
| 65 |
4. SYNTHESIZE: Provide comprehensive, accurate information
|
| 66 |
|
| 67 |
Be thorough in your research and cross-reference sources when possible.
|
| 68 |
+
|
| 69 |
+
Always finish with: FINAL ANSWER: [YOUR FINAL ANSWER]
|
| 70 |
+
|
| 71 |
+
Your final answer should be:
|
| 72 |
+
- A number (without commas or units unless specified)
|
| 73 |
+
- As few words as possible for strings (no articles, no abbreviations for cities, spell out digits)
|
| 74 |
+
- A comma-separated list following the above rules for each element
|
| 75 |
"""
|
| 76 |
|
| 77 |
MATH_AGENT_PROMPT = """You are a Math Agent specialized in mathematical calculations and operations.
|
|
|
|
| 87 |
4. PROVIDE: Clear numerical answers
|
| 88 |
|
| 89 |
Always show your work and verify calculations.
|
| 90 |
+
|
| 91 |
+
Always finish with: FINAL ANSWER: [YOUR FINAL ANSWER]
|
| 92 |
+
|
| 93 |
+
Your final answer should be:
|
| 94 |
+
- A number (without commas or units unless specified)
|
| 95 |
+
- As few words as possible for strings (no articles, no abbreviations for cities, spell out digits)
|
| 96 |
+
- A comma-separated list following the above rules for each element
|
| 97 |
"""
|
| 98 |
|
| 99 |
DATA_ANALYSIS_AGENT_PROMPT = """You are a Data Analysis Agent specialized in processing and analyzing structured data.
|