Skip to content

Commit

Permalink
docs(ecosystem/extension): correct vector store link in knowledge.md
Browse files Browse the repository at this point in the history
docs(guide/preset-system): add tip for using curly braces in write-preset.md
  • Loading branch information
dingyi222666 committed Dec 25, 2024
1 parent d9387cc commit 435de9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ecosystem/extension/knowledge.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

- 启用插件。

Expand Down
3 changes: 3 additions & 0 deletions docs/guide/preset-system/write-preset.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 的特色功能之一,它允许你为你的预设编写一系列信息,并且通过关键词在合适的时机插入这些信息。
Expand Down

0 comments on commit 435de9f

Please sign in to comment.