diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 000000000..ddd8508ef Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/README.md b/README.md index 87da977d6..0007b3548 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # [QChatGPT](https://github.com/RockChinQ/QChatGPT) 官方文档 - +测试 > 此分支是 QChatGPT 3.x 的文档 > [QChatGPT 代码仓库](https://github.com/RockChinQ/QChatGPT) diff --git a/src/.vuepress/public/assets/image/1.png b/src/.vuepress/public/assets/image/1.png new file mode 100644 index 000000000..8851a4723 Binary files /dev/null and b/src/.vuepress/public/assets/image/1.png differ diff --git a/src/.vuepress/public/assets/image/2.png b/src/.vuepress/public/assets/image/2.png new file mode 100644 index 000000000..2c2184642 Binary files /dev/null and b/src/.vuepress/public/assets/image/2.png differ diff --git a/src/.vuepress/public/assets/image/3.png b/src/.vuepress/public/assets/image/3.png new file mode 100644 index 000000000..4c1107f0d Binary files /dev/null and b/src/.vuepress/public/assets/image/3.png differ diff --git a/src/.vuepress/public/assets/image/4.png b/src/.vuepress/public/assets/image/4.png new file mode 100644 index 000000000..8d2dc7c5a Binary files /dev/null and b/src/.vuepress/public/assets/image/4.png differ diff --git a/src/.vuepress/public/assets/image/5.png b/src/.vuepress/public/assets/image/5.png new file mode 100644 index 000000000..03b8899d9 Binary files /dev/null and b/src/.vuepress/public/assets/image/5.png differ diff --git a/src/posts/command.md b/src/posts/command.md index f2a559397..5abb2de0b 100644 --- a/src/posts/command.md +++ b/src/posts/command.md @@ -60,4 +60,13 @@ tag: ## 命令权限控制 -您可以编辑`data/config/command.json`来设置命令节点的权限,当命令被发起时,若用户的权限级别(管理员为`2`,普通用户为`1`)大于等于命令节点的权限级别,命令即可被成功执行。具体配置方式请查看配置文件详解页。 \ No newline at end of file +您可以编辑`data/config/command.json`来设置命令节点的权限,当命令被发起时,若用户的权限级别(管理员为`2`,普通用户为`1`)大于等于命令节点的权限级别,命令即可被成功执行。具体配置方式请查看配置文件详解页。 +## 切换模型命令 +``` +[bot] model: 显示和切换模型列表 + +使用方法: +!model +!model show <模型名> +!model set <模型名> +``` diff --git a/src/posts/deploy/README.md b/src/posts/deploy/README.md index 4d5c58de3..169d55b14 100644 --- a/src/posts/deploy/README.md +++ b/src/posts/deploy/README.md @@ -20,6 +20,12 @@ index: false 完成以上三个步骤后,你接下来应该仔细阅读左栏中的[配置详解](../config/README.md)和[元数据配置](../metadata/README.md),实现更多样化的配置需求 +## 视频教程 + [GPT/Claude/Gemini+AI语音+QQ机器人,部署最简单、使用更稳定的全新QChatGPT+语音插件,原神、星铁、鸣潮等2000+音色](https://www.bilibili.com/video/BV1iLvyePE8x/?share_source=copy_web&vd_source=596e7910a78045e2636e7b25e3618120) +## 整合包下载 +[点击下载](https://pan.quark.cn/s/7d7ae63296d9) + +ps--这个整合包也经包含python环境了,如果你是用QQ小号搭建机器人直接使用整合包跟着视频走就行了. ## 本项目交流 QQ 群 ### 社区群 diff --git a/src/posts/error/README.md b/src/posts/error/README.md index e9e73275e..6bd9af680 100644 --- a/src/posts/error/README.md +++ b/src/posts/error/README.md @@ -9,6 +9,139 @@ author: Lazy date: 2024-06-10 --- -## Q:如何接入 OneAPI、LinkAI 等第三方 OpenAI 格式接口? +## Q1:如何接入 OneAPI、LinkAI 等第三方 OpenAI 格式接口? -文章:[📖 QChatGPT 实践:接入 OneAPI、LinkAI、中转站 等第三方 OpenAI 格式接口以使用 Gemini、Qwen 等模型](https://rockchin.top/?p=295) \ No newline at end of file +文章:[📖 QChatGPT 实践:接入 OneAPI、LinkAI、中转站 等第三方 OpenAI 格式接口以使用 Gemini、Qwen 等模型](https://rockchin.top/?p=295) +## Q:2.怎么切换模型? +在这个provider.json 配置项页脚如图所示,修改你想要的模型,比如你想用月之暗面的,那他支持的模型只有moonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k,你只能改为这三个 + +![image](/assets/image/2.png) + +支持的模型有: +```[bot] 模型列表: + +名称: default +请求器: openai-chat-completions + +名称: gpt-3.5-turbo-0125 +请求器: openai-chat-completions + +名称: gpt-3.5-turbo +请求器: openai-chat-completions + +名称: gpt-3.5-turbo-1106 +请求器: openai-chat-completions + +名称: gpt-4-turbo +请求器: openai-chat-completions + +名称: gpt-4-turbo-2024-04-09 +请求器: openai-chat-completions + +名称: gpt-4-turbo-preview +请求器: openai-chat-completions + +名称: gpt-4-0125-preview +请求器: openai-chat-completions + +名称: gpt-4-1106-preview +请求器: openai-chat-completions + +名称: gpt-4 +请求器: openai-chat-completions + +名称: gpt-4o +请求器: openai-chat-completions + +名称: gpt-4-0613 +请求器: openai-chat-completions + +名称: gpt-4-32k +请求器: openai-chat-completions + +名称: gpt-4-32k-0613 +请求器: openai-chat-completions + +名称: gpt-4o-mini +请求器: openai-chat-completions + +名称: OneAPI/gemini-1.5-pro-latest +请求器: openai-chat-completions + +名称: OneAPI/gemini-1.5-flash-latest +请求器: openai-chat-completions + +名称: OneAPI/claude-3-opus-20240229 +请求器: openai-chat-completions + +名称: OneAPI/claude-3-sonnet-20240229 +请求器: openai-chat-completions + +名称: OneAPI/claude-3-haiku-20240307 +请求器: openai-chat-completions + +名称: OneAPI/claude-3-5-sonnet-20240620 +请求器: openai-chat-completions + +名称: OneAPI/moonshot-v1-8k +请求器: openai-chat-completions + +名称: OneAPI/moonshot-v1-32k +请求器: openai-chat-completions + +名称: OneAPI/moonshot-v1-128k +请求器: openai-chat-completions + +名称: OneAPI/deepseek-chat +请求器: openai-chat-completions + +名称: OneAPI/deepseek-coder +请求器: openai-chat-completions + +名称: claude-3-opus-20240229 +请求器: anthropic-messages + +名称: claude-3-sonnet-20240229 +请求器: anthropic-messages + +名称: claude-3-haiku-20240307 +请求器: anthropic-messages + +名称: claude-3-5-sonnet-20240620 +请求器: anthropic-messages + +名称: moonshot-v1-8k +请求器: moonshot-chat-completions + +名称: moonshot-v1-32k +请求器: moonshot-chat-completions + +名称: moonshot-v1-128k +请求器: moonshot-chat-completions + +名称: deepseek-chat +请求器: deepseek-chat-completions + +名称: deepseek-coder +请求器: deepseek-chat-completions + +名称: OneAPI/SparkDesk +请求器: openai-chat-completions + +名称: OneAPI/gemini-pro +请求器: openai-chat-completions +``` +### 指令切换 +启动机器人后用指令修改如图 + +![image](/assets/image/3.png) + +## Q3.官方机器人IP白名单怎么填? + +打开[IP138](https://ip38.com/) 这个网址,填写这个IP如图 + +![image](/assets/image/4.png) +## 无效令牌如图所示: +![image](/assets/image/5.png) + +你的模型api未填或者不正确亦或者没有额度,请确认无误