# ChatBox

本节将介绍如何使用开源对话工具——ChatBox，配合使用OpenKey的接口进行对话。

## ChatBox介绍

Chatbox支持多种全球最先进的AI大模型服务，支持Windows、Mac和Linux。AI提升工作效率，深受全世界专业人士的好评。

网站：<https://chatboxai.app/zh>

## 如何接入OK

OpenKey是一个无限调用 ChatGPT API 的账号池，提供企业级专业稳定的 ChatGPT 接口集成分发服务。完全兼容OpenAI接口协议，支持无缝对接多种支持自定义OpenAI接口的应用。

网站：<https://openkey.cloud/>

本节中的ChatBox是支持自定义接口的，所以下面将介绍如何接入OK的接口。

### 第一步：访问ChatBox网页版

ChatBox支持多种平台，这里以Web网页版为例，其他的操作方法类比即可。

访问：<https://web.chatboxai.app/>

### 第二步：创建OpenKey令牌

参考教程：

{% content-ref url="/pages/ppdmDVQZYBCoqmYx1WJX" %}
[如何创建令牌](/help/how-create-token.md)
{% endcontent-ref %}

这里我们获取到的OK接口信息如下：

> 接口地址：[https://openkey.cloud](https://openkey.cloud/chat)
>
> APIKEY/令牌：sk-iuzuDxad94QAQzm5D42280EdE45947858a0dA1355c11Fed

### 第三步：配置选项

<figure><img src="/files/Gv8982dxhDCyt2CdC1mx" alt=""><figcaption><p>chatbox配置</p></figcaption></figure>

按照以上箭头指引的操作，并填入对应的OK接口地址、APIKEY以及选择模型。

{% hint style="info" %}
注意：ChatBox是严格区分"/"符号的，请注意OK接口地址最后没有”/“。否则会报错。
{% endhint %}

### 效果展示

{% embed url="<https://terobox.oss-cn-hongkong.aliyuncs.com/openkey/chatbox.mp4>" %}
chatbox对话
{% endembed %}

OpenKey接口购买地址：<https://openkey.cloud/topup>


---

# 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.openkey.cloud/usage/chatbox.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.
