SuperAPI AI 工具集

tavily

通用与其它

查看项目

更新于 10-15 23:59

技能介绍

用途:为 AI 应用与智能体提供联网搜索能力,适合综合网络调研、时事查询、特定领域检索与 AI 生成答案摘要。

主要能力:可返回 AI 生成的答案摘要;结构化结果含 title、url、content、score,开启 --raw-content 时含完整 HTML;支持 basic(约 1-2 秒)与 advanced(约 5-10 秒)两种深度;topic 可选 general(全时段广泛网页)或 news(近 7 天新闻源);支持 --include-domains 与 --exclude-domains 域名过滤;支持 --images 图片搜索;可用 --no-answer 关闭答案以节省额度。

使用方式:需 Python 3.6+ 与 tavily-python(pip install tavily-python),并配置以 tvly- 开头的 API Key,可通过 Clawdbot 配置的 skills.entries.tavily.apiKey 或环境变量 TAVILY_API_KEY 提供。基本调用示例:scripts/tavily_search.py "What is quantum computing?";高级检索加 --depth advanced;新闻加 --topic news;域名过滤加 --include-domains 或 --exclude-domains;图片加 --images;原始内容加 --raw-content;JSON 输出加 --json。也可在代码中 from tavily_search import search 调用。

适用场景:研究与事实查找、时事追踪、学术或官方文档定向检索、视觉参考收集、内容提取,以及与其他工具链式组合。

限制:需要有效 API Key 并消耗额度,advanced 与更多结果会增加消耗;advanced 速度慢于 basic;索引规模小于 Google Custom Search;相比 Brave 更慢且计费。速率限制与额度以 Tavily 账户方案为准,资料未给出具体价格。