Event ·Multi-source

Perplexity 的“Search as Code”让 AI 模型自己写搜索管道

Perplexity 推出了名为“Search as Code”的新架构,摒弃了传统的固定搜索 API,允许 AI 模型用 Python 编写自己的搜索例程。该系统在沙盒环境中处理过滤和去重,在关键基准测试上超越了 OpenAI 和 Anthropic,同时将 token 成本降低了高达 85%。这一创新使 AI 搜索更灵活、高效,尤其适合需要定制化搜索逻辑的开发者。

Current read

Perplexity 的“Search as Code”解决了固定 API 的僵化问题,做搜索增强或 AI 应用的团队可以大幅降低 token 成本并提升性能,值得直接尝试。

11 sources72° AI heatLast updated 2026/6/7 10:28:33

Evidence

11 sources
Related source 2The Rundown AI
View source
Related source 3rohanpaul_ai
View source
Related source 5Claude Code: GitHub Releases
View source
Related source 10@OpenAIDevs
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.