Thanh Vinh Vo
commited on
Commit
·
8dae467
1
Parent(s):
abda1eb
update
Browse files
app.py
CHANGED
|
@@ -276,10 +276,9 @@ class BasicAgent:
|
|
| 276 |
- Browse the web to find information.
|
| 277 |
- Solving chess problems.
|
| 278 |
This agent follow rules below when possible:
|
| 279 |
-
1. `
|
| 280 |
-
2. `
|
| 281 |
-
3.
|
| 282 |
-
4. Please take the question literally! Do not add any additional information or assumptions.
|
| 283 |
|
| 284 |
""",
|
| 285 |
verbosity_level=0,
|
|
@@ -325,10 +324,9 @@ class BasicAgent:
|
|
| 325 |
Answer the following question (question_id is {question_id}):):
|
| 326 |
"{question}""{file}"
|
| 327 |
Please follow hints below:
|
| 328 |
-
1. `
|
| 329 |
-
2. `
|
| 330 |
-
3.
|
| 331 |
-
4. Please take the question literally! Do not add any additional information or assumptions.
|
| 332 |
"""
|
| 333 |
result = self.manager_agent.run(prompt)
|
| 334 |
print(f"Agent responded with: {result}")
|
|
|
|
| 276 |
- Browse the web to find information.
|
| 277 |
- Solving chess problems.
|
| 278 |
This agent follow rules below when possible:
|
| 279 |
+
1. `wikipedia` Python package is provided to interact with Wikipedia pages.
|
| 280 |
+
2. `chess` Python package is provided. Please use it when there is need to solve chess problems.
|
| 281 |
+
3. Please take the question literally! Do not add any additional information or assumptions.
|
|
|
|
| 282 |
|
| 283 |
""",
|
| 284 |
verbosity_level=0,
|
|
|
|
| 324 |
Answer the following question (question_id is {question_id}):):
|
| 325 |
"{question}""{file}"
|
| 326 |
Please follow hints below:
|
| 327 |
+
1. `wikipedia` Python package is provided to interact with Wikipedia pages.
|
| 328 |
+
2. `chess` Python package is provided. Please use it when there is need to solve chess problems.
|
| 329 |
+
3. Please take the question literally! Do not add any additional information or assumptions.
|
|
|
|
| 330 |
"""
|
| 331 |
result = self.manager_agent.run(prompt)
|
| 332 |
print(f"Agent responded with: {result}")
|