File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ function sidebarGuide() {
9191 {
9292 text : '进阶' ,
9393 items : [
94+
9495 {
9596 text : "模型平台" ,
9697 collapsed : true ,
@@ -110,9 +111,17 @@ function sidebarGuide() {
110111 items : [
111112 ]
112113 } ,
114+ {
115+ text : "会话,白名单,并发限制与聊天限额" ,
116+ link : '/guide/session-whitelist-concurrency-limit'
117+ } ,
113118 {
114119 text : "预设系统" ,
115120 link : '/guide/preset-system' ,
121+ } ,
122+ {
123+ text : "聊天模式与输出格式" ,
124+ link : '/guide/chat-mode-and-output-mode' ,
116125 }
117126 ]
118127 } ,
Original file line number Diff line number Diff line change 4747
4848database 服务是此插件的必须服务依赖,它提供了对数据库的相关操作。
4949
50- 我们使用此服务来存储对话信息等持久化内容 。
50+ 我们使用此服务来存储会话信息等持久化内容 。
5151
5252打开 Koishi 控制台,前往插件市场搜索` impl:database ` ,然后安装你偏好的数据库平台支持插件。
5353
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Koishi ChatHub 是一个由 [LangChain](https://github.com/hwchase17/langchainjs
1313## 项目特性
1414
1515- 高扩展性,基于 LangChain 和 Koishi,我们提供了一套扩展 API,让第三方插件开发者可以轻松扩展或调用此项目的服务。例如 调用模型,对接新模型等
16- - 支持预设系统,可设置对话预设 ,调教模型。
16+ - 支持预设系统,可设置会话预设 ,调教模型。
1717- 黑名单系统,全局冷却时间和模型并发请求限制,以及按小时的模型调用额度限制,轻松管理模型的调用限额等。
1818- 支持 语音/文字/图片/图文混合 回复,也支持解析生成的 markdown,实现比较自然的分割成多条消息来发送
1919- 上下文对话,长期记忆支持 (需要适配器支持)
Original file line number Diff line number Diff line change @@ -56,12 +56,43 @@ chathub.voice 你好
5656
5757## 预设
5858
59+ 关于预设系统的详细解释请查看 [ 预设系统] ( /guide/preset-system ) 章节。
60+ 此处只列出预设系统相关的指令。
61+
5962### 列出预设列表
6063
6164输入 ` chathub.listpresets ` 就可以列出目前插件已经加载的全部预设。
65+ 你也可以使用` 预设列表 ` 命令来代替` chathub.listpresets ` 命令。例如:
66+
67+ ``` text
68+ chathub.listpresets
69+ ```
70+
71+ ### 切换预设
72+
73+ 输入 ` chathub.setpreset ` + 预设名就可以切换预设了。
74+ 你也可以使用` 切换预设 ` 命令来代替` chathub.setpreset ` 命令。例如:
75+
76+ ``` text
77+ chathub.setpreset chatgpt
78+ ```
79+
80+ ::: tip
81+ 如果使用的是无参数的切换预设指令调用,那么不仅会对当前的默认会话进行切换预设,也会同时设置到默认的预设。这会同步影响新创建的会话。
82+ :::
6283
6384## 模型
6485
6586### 列出模型列表
6687
6788### 设置默认模型
89+
90+ ## 会话 <Badge type =" warning " text =" 暂未在当前版本实现 " />
91+
92+ ### 列出全部会话
93+
94+ ### 列出群内全部会话
95+
96+ ### 列出某个用户的会话
97+
98+ ### 删除会话
You can’t perform that action at this time.
0 commit comments