a
    bŠÝgd  ã                   @   sH   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„ deƒZ	dS )	zTool for Steam Web APIé    )ÚOptional)ÚCallbackManagerForToolRun)ÚBaseTool)ÚSteamWebAPIWrapperc                   @   sR   e Zd ZU dZeed< dZeed< dZeed< eed< dee	e
 ed	œd
d„ZdS )ÚSteamWebAPIQueryRunz%Tool that searches the Steam Web API.ÚmodeZsteamÚnamez A wrapper around Steam Web API.Steam Tool is useful for fetching User profiles and stats, Game data and more!Input should be the User or Game you want to query.ÚdescriptionÚapi_wrapperN)ÚqueryÚrun_managerÚreturnc                 C   s   | j  | j|¡S )zUse the Steam-WebAPI tool.)r
   Úrunr   )Úselfr   r   © r   úr/var/www/html/cobodadashboardai.evdpl.com/venv/lib/python3.9/site-packages/langchain_community/tools/steam/tool.pyÚ_run   s    zSteamWebAPIQueryRun._run)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚstrÚ__annotations__r   r	   r   r   r   r   r   r   r   r   r      s   
ÿ
 ýür   N)
r   Útypingr   Zlangchain_core.callbacksr   Zlangchain_core.toolsr   Z#langchain_community.utilities.steamr   r   r   r   r   r   Ú<module>   s
   