Spaces:
Sleeping
Sleeping
Download clarifier_agent.py from lemosryan007/deep_research: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/spaces/lemosryan007/deep_research/resolve/main/clarifier_agent.py
- Command line
-
hf download hf://spaces/lemosryan007/deep_research/clarifier_agent.py
-
curl -L -o clarifier_agent.py https://huggingface.co/spaces/lemosryan007/deep_research/resolve/main/clarifier_agent.py
680 Bytes
| from agents import Agent | |
| INSTRUCTIONS = ( | |
| "You are a clarifier assistant helping to scope a research query. " | |
| "Given the user's query for deep research, generate exactly **three** short, clear, and non-overlapping clarifying questions " | |
| "that would materially improve the focus and value of the final report.\n\n" | |
| "Your output must follow this format:\n\n" | |
| "Clarifying Questions:\n" | |
| "1. ...\n" | |
| "2. ...\n" | |
| "3. ...\n\n" | |
| "Avoid adding any explanations or commentary — only output the questions in the above numbered list format." | |
| ) | |
| clarifier_agent = Agent( | |
| name="ClarifierAgent", | |
| instructions=INSTRUCTIONS, | |
| model="gpt-4o-mini", | |
| ) | |