Ë
    {¼Áhp  ã                   ó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 Merriam-Webster API.é    )ÚOptional)ÚCallbackManagerForToolRun)ÚBaseTool)ÚMerriamWebsterAPIWrapperc                   ó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)ÚMerriamWebsterQueryRunz+Tool that searches the Merriam-Webster API.Úmerriam_websterÚnamezA wrapper around Merriam-Webster. Useful for when you need to get the definition of a word.Input should be the word you want the definition of.ÚdescriptionÚapi_wrapperNÚqueryÚrun_managerÚreturnc                 ó8   — | j                   j                  |«      S )zUse the Merriam-Webster tool.)r   Úrun)Úselfr   r   s      úh/var/www/html/engine/venv/lib/python3.12/site-packages/langchain_community/tools/merriam_webster/tool.pyÚ_runzMerriamWebsterQueryRun._run   s   € ð ×Ñ×#Ñ# EÓ*Ð*ó    )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   ÚstrÚ__annotations__r   r   r   r   r   © r   r   r   r      sU   … Ù5à!€Dˆ#Ó!ð	?ð ó ð
 *Ó)ð
 <@ñ+àð+ð Ð7Ñ8ð+ð 
ô	+r   r   N)
r   Útypingr   Úlangchain_core.callbacksr   Úlangchain_core.toolsr   Ú-langchain_community.utilities.merriam_websterr   r   r   r   r   ú<module>r!      s    ðÙ 'å å >Ý )å Rô+˜Xõ +r   