Thanh Vinh Vo commited on
Commit ·
1443762
1
Parent(s): 4abb463
update
Browse files
app.py
CHANGED
|
@@ -229,11 +229,8 @@ class BasicAgent:
|
|
| 229 |
prompt = f"""
|
| 230 |
Answer the following question:
|
| 231 |
"{question} {"The file name for this question is: " if has_file else ""} {question_id if has_file else ""}"
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
2. `wikipedia` Python package is provided to interact with Wikipedia. Try to work with raw wikipedia HTML content and use `pandas` to parse first.
|
| 235 |
-
3. `chess` Python package is provided. Please use it when there is need to solve chess problems.
|
| 236 |
-
4. Please take the question literally! Do not add any additional information or assumptions.
|
| 237 |
"""
|
| 238 |
result = self.manager_agent.run(prompt)
|
| 239 |
print(f"Agent responded with: {result}")
|
|
|
|
| 229 |
prompt = f"""
|
| 230 |
Answer the following question:
|
| 231 |
"{question} {"The file name for this question is: " if has_file else ""} {question_id if has_file else ""}"
|
| 232 |
+
|
| 233 |
+
Please try to use one of the managed agents to answer the question first!
|
|
|
|
|
|
|
|
|
|
| 234 |
"""
|
| 235 |
result = self.manager_agent.run(prompt)
|
| 236 |
print(f"Agent responded with: {result}")
|