perf: 优化语言

This commit is contained in:
RockChinQ
2024-08-05 22:10:09 +08:00
parent 9d9c547dd0
commit e76b100c30
9 changed files with 17 additions and 60 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

-9
View File
@@ -61,12 +61,3 @@ tag:
## 命令权限控制
您可以编辑`data/config/command.json`来设置命令节点的权限,当命令被发起时,若用户的权限级别(管理员为`2`,普通用户为`1`)大于等于命令节点的权限级别,命令即可被成功执行。具体配置方式请查看配置文件详解页。
## 切换模型命令
```
[bot] model: 显示和切换模型列表
使用方法:
!model
!model show <模型名>
!model set <模型名>
```
+1 -1
View File
@@ -175,4 +175,4 @@ category:
`content` 为字符串,表示消息内容。
在使用中通过`!default set <文件名>`指令将其设为默认(将<预设名>整体替换)
[人格预设合集1000+(测试版,不确保可用性)](../deploy/README.md#人格预设合集)
> 社区资源:[人格预设合集1000+(测试版,不确保可用性)](../deploy/README.md#人格预设合集)
+5 -5
View File
@@ -21,7 +21,8 @@ index: false
完成以上三个步骤后,你接下来应该仔细阅读左栏中的[配置详解](../config/README.md)和[元数据配置](../metadata/README.md),实现更多样化的配置需求
## 社区资源
### 视频教程
### 视频教程
[QChatGPT+NewChatVoice语音插件整合包(20240730)](https://www.bilibili.com/video/BV1iLvyePE8x/?share_source=copy_web&vd_source=596e7910a78045e2636e7b25e3618120)
@@ -51,15 +52,14 @@ index: false
然后再发送:
!reset
谨慎使用,内含大量(R18+,你懂的)
注意:model应该使用claude系列或Gemini系列
注意:
1. 内含大量 NSFW 内容,请注意使用环境
2. model应该使用claude系列或Gemini系列
最好的:claude-3-opus-20240229
一般的:claude-3-sonnet-20240229,gemini-1.5-pro-latest,gemini-1.5-flash-latest
那样的预设(R18+,你懂的)请勿使用OpenAI系列
如何使用相关模型:[https://thelazy.cn/2024/06/27/AIGC/](https://thelazy.cn/2024/06/27/AIGC/)
</details>
+11 -45
View File
@@ -9,63 +9,29 @@ author: Lazy
date: 2024-06-10
---
## Q1:如何接入 OneAPI、LinkAI 等第三方 OpenAI 格式接口?
## Q1:如何接入 OneAPI、LinkAI 等第三方 OpenAI 格式接口?
文章:[📖 QChatGPT 实践:接入 OneAPI、LinkAI、中转站 等第三方 OpenAI 格式接口以使用 Gemini、Qwen 等模型](https://rockchin.top/?p=295)
## Q2:怎么切换模型?
## Q2:官方机器人 IP 白名单怎么填?
[每个模型的区别](https://thelazy.cn/2024/06/27/AIGC/) 点击查看
如果你是在自己电脑上运行机器人:打开[IP138](https://ip38.com/) 这个网址获取自己网络的出网 IP,填写这个 IP 如图
在这个 provider.json 配置项页脚如图所示,修改你想要的模型,比如你想用月之暗面的,那他支持的模型只有 moonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k,你只能改为这三个
![](/assets/image/error_q3.png)
![image](/assets/image/error_q2_1.png)
如果不是在自己电脑上(如云服务器),请自行检查主机的公网 IP。
支持的模型有:
## Q3:各种请求失败报错案例:
```[bot] 模型列表:
名称: default
请求器: openai-chat-completions
1. 你的模型 api key 未填或者不正确
名称: gpt-3.5-turbo-0125
请求器: openai-chat-completions
![](/assets/image/error_q4.png)
名称: gpt-3.5-turbo
请求器: openai-chat-completions
2. 中转站没有额度了
名称: gpt-3.5-turbo-1106
请求器: openai-chat-completions
![](/assets/image/error_q5.png)
```
## Q4:插件安装失败?
具体可以去 llm-models.json 查看具体支持的模型
### 指令切换
启动机器人后用指令修改如图
![image](/assets/image/error_q2_2.png)
## Q3:官方机器人 IP 白名单怎么填?
打开[IP138](https://ip38.com/) 这个网址,填写这个 IP 如图
![image](/assets/image/error_q4.png)
## Q4:无效令牌如图所示:
![image](/assets/image/error_q4.png)
你的模型 api key 未填或者不正确
## Q5:请求失败如图所示
![image](/assets/image/error_q5.png)
是因为你没有额度了,请充值
## Q6:插件安装失败
#### 请打开梯子试试!
尝试在主机上开启网络代理,Linux 需要设置环境变量 http_proxy 和 https_proxy。