Thanh Vinh Vo
commited on
Commit
·
ae3b1c5
1
Parent(s):
01814ac
update
Browse files
app.py
CHANGED
|
@@ -232,13 +232,7 @@ class BasicAgent:
|
|
| 232 |
This agent specializes at:
|
| 233 |
- Writing code to solve problem.
|
| 234 |
- Browse the web to find information.
|
| 235 |
-
- Solving chess problems.
|
| 236 |
-
This agent follow rules below when possible:
|
| 237 |
-
1. `wikipedia` Python package is provided to interact with Wikipedia pages.
|
| 238 |
-
2. Use `extract_table_from_html` tool to process Wikipedia pages first before other approaches.
|
| 239 |
-
2. `chess` Python package is provided. Please use it when there is need to solve chess problems.
|
| 240 |
-
3. Please take the question literally! Do not add any additional information or assumptions.
|
| 241 |
-
|
| 242 |
""",
|
| 243 |
verbosity_level=0,
|
| 244 |
max_steps=10,
|
|
@@ -283,8 +277,7 @@ class BasicAgent:
|
|
| 283 |
Answer the following question (question_id is {question_id}):):
|
| 284 |
"{question}""{file}"
|
| 285 |
Please follow hints below:
|
| 286 |
-
1.
|
| 287 |
-
3. Please take the question literally! Do not add any additional information or assumptions.
|
| 288 |
"""
|
| 289 |
result = self.manager_agent.run(prompt)
|
| 290 |
print(f"Agent responded with: {result}")
|
|
|
|
| 232 |
This agent specializes at:
|
| 233 |
- Writing code to solve problem.
|
| 234 |
- Browse the web to find information.
|
| 235 |
+
- Solving chess problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
""",
|
| 237 |
verbosity_level=0,
|
| 238 |
max_steps=10,
|
|
|
|
| 277 |
Answer the following question (question_id is {question_id}):):
|
| 278 |
"{question}""{file}"
|
| 279 |
Please follow hints below:
|
| 280 |
+
1. Please take the question literally! Do not add any additional information or assumptions.
|
|
|
|
| 281 |
"""
|
| 282 |
result = self.manager_agent.run(prompt)
|
| 283 |
print(f"Agent responded with: {result}")
|