Thanh Vinh Vo
commited on
Commit
·
6fd67c0
1
Parent(s):
ef92d43
update
Browse files
app.py
CHANGED
|
@@ -235,8 +235,8 @@ class BasicAgent:
|
|
| 235 |
- Solving chess problems.
|
| 236 |
- Parsing and extracting data from Wikipedia pages.
|
| 237 |
This agent follows rules below:
|
| 238 |
-
1. `wikipedia` Python library is provided, we should use it to
|
| 239 |
-
2. `pandas` Python package is provided, we should use it to extract table data from Wikipedia
|
| 240 |
""",
|
| 241 |
verbosity_level=0,
|
| 242 |
max_steps=10,
|
|
@@ -247,13 +247,11 @@ class BasicAgent:
|
|
| 247 |
model_id="Qwen/Qwen2.5-32B-Instruct",
|
| 248 |
temperature=0.0,
|
| 249 |
),
|
| 250 |
-
tools=[
|
| 251 |
managed_agents=[
|
| 252 |
self.multimodal_agent,
|
| 253 |
self.code_agent],
|
| 254 |
additional_authorized_imports=[
|
| 255 |
-
"markdownify",
|
| 256 |
-
"wikipedia",
|
| 257 |
"pandas"
|
| 258 |
],
|
| 259 |
planning_interval=5,
|
|
|
|
| 235 |
- Solving chess problems.
|
| 236 |
- Parsing and extracting data from Wikipedia pages.
|
| 237 |
This agent follows rules below:
|
| 238 |
+
1. `wikipedia` Python library is provided, we should use it to search and retrieve Wikipedia pages.
|
| 239 |
+
2. `pandas` Python package is provided, we should use it to extract table data from Wikipedia pages.
|
| 240 |
""",
|
| 241 |
verbosity_level=0,
|
| 242 |
max_steps=10,
|
|
|
|
| 247 |
model_id="Qwen/Qwen2.5-32B-Instruct",
|
| 248 |
temperature=0.0,
|
| 249 |
),
|
| 250 |
+
tools=[get_file, audio_to_text],
|
| 251 |
managed_agents=[
|
| 252 |
self.multimodal_agent,
|
| 253 |
self.code_agent],
|
| 254 |
additional_authorized_imports=[
|
|
|
|
|
|
|
| 255 |
"pandas"
|
| 256 |
],
|
| 257 |
planning_interval=5,
|