Skip to main content
ExaTools 使 Agent 能够使用 Exa 搜索网络、检索 URL 内容、查找相似内容并获得 AI 驱动的答案。

前提条件

以下示例需要 exa-py 库和 API 密钥,可在 Exa 获取。

示例

以下 Agent 将在 Exa 中搜索 AAPL 新闻并打印响应。
cookbook/tools/exa_tools.py

Toolkit 函数

Toolkit 参数

类别

可用于过滤的类别:
  • εταιρεία (company)
  • 文章 (research paper)
  • 新闻 (news)
  • pdf
  • github
  • 鸣叫 (tweet)
  • 个人网站 (personal site)
  • 领英个人资料 (linkedin profile)
  • 金融报告 (financial report)

开发者资源