Thanh Vinh Vo
commited on
Commit
·
09756ae
1
Parent(s):
0966214
update
Browse files
app.py
CHANGED
|
@@ -239,7 +239,7 @@ class BasicAgent:
|
|
| 239 |
This agent follows rules below:
|
| 240 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 241 |
2. `wikipedia` Python library is provided that makes it easy to to interact with Wikipedia pages.
|
| 242 |
-
3. `pandas`
|
| 243 |
4. Only use BeautifulSoup to parse HTML at last resort!
|
| 244 |
""",
|
| 245 |
verbosity_level=0,
|
|
@@ -288,9 +288,8 @@ 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 |
-
2. `
|
| 292 |
-
3.
|
| 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}")
|
|
|
|
| 239 |
This agent follows rules below:
|
| 240 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 241 |
2. `wikipedia` Python library is provided that makes it easy to to interact with Wikipedia pages.
|
| 242 |
+
3. `pandas` Python package is provided that makes it easy to extract table data from Wikipedia HTML pages.
|
| 243 |
4. Only use BeautifulSoup to parse HTML at last resort!
|
| 244 |
""",
|
| 245 |
verbosity_level=0,
|
|
|
|
| 288 |
"{question}""{file}"
|
| 289 |
Please follow rules below:
|
| 290 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 291 |
+
2. `pandas` Python package is provided that makes it easy to extract table data from Wikipedia HTML pages.
|
| 292 |
+
3. Only use BeautifulSoup to parse HTML at last resort!
|
|
|
|
| 293 |
"""
|
| 294 |
result = self.manager_agent.run(prompt)
|
| 295 |
print(f"Agent responded with: {result}")
|