File tree 2 files changed +14
-8
lines changed
guide/configure-model-platform
2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,10 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {
182
182
text : "OpenAI" ,
183
183
link : "/guide/configure-model-platform/openai" ,
184
184
} ,
185
-
185
+ {
186
+ text : "DeepSeek" ,
187
+ link : "/guide/configure-model-platform/deepseek" ,
188
+ } ,
186
189
{
187
190
text : "Google Gemini" ,
188
191
link : "/guide/configure-model-platform/google-gemini" ,
@@ -195,6 +198,10 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {
195
198
text : "通义千问" ,
196
199
link : "/guide/configure-model-platform/qwen" ,
197
200
} ,
201
+ {
202
+ text : "Dify" ,
203
+ link : "/guide/configure-model-platform/dify" ,
204
+ } ,
198
205
{
199
206
text : "智谱(ChatGLM)" ,
200
207
link : "/guide/configure-model-platform/zhipu" ,
@@ -211,10 +218,7 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {
211
218
text : "混元大模型" ,
212
219
link : "/guide/configure-model-platform/hunyuan" ,
213
220
} ,
214
- {
215
- text : "DeepSeek" ,
216
- link : "/guide/configure-model-platform/deepseek" ,
217
- } ,
221
+
218
222
{
219
223
text : "Moonshot" ,
220
224
link : "/guide/configure-model-platform/moonshot" ,
Original file line number Diff line number Diff line change @@ -7,11 +7,13 @@ Dify 是一款开源的大语言模型(LLM)应用开发平台,旨在通过
7
7
8
8
## 提示
9
9
10
- Dify 的 API 更接近于 LLM 应用层的 API,而不是类似 OpenAI 等平台的 API,且 Dify 自维护了对话上下文。所以 ChatLuna 的 Dify 适配器无法兼容现有的 ChatLuna 生态。
10
+ Dify 的 API 更接近于 LLM 应用层的 API,而不是类似 OpenAI 等平台的 API,且 Dify 自维护了对话上下文。由于 ChatLuna 本身就维护了自己的对话上下文,这和 Dify 自维护的对话上下文冲突。 所以 ChatLuna 的 Dify 适配器无法兼容现有的 ChatLuna 生态。
11
11
12
- 包括长期记忆, 搜索服务, ChatLuna 知识库等都不支持。ChatLuna 本身就维护了自己的对话上下文,这和 Dify 自维护的对话上下文冲突 。
12
+ 包括 ** ChatLuna 的预设系统 ** , ** 长期记忆 ** , ** 搜索服务** , ** ChatLuna 知识库 ** 等都不支持。请自行使用 Dify 工作流实现上面的功能 。
13
13
14
- ChatLuna 最终选择以兼容的方式来接入 Dify 应用。当用户使用 ChatLuna 时,ChatLuna 会根据不同的房间,创建不同的 Dify 对话,通过 Dify 自带的对话上下文来管理对话。
14
+ ChatLuna 最终选择以兼容的方式来接入 Dify 应用。当用户使用 ChatLuna 时,ChatLuna 会根据不同的房间,创建不同的 Dify 对话 ID,通过 Dify 自带的对话 ID 来管理对话。
15
+
16
+ 可以理解为:一个 ChatLuna 房间对应一个 Dify 对话 ID。
15
17
16
18
但 ChatLuna 在运行 Dify 工作流时也会传入一些变量,包括用户的历史聊天内容,当前的用户名等,这使得你可以自定义更多的工作流内容,在下文我们会介绍。
17
19
You can’t perform that action at this time.
0 commit comments