Thanh Vinh Vo
commited on
Commit
·
3e40849
1
Parent(s):
424e04c
update
Browse files
app.py
CHANGED
|
@@ -50,9 +50,10 @@ 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.
|
| 54 |
-
3.
|
| 55 |
-
4.
|
|
|
|
| 56 |
"""
|
| 57 |
result = self.agent.run(prompt)
|
| 58 |
print(f"Agent responded with: {result}")
|
|
|
|
| 50 |
|
| 51 |
Please follow following hints:
|
| 52 |
1. `wikipedia` Python package is provided to interact with Wikipedia.
|
| 53 |
+
2. `pandas` Python package is provided. Prefer to use it to extract structured data (such as tables) from website content.
|
| 54 |
+
3. Try to manually inspect the website content before using code to extract information from website.
|
| 55 |
+
4. Use BeautifulSoup as last resort to extract information from website.
|
| 56 |
+
5. Please take the question literally!
|
| 57 |
"""
|
| 58 |
result = self.agent.run(prompt)
|
| 59 |
print(f"Agent responded with: {result}")
|