Thanh Vinh Vo
commited on
Commit
·
fc0cad8
1
Parent(s):
942b9ae
update
Browse files
app.py
CHANGED
|
@@ -240,6 +240,7 @@ class BasicAgent:
|
|
| 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. `extract_table_from_html` tool is provided that makes it easy to extract tables from Wikipedia HTML pages.
|
|
|
|
| 243 |
""",
|
| 244 |
verbosity_level=0,
|
| 245 |
max_steps=10,
|
|
@@ -289,6 +290,7 @@ class BasicAgent:
|
|
| 289 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 290 |
2. `wikipedia` Python library is provided that makes it easy to to interact with Wikipedia pages.
|
| 291 |
3. `extract_table_from_html` tool is provided that makes it easy to extract tables from Wikipedia HTML pages.
|
|
|
|
| 292 |
"""
|
| 293 |
result = self.manager_agent.run(prompt)
|
| 294 |
print(f"Agent responded with: {result}")
|
|
|
|
| 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. `extract_table_from_html` tool is provided that makes it easy to extract tables from Wikipedia HTML pages.
|
| 243 |
+
4. Only use BeautifulSoup to parse HTML at last resort!
|
| 244 |
""",
|
| 245 |
verbosity_level=0,
|
| 246 |
max_steps=10,
|
|
|
|
| 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. `extract_table_from_html` tool is provided that makes it easy to extract tables 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}")
|