Ë
    µŒjO  ã                   óN   — 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	y)	zTool for the Google Scholaré    )ÚOptional)ÚCallbackManagerForToolRun)ÚBaseTool)ÚGoogleScholarAPIWrapperc                   óV   — 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y)ÚGoogleScholarQueryRunz(Tool that queries the Google search API.Úgoogle_scholarÚnamez›A wrapper around Google Scholar Search. Useful for when you need to get information aboutresearch papers from Google ScholarInput should be a search query.ÚdescriptionÚapi_wrapperNÚqueryÚrun_managerÚreturnc                 ó8   — | j                   j                  |«      S )zUse the tool.)r   Úrun)Úselfr   r   s      úw/var/www/html/Fitness-lenito-AI-main/venv/lib/python3.12/site-packages/langchain_community/tools/google_scholar/tool.pyÚ_runzGoogleScholarQueryRun._run   s   € ð ×Ñ×#Ñ# EÓ*Ð*ó    )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   ÚstrÚ__annotations__r   r   r   r   r   © r   r   r   r      sU   … Ù2à €Dˆ#Ó ð	*ð �ó ð )Ó(ð
 <@ñ+àð+ð Ð7Ñ8ð+ð 
ô	+r   r   N)
r   Útypingr   Úlangchain_core.callbacksr   Úlangchain_core.toolsr   Ú,langchain_community.utilities.google_scholarr   r   r   r   r   Ú<module>r!      s    ðÙ !å å >Ý )å Pô+˜Hõ +r   