Thanh Vinh Vo
commited on
Commit
·
9dd4c4e
1
Parent(s):
191eb94
update
Browse files
app.py
CHANGED
|
@@ -50,8 +50,8 @@ class BasicAgent:
|
|
| 50 |
|
| 51 |
Please follow following hints:
|
| 52 |
1. `wikipedia` Python package is provided to interact with Wikipedia.
|
| 53 |
-
2. `pandas` Python package is provided. It can be used to extract structured data from HTML content
|
| 54 |
-
3. Only use BeautifulSoup to extract information from HTML if `pandas`
|
| 55 |
4. Please take the question literally!
|
| 56 |
"""
|
| 57 |
result = self.agent.run(prompt)
|
|
|
|
| 50 |
|
| 51 |
Please follow following hints:
|
| 52 |
1. `wikipedia` Python package is provided to interact with Wikipedia.
|
| 53 |
+
2. `pandas` Python package is provided. It can be used to extract structured data (such as tables) from HTML content.
|
| 54 |
+
3. Only use BeautifulSoup to extract information from HTML if `pandas` fails.
|
| 55 |
4. Please take the question literally!
|
| 56 |
"""
|
| 57 |
result = self.agent.run(prompt)
|