docs: 同步 system_prompt.md 的5步流程到文档,补充systemd部署说明

This commit is contained in:
root
2026-04-28 19:46:00 +08:00
parent cc2241cac8
commit 4d64da743a
4 changed files with 179 additions and 22 deletions

View File

@ -53,9 +53,13 @@ system_prompt = prompt_manager.get_system_prompt()
步骤 1: 查询人设图(最高优先级)
步骤 2: 查询工作记忆链
步骤 3: 处理对话
步骤 4: 更新工作记忆链
步骤 4: memory_commit (写入关键信息) → 将用户明确提到的重要信息写入图数据库
步骤 5: 更新工作记忆链
```
> **注意**: 原提示词仅包含 4 步,缺少显式的写入步骤,导致 AI 只查不写、聊完即忘。
> 步骤 4 确保每轮对话的关键信息被持久化到图数据库中。
### 5. 工具系统
#### 记忆工具