Deep_Reaserch_ / clarify_agent.py
pratik33's picture
Upload folder using huggingface_hub
25851c8 verified
raw
history blame contribute delete
534 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,
)