CoolFace
Apppublic

ruDra2916/KnowSphere

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
planner_agent.cpython-312.pyc8 linesDownload Raw Back to __pycache__
1�

2v�Nh)��t�ddlmZmZddlmZdZde�d�ZGd�de�ZGd�d	e�Zed3ede��Z	y
)�)�	BaseModel�Field)�Agent�z�You are a helpful research assistant. Given a query, come up with a set of web searches to perform to best answer the query. Output z terms to query for.c�F�eZdZUed��Zeed<ed��Zeed<y)�
WebSearchItemz=Your reasoning for why this search is important to the query.��description�reasonz*The search term to use for the web search.�queryN)�__name__�4__module__�__qualname__rr�str�__annotations__r���HC:\Users\Dhanush\projects\agents\2_openai\deep_research\planner_agent.pyrr5s"���$c�d�F�C�d��#O�P�E�3�Prrc�0�eZdZUed��Zeeed<y)�
WebSearchPlanz;A list of web searches to perform to best answer the query.r	�searchesN)r
rrrr�listrrrrrrrs��$)�6s�$t�H�d�=�!�trr�PlannerAgentzgpt-4o-mini)�name�instructions�model�output_typeN)6�pydanticrr�agentsr�HOW_MANY_SEARCHES�INSTRUCTIONSrr�
planner_agentrrr�<module>r#s[��%����-�->�,?�?S�U��Q�I�Q�7u�I�u��	��8��	�
r