Thanh Vinh Vo
commited on
Commit
·
c79c7c4
1
Parent(s):
fc0cad8
update
Browse files
app.py
CHANGED
|
@@ -251,7 +251,7 @@ class BasicAgent:
|
|
| 251 |
model_id="Qwen/Qwen2.5-32B-Instruct",
|
| 252 |
temperature=0.0,
|
| 253 |
),
|
| 254 |
-
tools=[get_file, audio_to_text
|
| 255 |
managed_agents=[
|
| 256 |
self.multimodal_agent,
|
| 257 |
self.code_agent],
|
|
@@ -288,9 +288,7 @@ class BasicAgent:
|
|
| 288 |
"{question}""{file}"
|
| 289 |
Please follow rules below:
|
| 290 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 291 |
-
2.
|
| 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}")
|
|
|
|
| 251 |
model_id="Qwen/Qwen2.5-32B-Instruct",
|
| 252 |
temperature=0.0,
|
| 253 |
),
|
| 254 |
+
tools=[get_file, audio_to_text],
|
| 255 |
managed_agents=[
|
| 256 |
self.multimodal_agent,
|
| 257 |
self.code_agent],
|
|
|
|
| 288 |
"{question}""{file}"
|
| 289 |
Please follow rules below:
|
| 290 |
1. Take the question literally! Do not add any additional information or assumptions.
|
| 291 |
+
2. Only use BeautifulSoup to parse HTML at last resort!
|
|
|
|
|
|
|
| 292 |
"""
|
| 293 |
result = self.manager_agent.run(prompt)
|
| 294 |
print(f"Agent responded with: {result}")
|