Update app.py
Browse files
app.py
CHANGED
|
@@ -123,14 +123,17 @@ class BasicAgent:
|
|
| 123 |
max_steps=6,
|
| 124 |
name="EvalAgent",
|
| 125 |
description=(
|
| 126 |
-
"You are EvalAgent, a helpful assistant
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
|
|
|
|
|
|
|
|
|
| 134 |
)
|
| 135 |
)
|
| 136 |
print("✅ Agent initialized with all tools")
|
|
|
|
| 123 |
max_steps=6,
|
| 124 |
name="EvalAgent",
|
| 125 |
description=(
|
| 126 |
+
"You are EvalAgent, a helpful assistant that can answer evaluation questions. Use the following tools based on question type:\n"
|
| 127 |
+
"- duckduckgo_search: questions about Wikipedia, historical facts, awards, or articles.\n"
|
| 128 |
+
"- describe_image_with_blip: if an image is attached (e.g., chess or diagram).\n"
|
| 129 |
+
"- transcribe_audio: for .mp3 questions. Transcribe then extract answers logically.\n"
|
| 130 |
+
"- parse_csv: if .csv or .xlsx file is attached (e.g., sales data).\n"
|
| 131 |
+
"- NO TOOL: if the question is logical, word-based, or reversible. Solve with reasoning.\n"
|
| 132 |
+
"NEVER attempt undefined functions or retry multiple search variants.\n"
|
| 133 |
+
"After tool execution, always write your response with this format:\n"
|
| 134 |
+
"Final Answer: <your answer here>\n"
|
| 135 |
+
"Then stop, then continue to next question until the end of the evaluation. Do not loop.\n"
|
| 136 |
+
|
| 137 |
)
|
| 138 |
)
|
| 139 |
print("✅ Agent initialized with all tools")
|