perplexity

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Perplexity

Perplexity

Perplexity is an AI search engine. For developers, the Sonar API provides grounded, cited answers for building search-enabled apps.
Perplexity 是一款AI搜索引擎。对于开发者而言,Sonar API 可提供有依据、带引用的答案,用于构建支持搜索功能的应用。

When to Use

适用场景

  • Real-time Info: "What is the stock price of Apple?" (LLMs can't answer this without tools).
  • Research Apps: Building an app that needs to cite sources.
  • Citations: You need reliability and links to original data.
  • 实时信息查询:例如“苹果公司的股价是多少?”(大语言模型若无工具支持则无法回答此类问题)。
  • 研究类应用开发:构建需要引用来源的应用。
  • 需要引用来源:你需要可靠的信息以及指向原始数据的链接。

Core Concepts

核心概念

Sonar API

Sonar API

API access to Perplexity's online models (
llama-3-sonar-large-32k-online
).
可访问Perplexity在线模型(
llama-3-sonar-large-32k-online
)的API。

Citations

引用来源

API returns a list of citations used to generate the answer.
API会返回生成答案时所使用的引用来源列表。

Pro Search

专业搜索(Pro Search)

Multi-step reasoning search (Googles multiple times to answer complex queries).
多步骤推理搜索(通过多次谷歌搜索来回答复杂查询)。

Best Practices (2025)

2025年最佳实践

Do:
  • Use for Grounding: If your chatbot needs current events, route those queries to Perplexity.
  • Use Search Options: Filter by domain (e.g., search only
    reddit.com
    or
    stackoverflow.com
    ).
Don't:
  • Don't use for creative writing: It is optimized for facts, not fiction.
建议做法
  • 用于信息锚定:如果你的聊天机器人需要获取时事信息,可将这类查询路由至Perplexity。
  • 使用搜索选项:按域名过滤(例如,仅在
    reddit.com
    stackoverflow.com
    上搜索)。
不建议做法
  • 不要用于创意写作:它针对事实类内容优化,而非虚构创作。

References

参考资料