Thanh Vinh Vo
commited on
Commit
·
848a6a6
1
Parent(s):
7a3e558
update
Browse files
app.py
CHANGED
|
@@ -48,11 +48,11 @@ class BasicAgent:
|
|
| 48 |
Answer the following question:
|
| 49 |
"{question}"
|
| 50 |
|
| 51 |
-
Please follow
|
| 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)
|
| 58 |
print(f"Agent responded with: {result}")
|
|
|
|
| 48 |
Answer the following question:
|
| 49 |
"{question}"
|
| 50 |
|
| 51 |
+
Please follow hints below:
|
| 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)
|
| 58 |
print(f"Agent responded with: {result}")
|