> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/pre-basic/providers/perplexity.md).

# Perplexity

Perplexity 嘅 **Sonar** 系列主打 **搜尋增強對話**——回應會結合即時上網檢索，適合需要引用最新資訊嘅場景。

## 取得 API Key

* 打開 Perplexity 嘅 [API 設定頁](https://www.perplexity.ai/settings/api)（需先註冊／登入）
* 生成並複製一個 API Key

## 喺 Cherry Studio 入面配置

1. 打開 Cherry Studio 嘅 [模型服務設定](/docs/zhong-wen-fan-ti/pre-basic/providers/providers.md)，喺內置列表搵到 **Perplexity**
2. 填入頭先攞到嘅 API Key
3. 撳 **獲取模型列表**，加埋 Sonar 等模型，打開右上角服務商開關就可以用

{% hint style="info" %}
Perplexity 模型本身就有上網檢索能力，唔使額外設定上網模式。喺國內存取通常要自己解決網絡代理問題。更多資訊見 [Perplexity 官方文檔](https://docs.perplexity.ai/home)。
{% endhint %}

***

### 攞幫助同提交意見

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改善建議，請參考 [反饋與建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提供嘅官方渠道。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/pre-basic/providers/perplexity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
