mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-04 14:52:12 +08:00
新增
This commit is contained in:
Binary file not shown.
@@ -1,35 +0,0 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "E:\\QchatGPT\\",
|
||||
"Documents": [],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": -1,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{75188d03-9892-4ae2-abf1-207126247ce5}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"SelectedNode": "\\E:\\QchatGPT",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 196 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 268 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
+10
-1
@@ -60,4 +60,13 @@ tag:
|
||||
|
||||
## 命令权限控制
|
||||
|
||||
您可以编辑`data/config/command.json`来设置命令节点的权限,当命令被发起时,若用户的权限级别(管理员为`2`,普通用户为`1`)大于等于命令节点的权限级别,命令即可被成功执行。具体配置方式请查看配置文件详解页。
|
||||
您可以编辑`data/config/command.json`来设置命令节点的权限,当命令被发起时,若用户的权限级别(管理员为`2`,普通用户为`1`)大于等于命令节点的权限级别,命令即可被成功执行。具体配置方式请查看配置文件详解页。
|
||||
## 切换模型命令
|
||||
```
|
||||
[bot] model: 显示和切换模型列表
|
||||
|
||||
使用方法:
|
||||
!model
|
||||
!model show <模型名>
|
||||
!model set <模型名>
|
||||
```
|
||||
|
||||
@@ -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 群
|
||||
|
||||
### 社区群
|
||||
|
||||
+135
-2
@@ -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)
|
||||
文章:[📖 QChatGPT 实践:接入 OneAPI、LinkAI、中转站 等第三方 OpenAI 格式接口以使用 Gemini、Qwen 等模型](https://rockchin.top/?p=295)
|
||||
## Q:2.怎么切换模型?
|
||||
在这个provider.json 配置项页脚如图所示,修改你想要的模型,比如你想用月之暗面的,那他支持的模型只有moonshot-v1-8k, moonshot-v1-32k, moonshot-v1-128k,你只能改为这三个
|
||||
|
||||

|
||||
|
||||
支持的模型有:
|
||||
```[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
|
||||
```
|
||||
### 指令切换
|
||||
启动机器人后用指令修改如图
|
||||
|
||||

|
||||
|
||||
## Q3.官方机器人IP白名单怎么填?
|
||||
|
||||
打开[IP138](https://ip38.com/) 这个网址,填写这个IP如图
|
||||
|
||||

|
||||
## 无效令牌如图所示:
|
||||

|
||||
|
||||
你的模型api未填或者不正确亦或者没有额度,请确认无误
|
||||
|
||||
Reference in New Issue
Block a user