Thanh Vinh Vo
commited on
Commit
·
1ea18fe
1
Parent(s):
3d4663b
update
Browse files
app.py
CHANGED
|
@@ -285,12 +285,6 @@ class BasicAgent:
|
|
| 285 |
- Solving hard Maths problems.
|
| 286 |
- Browse the web to find information.
|
| 287 |
- Reason across audio, vision, and text, a.k.a multimodal agent. """,
|
| 288 |
-
system_prompt="""
|
| 289 |
-
Just give up and return a guess if the request requires you to do any of the following:
|
| 290 |
-
- Download Youtube videos.
|
| 291 |
-
- Convert Youtube videos to audio.
|
| 292 |
-
- Solve chess puzzle from an image.
|
| 293 |
-
""",
|
| 294 |
max_steps=5,
|
| 295 |
)
|
| 296 |
|
|
@@ -338,6 +332,10 @@ class BasicAgent:
|
|
| 338 |
- 2.Use `pandas.read_html` to extract the table data from that section.
|
| 339 |
- If the question asks for a list, please make sure that the elements are separated by a comma(`,`) and a space(` `). For example: `1, 2, 3` instead of `1,2,3`.
|
| 340 |
- If the question asks for name without abbreviations, please ALWAYS ask `multimodal_agent` for the FULL name of final answer to ensure NO abbreviation is included in Final Answer. For example: `United States` instead of `US`.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
"""
|
| 342 |
if "food" in question.lower() or "drink" in question.lower():
|
| 343 |
prompt = f"""
|
|
|
|
| 285 |
- Solving hard Maths problems.
|
| 286 |
- Browse the web to find information.
|
| 287 |
- Reason across audio, vision, and text, a.k.a multimodal agent. """,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
max_steps=5,
|
| 289 |
)
|
| 290 |
|
|
|
|
| 332 |
- 2.Use `pandas.read_html` to extract the table data from that section.
|
| 333 |
- If the question asks for a list, please make sure that the elements are separated by a comma(`,`) and a space(` `). For example: `1, 2, 3` instead of `1,2,3`.
|
| 334 |
- If the question asks for name without abbreviations, please ALWAYS ask `multimodal_agent` for the FULL name of final answer to ensure NO abbreviation is included in Final Answer. For example: `United States` instead of `US`.
|
| 335 |
+
Just give up and return a guess answer if the request requires you to do any of the following:
|
| 336 |
+
- Download Youtube videos.
|
| 337 |
+
- Convert Youtube videos to audio.
|
| 338 |
+
- Solve chess puzzle from an image.
|
| 339 |
"""
|
| 340 |
if "food" in question.lower() or "drink" in question.lower():
|
| 341 |
prompt = f"""
|