diff --git a/docs/guide/chat-chain/chat-mode.md b/docs/guide/chat-chain/chat-mode.md index 7eb9a6a..e690663 100644 --- a/docs/guide/chat-chain/chat-mode.md +++ b/docs/guide/chat-chain/chat-mode.md @@ -8,7 +8,7 @@ ChatLuna 中内置了以下几种聊天模式: - **chat**: 默认,也是最基本的聊天模式,支持预设的全部功能(世界书,作者注释等),并且也支持长期记忆。 -- **plugin**: 基于 LangChain 的 Agent 提供的聊天模式。此模式下虽然不支持长期记忆的预设的部分功能,但是可以让模型调用多样化的工具,大幅扩展模型的能力。 +- **plugin**: 基于 LangChain 的 Agent 提供的聊天模式。此模式下虽然不支持预设的大部分功能,但是可以让模型调用多样化的工具,大幅扩展模型的能力。 不仅如此,ChatLuna 团队还维护以下聊天模式: @@ -26,6 +26,11 @@ chat,也就是最主要的聊天模式。ChatLuna 的主插件已经内置此 plugin 模式也是 ChatLuna 主插件中内置的聊天模式。 +::: tip 提示 +plugin 模式暂不支持预设变量的替换,长期记忆等功能。 +未来的版本中可能会支持。 +::: + plugin 模式基于 LangChain 的 `Agent` 和 `Tool`,需要有相关的工具才能让模型调用它们。 但 ChatLuna 主插件中并没有内置可供 plugin 使用的工具,因此你需要安装 [`chatluna-plugin-common`](../../ecosystem/introduction.md) 插件,来为 plugin 模式提供一些工具。 diff --git a/docs/guide/preset-system/write-preset.md b/docs/guide/preset-system/write-preset.md index 644c4bd..fe8e2e7 100644 --- a/docs/guide/preset-system/write-preset.md +++ b/docs/guide/preset-system/write-preset.md @@ -173,8 +173,8 @@ world_lores: 作者注释提供了在不定频率随机插入内容的功能。下面是一个示例: ```yml -author_notes: - - content: "这是一条作者注释" +authors_note: + content: "这是一条作者注释" insertPosition: 'in_chat' insertDepth: 0 insertionFrequency: 1