Thanh Vinh Vo
commited on
Commit
·
0966214
1
Parent(s):
f892bb9
update
Browse files
app.py
CHANGED
|
@@ -288,6 +288,9 @@ class BasicAgent:
|
|
| 288 |
"{question}""{file}"
|
| 289 |
Please follow rules below:
|
| 290 |
1. Take the question literally! Do not add any additional information or assumptions.
|
|
|
|
|
|
|
|
|
|
| 291 |
"""
|
| 292 |
result = self.manager_agent.run(prompt)
|
| 293 |
print(f"Agent responded with: {result}")
|
|
|
|
| 288 |
"{question}""{file}"
|
| 289 |
Please follow rules below:
|
| 290 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 291 |
+
2. `wikipedia` Python library is provided that makes it easy to to interact with Wikipedia pages.
|
| 292 |
+
3. `pandas` tool is provided that makes it easy to extract table data from Wikipedia HTML pages.
|
| 293 |
+
4. Only use BeautifulSoup to parse HTML at last resort!
|
| 294 |
"""
|
| 295 |
result = self.manager_agent.run(prompt)
|
| 296 |
print(f"Agent responded with: {result}")
|