§
    šŠtjT  ã                   óV   — d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d„ de¦  «        Z	dS )	zTool for the Golden API.é    )ÚOptional)ÚCallbackManagerForToolRun)ÚBaseTool)ÚGoldenQueryAPIWrapperc                   ó^   — e Zd ZU dZdZeed<   dZeed<   eed<   	 dded	e	e
         d
efd„ZdS )ÚGoldenQueryRunzNTool that adds the capability to query using the Golden API and get back JSON.Úgolden_queryÚnameaI  A wrapper around Golden Query API. Useful for getting entities that match a natural language query from Golden's Knowledge Base.
Example queries:
- companies in nanotech
- list of cloud providers starting in 2019
Input should be the natural language query.
Output is a paginated list of results or an error object in JSON format.ÚdescriptionÚapi_wrapperNÚqueryÚrun_managerÚreturnc                 ó6   — | j                              |¦  «        S )zUse the Golden tool.)r   Úrun)Úselfr   r   s      úi/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/langchain_community/tools/golden_query/tool.pyÚ_runzGoldenQueryRun._run   s   € ð Ô×#Ò# EÑ*Ô*Ð*ó    )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   ÚstrÚ__annotations__r   r   r   r   r   © r   r   r   r      s–   € € € € € € ØXÐXà€Dˆ#ÐÐÑð	ð �ð 
ð 
ñ 
ð 'Ð&Ð&Ñ&ð
 <@ð+ð +àð+ð Ð7Ô8ð+ð 
ð	+ð +ð +ð +ð +ð +r   r   N)
r   Útypingr   Úlangchain_core.callbacksr   Úlangchain_core.toolsr   Ú*langchain_community.utilities.golden_queryr   r   r   r   r   ú<module>r!      s‡   ðØ Ð à Ð Ð Ð Ð Ð à >Ð >Ð >Ð >Ð >Ð >Ø )Ð )Ð )Ð )Ð )Ð )à LÐ LÐ LÐ LÐ LÐ Lð+ð +ð +ð +ð +�Xñ +ô +ð +ð +ð +r   