SuperAPI AI 工具集

exa

通用与其它

查看项目

更新于 10-16 09:47

技能介绍

用途:Exa 提供面向 AI 应用的网页检索能力,覆盖语义搜索、内容获取、答案生成与研究类查询。当用户提到 Exa、语义搜索或为 AI 做联网检索时使用。

主要能力: 搜索(Search):向 https://api.exa.ai/search 发 POST 请求,请求体可包含 query、type(如 auto)以及 contents 选项(如 highlights)。 答案(Answer):向 https://api.exa.ai/answer 发 POST 请求,请求体可包含 query 与 text。 内容(Contents):官方文档见 https://exa.ai/docs/reference/contents,用于获取来源材料。

使用方式: 前置条件:先在 app.vm0.ai/connectors 连接 Exa 连接器,并具备 EXA_TOKEN。 搜索示例:将 {"query": "latest developments in LLM agents", "type": "auto", "contents": {"highlights": true}} 写入 /tmp/exa_search.json,然后运行: curl -s -X POST "https://api.exa.ai/search" --header "x-api-key: $EXA_TOKEN" --header "Content-Type: application/json" -d @/tmp/exa_search.json | jq . 答案示例:将 {"query": "What changed recently in AI agent infrastructure?", "text": true} 写入 /tmp/exa_answer.json,然后运行: curl -s -X POST "https://api.exa.ai/answer" --header "x-api-key: $EXA_TOKEN" --header "Content-Type: application/json" -d @/tmp/exa_answer.json | jq .

使用准则与限制: 需要来源材料而不只是链接时,使用 contents.text、contents.highlights 或 contents.summary。 除非用户明确要求 neural、fast 或 deep 搜索,否则优先使用 type: "auto"。 生成的答案应视为有依据的摘要,在高风险场景使用前需检查引用来源。 若请求失败,可运行 zero doctor check-connector --env-name EXA_TOKEN 或 zero doctor check-connector --url https://api.exa.ai/search --method POST 排查。 官方文档:Search https://exa.ai/docs/reference/search;Contents https://exa.ai/docs/reference/contents;Answer https://exa.ai/docs/reference/answer。 定价、配额与具体平台支持信息暂未提供。