Format: application/x-python-code
⬇ Download File (1.1 KB)
   1  o
   2  
   3  D�h{�
   4  @s�UddlmZmZmZmZmZmZmZmZm	Z	ddl
   5  mZmZm
   6  Z
   7  mZmZmZmZddlmZddlmZdededefd	d
   8  �Zede�ede�ed
   9  e�ede�ede�ede�ede�ede	�gZeeed<dS)�)	�ToolDefinition�FetchNewsParams�FetchArxivParams�FetchDDGParams�FetchTorrentsParams�FetchWikiParams�FetchIMDBParams�FetchYouTubeParams�FetchFinanceParams�)�fetch_torrents�
  10  fetch_news�fetch_wikipedia�
  11  fetch_imdb�
  12  fetch_youtube�
  13  fetch_finance�
  14  search_google)r
  15  )�fetch_arxiv�name�model�returncCst||j��|��d�S)N)r�description�
  16  parameters)r�__doc__�stripZmodel_json_schema)rr�r�CC:\Users\shubh\Videos\agent\agent\modules\tools\tool_definitions.py�schema_to_tools
  17  �rr
  18  rrrrrrr�tool_definitionsN)Zschemasrrrrrrrr	r
  19  Zmodules.search.webrr
  20  rrrrrZmodules.search.newsZmodules.search.arxivr�str�typerr�list�__annotations__rrrr�<module>s.$	�