Skip to content

Commit 435de9f

Browse files
committed
docs(ecosystem/extension): correct vector store link in knowledge.md
docs(guide/preset-system): add tip for using curly braces in write-preset.md
1 parent d9387cc commit 435de9f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/ecosystem/extension/knowledge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
![alt text](../../public/images/image-59.png)
1313

14-
- 确保和长期记忆的前置操作一致,配置了 [嵌入模型](../../guide/configure-embedding-model/introduction.md)[向量存储](../../guide/configure-vector-store/introduction.md)
14+
- 确保和长期记忆的前置操作一致,配置了 [嵌入模型](../../guide/configure-embedding-model/introduction.md)[向量存储](../../guide/configure-vector-database/introduction.md)
1515

1616
- 启用插件。
1717

docs/guide/preset-system/write-preset.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ text{variable_name} | {variable_name::xx::xx} | {variable_name:xx,xx,xx}
125125
- `roll:(formula)`: 使用 D&D 骰子语法投掷骰子。如 `roll:d6` 会投掷 1 到 6 的骰子。
126126
- `idle_duration`: 插入一个表示上次用户消息发送以来的时间范围的人性化字符串(例如:1 day, 2 hours)。
127127

128+
>![TIP] 提示
129+
> 如果你的预设需要使用原始的 `{` 和 `}` 字符,可以使用 `{{` 和 `}}` 来代替。
130+
128131
### 世界书
129132

130133
World Book(或称 Lorebooks)是 ChatLuna 的特色功能之一,它允许你为你的预设编写一系列信息,并且通过关键词在合适的时机插入这些信息。

0 commit comments

Comments
 (0)