From 9a993ca477eafc39ffee1ddbc4f07ec83c8a62d5 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Thu, 23 May 2024 20:46:03 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=B7=BB=E5=8A=A0=E5=95=86=E7=94=A8?= =?UTF-8?q?=E6=8C=87=E5=8D=97=E7=AB=A0=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.vuepress/sidebar.ts | 24 ++++++++++++++++++++ src/posts/tob/README.md | 15 +++++++++++++ src/posts/tob/contact.md | 19 ++++++++++++++++ src/posts/tob/platform.md | 46 +++++++++++++++++++++++++++++++++++++++ src/posts/tob/provider.md | 30 +++++++++++++++++++++++++ 5 files changed, 134 insertions(+) create mode 100644 src/posts/tob/README.md create mode 100644 src/posts/tob/contact.md create mode 100644 src/posts/tob/platform.md create mode 100644 src/posts/tob/provider.md diff --git a/src/.vuepress/sidebar.ts b/src/.vuepress/sidebar.ts index 6a3b8683c..cdc1be06e 100644 --- a/src/.vuepress/sidebar.ts +++ b/src/.vuepress/sidebar.ts @@ -179,6 +179,30 @@ export default sidebar({ }, ], }, + { + text: "规模使用和商用", + icon: "app", + collapsible: true, + link: "posts/tob/", + prefix: "posts/tob/", + children: [ + { + text: "消息平台稳定性", + icon: "comment", + link: "platform", + }, + { + text: "AI 内容合规性", + icon: "warn", + link: "provider", + }, + { + text: "咨询方式", + icon: "profile", + link: "contact", + }, + ], + }, { text: "插件功能", icon: "plugin", diff --git a/src/posts/tob/README.md b/src/posts/tob/README.md new file mode 100644 index 000000000..3bbc88aec --- /dev/null +++ b/src/posts/tob/README.md @@ -0,0 +1,15 @@ +--- +head: + - - meta + - name: keywords + content: QChatGPT 规模使用和商用指南 +title: 规模使用和商用指南 +icon: app +author: RockChinQ +date: 2024-05-23 +index: false +--- + +QChatGPT 已经具备了一定的生产能力,目前已在多家公司的生产环境运行并承担一定的业务。我们相信您非常重视合规性和稳定性方面的问题,此章节将基于一些已有的案例讲解商用最佳实践。 + +请点击左侧目录查看具体内容。 \ No newline at end of file diff --git a/src/posts/tob/contact.md b/src/posts/tob/contact.md new file mode 100644 index 000000000..5714cc030 --- /dev/null +++ b/src/posts/tob/contact.md @@ -0,0 +1,19 @@ +--- +head: + - - meta + - name: keywords + content: 商用咨询方式 +title: 咨询方式 +icon: profile +order: 3 +author: RockChinQ +date: 2024-05-23 +category: + - 规模使用和商用 +index: false +--- + +作者长期提供定制服务,欢迎咨询: + +- 微信:junyan_qin +- QQ:1010553892 \ No newline at end of file diff --git a/src/posts/tob/platform.md b/src/posts/tob/platform.md new file mode 100644 index 000000000..ed9609e9a --- /dev/null +++ b/src/posts/tob/platform.md @@ -0,0 +1,46 @@ +--- +head: + - - meta + - name: keywords + content: 商用消息平台稳定性 +title: 消息平台稳定性 +icon: comment +order: 1 +author: RockChinQ +date: 2024-05-23 +category: + - 规模使用和商用 +index: false +--- + +:::info 目录 +[[toc]] +::: + +主流的机器人都是使用`逆向工程`的方式,破解QQ的通信协议,实现程序控制的功能。这种方式具有一定的灰色性质,可能会被腾讯系统风控。 + +目前的案例来看,现有的逆向工程可以实现多个月的较稳定运行,服务宕机恢复不会超过24小时,有完善的社区支持,可以较好地应对商业用途。 + +## 降低被风控风险 + +- 在配置文件中启用`强制消息延迟`、`请求限速功能`,使机器人回复用户消息的速度降低,减少被风控的风险。 + +- 避免将机器人放到人员复杂的大群里使用。这个一般不会出问题,有过在3000人大群稳定运行近一年的案例。但若是群内人员频繁举报机器人账号,可能会被风控。 + +- 使用境内主机或家用网络的电脑运行消息平台,尽量不使用境外主机。 + +## 机器人服务多开 + +如果机器人的业务与账号本身弱相关,可以考虑开启多个`消息平台`(例如使用两个账号登录两个Lagrange实例),在一个机器人被腾讯封号后,另一个机器人还可以继续服务。 + +## 使用 QQ 官方机器人 API + +腾讯官方在23年下半年开放了Q群机器人API,QChatGPT 很好地支持这个 API,可以查看部署教程中的配置方式使用。 + +但 QQ 官方机器人API具有以下已知的局限性: + +- 需要企业资质才能申请 +- 仅支持群内使用,不支持私聊 +- 仅能接收到群内@机器人的消息,无法接收到群内其他消息 +- 主动发送消息每天限次 +- 腾讯对 AIGC 功能的机器人审核较严格 \ No newline at end of file diff --git a/src/posts/tob/provider.md b/src/posts/tob/provider.md new file mode 100644 index 000000000..af7e457a5 --- /dev/null +++ b/src/posts/tob/provider.md @@ -0,0 +1,30 @@ +--- +head: + - - meta + - name: keywords + content: 商用消息平台稳定性 +title: AI 内容合规性 +icon: warn +order: 2 +author: RockChinQ +date: 2024-05-23 +category: + - 规模使用和商用 +index: false +--- + +:::info 目录 +[[toc]] +::: + +> 国家对AIGC的管理办法参考资料 +> +> - [生成式人工智能服务管理办法](https://www.cac.gov.cn/2023-04/11/c_1682854275475410.htm) + +在内容管控方面,QChatGPT 内置了`关键词检测`、`百度智能云审核`等内容过滤器,具体请查看配置文件章节。 + +在实践中,应该辅以群内管理员禁言之类的方式管控内容,模型方面,以下是推荐的方案(按推荐顺序): + +1. 使用国产模型 +2. 使用严格的内容过滤器(可自行实现,详细参考插件功能章节) +3. 在使用境外模型时辅以严格的 Prompt \ No newline at end of file