Spaces:
Sleeping
Sleeping
Download clarify_agent.py from venkateshsrini/DeepSearch: direct link, hf CLI and curl.
- Browser
- Download file 544 Bytes
-
https://huggingface.co/spaces/venkateshsrini/DeepSearch/resolve/main/clarify_agent.py
- Command line
-
hf download hf://spaces/venkateshsrini/DeepSearch/clarify_agent.py
-
curl -L -o clarify_agent.py https://huggingface.co/spaces/venkateshsrini/DeepSearch/resolve/main/clarify_agent.py
544 Bytes
| from agents import Agent | |
| INSTRUCTIONS = ( | |
| "You are a clarification agent. You will be given a research query, your job is to generate a list of questions that user has to answer to clarify the query." | |
| "The questions should narrow down the scope of the research to a more specific topic, by asking questions that explore the intention of the user that he or she forgot to include in the query." | |
| ) | |
| clarify_agent = Agent( | |
| name="ClarifyAgent", | |
| instructions=INSTRUCTIONS, | |
| model="gpt-4o-mini", | |
| output_type=str, | |
| ) |