diff --git a/docs/ecosystem/extension/knowledge.md b/docs/ecosystem/extension/knowledge.md index 332e802..0ce3769 100644 --- a/docs/ecosystem/extension/knowledge.md +++ b/docs/ecosystem/extension/knowledge.md @@ -11,7 +11,7 @@ ![alt text](../../public/images/image-59.png) -- 确保和长期记忆的前置操作一致,配置了 [嵌入模型](../../guide/configure-embedding-model/introduction.md) 和 [向量存储](../../guide/configure-vector-store/introduction.md)。 +- 确保和长期记忆的前置操作一致,配置了 [嵌入模型](../../guide/configure-embedding-model/introduction.md) 和 [向量存储](../../guide/configure-vector-database/introduction.md)。 - 启用插件。 diff --git a/docs/guide/preset-system/write-preset.md b/docs/guide/preset-system/write-preset.md index cb0d10a..06b3ca5 100644 --- a/docs/guide/preset-system/write-preset.md +++ b/docs/guide/preset-system/write-preset.md @@ -125,6 +125,9 @@ text{variable_name} | {variable_name::xx::xx} | {variable_name:xx,xx,xx} - `roll:(formula)`: 使用 D&D 骰子语法投掷骰子。如 `roll:d6` 会投掷 1 到 6 的骰子。 - `idle_duration`: 插入一个表示上次用户消息发送以来的时间范围的人性化字符串(例如:1 day, 2 hours)。 +>![TIP] 提示 +> 如果你的预设需要使用原始的 `{` 和 `}` 字符,可以使用 `{{` 和 `}}` 来代替。 + ### 世界书 World Book(或称 Lorebooks)是 ChatLuna 的特色功能之一,它允许你为你的预设编写一系列信息,并且通过关键词在合适的时机插入这些信息。