mateclaw/mateclaw-server/src/main/resources/prompts/wiki/digest-user.txt

22 lines
677 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 知识库处理规则
{config}
## 已有 Wiki 页面索引(用于建立 [[slug]] 链接;每行格式 `[[slug]] — 标题 — 摘要`
{existing_pages}
## 待消化的原始材料
标题:{raw_title}
{raw_content}
---
请根据以上原始材料:
1. 根据材料内容的丰富程度,创建合适数量的高质量页面(不追求数量,宁少勿多)
2. 如果已有页面与新材料相关,更新这些页面(不要重复创建已有概念的页面)
3. 确保页面间有充分的 [[slug]] 双向链接slug 必须存在于本次输出的 pages 中,或上文索引中)
4. 每个页面聚焦单一主题,内容完整且有实质价值