Skip to content

Commit

Permalink
doc: FAQ
Browse files Browse the repository at this point in the history
  • Loading branch information
Bin-Huang committed Jul 4, 2023
1 parent ba61442 commit ba8f3a5
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
41 changes: 41 additions & 0 deletions FAQ-CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# 常见问题

<p align="center">
<a href="./FAQ.md">English</a> | 中文
</p>

这里列举了一些最常见的问题和解决方案。如果你依然没有找到答案,也可以提交一个 [Issue](https://github.com/Bin-Huang/chatbox/issues/new/choose)

### 1001

#### 消息发送失败,提示 `Failed to fetch`

这是因为 Chatbox 无法连接到你设置的 AI 模型服务器,请检查你当前的网络环境,确保可以正常连接到 AI 模型服务器。

对于 OpenAI API 的用户,如果你选择了 OpenAI API 作为 AI 模型提供方(即设置页的 AI Provider 中选择了 `OpenAI API`),那么一般是 Chatbox 无法访问设置的 `API HOST`。在默认设置下,Chatbox 会使用 `https://api.openai.com` 作为 API HOST,请确保你的当前网络可以访问这个服务。注意,在某些国家和地区是无法直接访问的。

### 1002

#### 以前用的好好的,突然报错 `{"error":{"message":"You exceeded your current quota, please check your plan and billing details.`

如果你以前使用一切正常,某天之后突然无法使用过,并且每次发送消息都报错:

```
{"error":{"message":"You exceeded your current quota, please check your plan and billing details.","type":"insufficient_quota","param":null,"code":null}}
```

请注意,这个问题和 Chatbox 没有任何关系。这个情况中往往是因为你正在使用自己的 OpenAI API 账户,而你账户中的免费额度已经全部用完或过期了(一般都是因为过期导致的)。你需要自行登录 OpenAI 账户的控制台,绑定一张海外信用卡才能继续使用。OpenAI API 账户对信用卡有很多要求,如果你的信用卡不符合要求,那么你需要自行解决(非常折腾)。

**更推荐使用 `Chatbox AI`** 如果你不想折腾这些问题,也可以使用 Chatbox 内置的 `Chatbox AI` 服务。这个服务可以让你无需折腾、什么都不用管、轻松使用 AI 能力。前往配置页,将 AI Provider 设置为 `Chatbox AI`,你将看到相应的设置。

### 1003

#### 无法使用 GPT-4?

如果你选择 GPT-4,然后发送消息时得到类似的报错:

```
{"error":{"message":"The model: gpt-4-32k does not exist","type":"invalid_request_error","param":null,"code":"model_not_found"}}
```

这个情况往往是因为你正在使用自己的 OpenAI 账户,你在模型中选择了 GPT-4,但 OpenAI API 账户不支持 GPT-4。截止到2023年07月04日,所有 OpenAI API 账户都需要向 OpenAI 填写申请后才能使用 GPT-4 模型。这里是申请链接: https://openai.com/waitlist/gpt-4-api 。请注意,即使你是 ChatGPT Plus 用户,你也需要申请后才能使用 GPT-4 的 API 模型。
41 changes: 41 additions & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Frequently Asked Questions

<p align="center">
English | <a href="./FAQ-CN.md">中文</a>
</p>

If you still haven't found the answer you're looking for, feel free to submit an [Issue](https://github.com/Bin-Huang/chatbox/issues/new/choose) as well.

### 1001

#### Message sending failed, showing `Failed to fetch`?

This issue occurs when Chatbox cannot connect to the AI model server you've set up. Please check your current network environment and make sure it can connect properly to the AI model server.

For OpenAI API users, if you've chosen OpenAI API as the AI model provider (meaning you've selected `OpenAI API` in the AI Provider settings), it's typically because Chatbox cannot access the `API HOST` you've set. By default, Chatbox uses `https://api.openai.com` as the API HOST. Please make sure your current network can access this service.

### 1002

#### Everything was working fine before, but now I keep getting an error: `{"error":{"message":"You exceeded your current quota, please check your plan and billing details`?

If everything was working fine before and now you're unable to use the service, with each message sending attempt resulting in the following error:

```
{"error":{"message":"You exceeded your current quota, please check your plan and billing details.","type":"insufficient_quota","param":null,"code":null}}
```

Please note that this issue is not related to Chatbox. In this situation, it's likely that you're using your own OpenAI API account and your free quota has either been used up or expired (usually due to expiration). You need to log in to your OpenAI account's dashboard and link a credit card to continue using the service. The OpenAI API account has many requirements for credit cards. If your card doesn't meet these requirements, you'll need to resolve this issue yourself (it can be quite frustrating).

**Consider using `Chatbox AI`:** If you don't want to deal with these issues, you can also use Chatbox's built-in `Chatbox AI` service. This service allows you to enjoy AI capabilities without any hassle. Go to the settings page and set the AI Provider to `Chatbox AI`, and you'll see the corresponding options.

### 1003

#### Unable to use GPT-4?

If you select GPT-4 and receive a similar error message when sending messages:

```
{"error":{"message":"The model: gpt-4-32k does not exist","type":"invalid_request_error","param":null,"code":"model_not_found"}}
```

This issue often occurs when you're using your own OpenAI account and have selected the GPT-4 model, but your OpenAI API account does not support GPT-4. As of July 4, 2023, all OpenAI API accounts require a request to be submitted to OpenAI before the GPT-4 model can be used. Here's the application link: https://openai.com/waitlist/gpt-4-api. Please note that even if you're a ChatGPT Plus user, you still need to apply for access to use the GPT-4 API model.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ If you are using Arch Linux, you can download and install Chatbox via AUR:
paru -S chatbox-bin
```

## FAQ

- [Frequently Asked Questions](./FAQ.md)
- [常见问题与解答](./FAQ-CN.md)

## Chatbox Team Sharing Feature

Using AI to enhance your team productivity, is an important feature of Chatbox.
Expand Down

0 comments on commit ba8f3a5

Please sign in to comment.