# OneAPI

* ログインしてトークンページに入る

<figure><img src="/files/838071764f6e8349147a1ec201e8561db769ab7c" alt=""><figcaption></figcaption></figure>

* 新しいトークンを作成する（defaultトークン↑を直接使用してもよい）

<figure><img src="/files/edb9538df7f42a2058c6c3eecec1cff711c9ddfc" alt="" width="563"><figcaption></figcaption></figure>

* トークンをコピーする

<figure><img src="/files/7a66b21b955074e2c09cbc57e7d1d4ba4420b54b" alt="" width="563"><figcaption></figcaption></figure>

* CherryStudioのサービスプロバイダー設定を開き、プロバイダー一覧の最下部の［］をクリック`追加`
* メモ名を入力し、プロバイダーはOpenAIを選択して、OKをクリック

<figure><img src="/files/81f109b23fd85fe16fcea6a6319af8098fe08ed7" alt="" width="291"><figcaption></figcaption></figure>

* 先ほどコピーしたキーを入力
* API Keyを取得したページに戻り、該当するブラウザのアドレスバーからルートアドレスをコピーします。例：

<figure><img src="/files/e422e8bf9a5a1caf2869ab7c32305519d578c8ea" alt="" width="563"><figcaption><p><strong>https://xxx.xxx.com だけをコピーすればよく、「/」およびその後の内容は不要です</strong></p></figcaption></figure>

{% hint style="info" %}

* アドレスがIP＋ポートの場合は [http://IP:ポート](https://docs.cherry-ai.com/docs/jp/pre-basic/providers/http:/IP:ポート) と入力すればよく、例：<http://127.0.0.1:3000>

* 厳密に区別する`http`と`https`。SSLを有効にしていない場合は https を入力しないでください
  {% endhint %}

* モデルを追加（［管理］をクリックして自動取得するか、手動で入力）し、右上のスイッチをオンにすれば使用できます。

{% hint style="success" %}
OneAPIの他のテーマでは画面が多少異なる場合がありますが、追加方法は上記の操作手順と同じです。
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.cherry-ai.com/docs/jp/pre-basic/providers/oneapi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
