Update nexus wiki content
This commit is contained in:
32
wiki/concepts/QueryWorkflow.md
Normal file
32
wiki/concepts/QueryWorkflow.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
title: "QueryWorkflow"
|
||||
type: concept
|
||||
tags: [workflow, knowledge-management, llm]
|
||||
sources: [llm-wiki]
|
||||
last_updated: 2026-05-02
|
||||
---
|
||||
|
||||
## Overview
|
||||
查询工作流(Query Workflow)是 [[PersistentWiki]] 的核心运营模式之一——用户就 Wiki 中的内容提出问题,LLM 搜索相关页面、综合整理答案并以 wikilink 形式引用来源。
|
||||
|
||||
## Standard Process(4步)
|
||||
1. **读取 Index**:读取 `wiki/index.md`,确定相关页面
|
||||
2. **读取相关页面**:读取这些页面的具体内容
|
||||
3. **综合生成答案**:以 `[[页面名]]` wikilink 形式内联引用来源
|
||||
4. **询问是否归档**:询问用户是否将答案保存为 `wiki/syntheses/<slug>.md`
|
||||
|
||||
## Answer Formats
|
||||
答案可以呈现不同形式:
|
||||
- Markdown 页面
|
||||
- 对比表格
|
||||
- 幻灯片(Marp)
|
||||
- 图表(matplotlib)
|
||||
- 画布(Canvas)
|
||||
|
||||
## Key Insight
|
||||
**好的答案可以归档回 Wiki 作为新页面。** 用户提出的对比、分析、发现的关联——这些都很有价值,不应该消失在聊天记录中。探索结果与摄入来源一样复合积累到知识库中。
|
||||
|
||||
## Design Principles
|
||||
- **Index-first**:先读索引找相关页面,而非直接全文搜索
|
||||
- **引文驱动**:所有答案以 wikilink 形式引用来源页
|
||||
- **知识沉淀**:探索结果是第二等重要的知识来源,仅次于摄入的原始来源
|
||||
Reference in New Issue
Block a user