Spaces:
Sleeping
Sleeping
Martin Bär
commited on
Commit
·
57aba38
1
Parent(s):
dbb14b6
Update prompts
Browse files- basic_agent.py +3 -3
basic_agent.py
CHANGED
@@ -64,7 +64,7 @@ class BasicAgent:
|
|
64 |
name="WikiAgent",
|
65 |
description="Uses wikipedia to answer a question.",
|
66 |
system_prompt=(
|
67 |
-
"You are a Wikipedia agent that can search Wikipedia for information to answer a question. "
|
68 |
"You only give concise answers and if you don't find an answer to the given query on Wikipedia, "
|
69 |
"you communicate this clearly. Always hand off your answer to MainAgent."
|
70 |
),
|
@@ -85,7 +85,7 @@ class BasicAgent:
|
|
85 |
name="WebAgent",
|
86 |
description="Uses the web to answer a question.",
|
87 |
system_prompt=(
|
88 |
-
"You are a Web agent that can search the Web
|
89 |
"You only give concise answers and if you don't find an answer to the given query with your tool, "
|
90 |
"you communicate this clearly. Always hand off your answer to MainAgent."
|
91 |
),
|
@@ -98,7 +98,7 @@ class BasicAgent:
|
|
98 |
name="AudioAgent",
|
99 |
description="Uses transcription tools to analyze audio files.",
|
100 |
system_prompt=(
|
101 |
-
"You are an audio agent that can transcribe an audio file identified by its id and answer questions about
|
102 |
"You only give concise answers and if you cannot answer the given query using your tool, "
|
103 |
"you communicate this clearly. Always hand off your answer to MainAgent."
|
104 |
),
|
|
|
64 |
name="WikiAgent",
|
65 |
description="Uses wikipedia to answer a question.",
|
66 |
system_prompt=(
|
67 |
+
"You are a Wikipedia agent that can search Wikipedia for information and extract the relevant information to answer a question. "
|
68 |
"You only give concise answers and if you don't find an answer to the given query on Wikipedia, "
|
69 |
"you communicate this clearly. Always hand off your answer to MainAgent."
|
70 |
),
|
|
|
85 |
name="WebAgent",
|
86 |
description="Uses the web to answer a question.",
|
87 |
system_prompt=(
|
88 |
+
"You are a Web agent that can search the Web and extract the relevant information to answer a question. "
|
89 |
"You only give concise answers and if you don't find an answer to the given query with your tool, "
|
90 |
"you communicate this clearly. Always hand off your answer to MainAgent."
|
91 |
),
|
|
|
98 |
name="AudioAgent",
|
99 |
description="Uses transcription tools to analyze audio files.",
|
100 |
system_prompt=(
|
101 |
+
"You are an audio agent that can transcribe an audio file identified by its id and answer questions about the transcript. "
|
102 |
"You only give concise answers and if you cannot answer the given query using your tool, "
|
103 |
"you communicate this clearly. Always hand off your answer to MainAgent."
|
104 |
),
|