> 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/oneapi.md).

# OneAPI

* 登入並進入令牌頁面

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-4efc19c459d1d6eff0cd828627d56bac4662f7a8%2Fimage%20(20).png?alt=media" alt=""><figcaption></figcaption></figure>

* 建立新令牌（亦可以直接使用 default 令牌↑）

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-8f9da4239594f17807bff1c5cb62e8a817e338cf%2Fimage%20(19).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* 複製令牌

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-ed0d9ce1b6642b8d9e23bb2aaee4e4db9369096e%2Fimage%20(23).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* 打開 CherryStudio 嘅服務商設定，點擊服務商列表最下方嘅 `添加`
* 輸入備註名稱，提供商揀 OpenAI，點擊確定
* 填入頭先複製嘅 key
* 返去取得 API Key 嘅頁面，喺對應瀏覽器地址欄複製根地址，例如：

<figure><img src="https://2742912793-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-91a2b54ef14a03e7453c00305e938e84ce93684b%2Fimage%20(26).png?alt=media" alt="" width="563"><figcaption><p><strong>只需要複製https://xxx.xxx.com 就得，「/」同其後嘅內容唔需要</strong></p></figcaption></figure>

{% hint style="info" %}

* 當地址係 IP+端口時填[http://IP:端口](https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/pre-basic/providers/http:/IP:端口) 就得，例如：<http://127.0.0.1:3000>

* 嚴格區分 `http` 同 `https`，如果冇開啟 SSL 就唔好填 https
  {% endhint %}

* 添加模型（點擊管理自動獲取或者手動輸入）打開右上角開關就可以使用。

{% hint style="success" %}
OneAPI 其他主題可能介面會有啲唔同，但添加方法同上面操作流程一致。
{% 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/oneapi.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.
