Thanh Vinh Vo
commited on
Commit
·
8bbf29a
1
Parent(s):
d1db3c3
update
Browse files
app.py
CHANGED
|
@@ -223,19 +223,7 @@ class BasicAgent:
|
|
| 223 |
"whisper",
|
| 224 |
"openpyxl",
|
| 225 |
"youtube_transcript_api",
|
| 226 |
-
]
|
| 227 |
-
name="code_agent",
|
| 228 |
-
description="""
|
| 229 |
-
This agent specializes at:
|
| 230 |
-
- Writing code to solve problem.
|
| 231 |
-
- Browse and search the web to find information.
|
| 232 |
-
- Solving chess problems.
|
| 233 |
-
- Parsing and extracting data from Wikipedia pages.
|
| 234 |
-
This agent follows rules below:
|
| 235 |
-
1. `wikipedia` Python package is provided, we should use it to search and retrieve Wikipedia pages.
|
| 236 |
-
""",
|
| 237 |
-
verbosity_level=1,
|
| 238 |
-
max_steps=10,
|
| 239 |
)
|
| 240 |
|
| 241 |
def __call__(self, question: str, question_id: str, file_name: str) -> str:
|
|
|
|
| 223 |
"whisper",
|
| 224 |
"openpyxl",
|
| 225 |
"youtube_transcript_api",
|
| 226 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
)
|
| 228 |
|
| 229 |
def __call__(self, question: str, question_id: str, file_name: str) -> str:
|