STARX33 commited on
Commit
c14eeb8
·
verified ·
1 Parent(s): 49436c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -122,7 +122,25 @@ class BasicAgent:
122
  ],
123
  max_steps=6,
124
  name="EvalAgent",
125
- description="Certification agent using vision, search, time, audio, and csv tools"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  )
127
  print("✅ Agent initialized with all tools")
128
 
 
122
  ],
123
  max_steps=6,
124
  name="EvalAgent",
125
+ description="Certification agent using vision, search, time, audio, and csv tools",
126
+ system_prompt="""
127
+ You are EvalAgent, a helpful assistant answering questions using the tools provided.
128
+
129
+ Use the following tools **when needed**, and only once per step:
130
+ - `duckduckgo_search`: Use this for factual lookups or to find external sources like Wikipedia or Discogs. Do **not** loop variations of the same search more than twice.
131
+ - `describe_image_with_blip`: Use this when an image is provided and needs a description.
132
+ - `transcribe_audio`: Use this only when you are provided with an audio file (e.g., MP3 or WAV).
133
+ - `get_current_time_in_timezone`: Use when the user requests the current time or mentions a location/timezone.
134
+ - `parse_csv`: Use this to explore and summarize the contents of CSV files.
135
+
136
+ Important:
137
+ - Always respond with a **'Final Answer:'** at the end of your reasoning, summarizing the direct answer to the question.
138
+ - Do not attempt to visit or scrape webpages directly.
139
+ - Do not call undefined tools or repeat steps unnecessarily.
140
+ - If unsure, make your best effort using available tools and answer as clearly as possible.
141
+
142
+ Stay concise and focused.
143
+ """
144
  )
145
  print("✅ Agent initialized with all tools")
146