精选理由
Perplexity 的“Search as Code”解决了固定 API 的僵化问题,做搜索增强或 AI 应用的团队可以大幅降低 token 成本并提升性能,值得直接尝试。
Perplexity 推出了名为“Search as Code”的新架构,摒弃了传统的固定搜索 API,允许 AI 模型用 Python 编写自己的搜索例程。该系统在沙盒环境中处理过滤和去重,在关键基准测试上超越了 OpenAI 和 Anthropic,同时将 token 成本降低了高达 85%。这一创新使 AI 搜索更灵活、高效,尤其适合需要定制化搜索逻辑的开发者。
AI 翻译 · 中文
Perplexity 推出了名为“Search as Code”的新架构,摒弃了传统的固定搜索 API,允许 AI 模型用 Python 编写自己的搜索例程。该系统在沙盒环境中处理过滤和去重,在关键基准测试上超越了 OpenAI 和 Anthropic,同时将 token 成本降低了高达 85%。这一创新使 AI 搜索更灵活、高效,尤其适合需要定制化搜索逻辑的开发者。
Perplexity's new "Search as Code" architecture dumps rigid search APIs and lets AI models write their own search routines in Python. By letting the agent handle its own filtering and deduplication inside a sandbox, the s…