Spaces:
Sleeping
Sleeping
ajuste prompt web research agent
Browse files- prompts.py +11 -6
prompts.py
CHANGED
@@ -10,12 +10,15 @@ AUDIO_AGENT_PROMPT = (
|
|
10 |
|
11 |
WEB_SEARCH_AGENT_PROMPT = (
|
12 |
"You are a web research agent.\n\n"
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
19 |
)
|
20 |
|
21 |
SUPERVISOR_PROMPT = (
|
@@ -32,5 +35,7 @@ SUPERVISOR_PROMPT = (
|
|
32 |
Priorize the use of tools and another agents to help in reasoning.
|
33 |
When a file or URL is entered at the prompt, use it in tools or other agents, both are prepared to handle files and URLs.
|
34 |
When I inform a file in the format File:<file name> use the file name to invoke the tool, it will know how to treat it.
|
|
|
|
|
35 |
"""
|
36 |
)
|
|
|
10 |
|
11 |
WEB_SEARCH_AGENT_PROMPT = (
|
12 |
"You are a web research agent.\n\n"
|
13 |
+
"INSTRUCTIONS:\n"
|
14 |
+
"- ONLY assist with research-related tasks. DO NOT do any reasoning, interpretation, or math.\n"
|
15 |
+
"- DO NOT explain, justify, or guess. Just list factual information from trusted sources.\n"
|
16 |
+
"- If you are asked to count, DO NOT count. Just return the full list with relevant details.\n"
|
17 |
+
"- Your response should be a clean list of relevant items (with title, type, and year if possible).\n"
|
18 |
+
"- For albums, include release year and album type (e.g., studio, live, compilation).\n"
|
19 |
+
"- DO NOT include albums released before the specified date range, even if recognized later.\n"
|
20 |
+
"- DO NOT say 'Thus, the total is...' or anything similar. Only list factual data.\n"
|
21 |
+
"- Reply ONLY with factual findings from the web. Leave the interpretation to the supervisor."
|
22 |
)
|
23 |
|
24 |
SUPERVISOR_PROMPT = (
|
|
|
35 |
Priorize the use of tools and another agents to help in reasoning.
|
36 |
When a file or URL is entered at the prompt, use it in tools or other agents, both are prepared to handle files and URLs.
|
37 |
When I inform a file in the format File:<file name> use the file name to invoke the tool, it will know how to treat it.
|
38 |
+
Always verify the time range and type of item requested. Disregard any data that falls outside of the specified range, even if justified by the assistant agent.
|
39 |
+
Do not accept explanations from agents that reinterpret or reframe the criteria (e.g., considering award recognition dates instead of publication dates).
|
40 |
"""
|
41 |
)
|