完善文档

This commit is contained in:
chenxin committed 2026-09-22 10:58:39 +08:00
1 parent 192ea96eb4
commit efc08dab5e
82 files changed
+1455 -109

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
# RAG
## 架构
```mermaid
flowchart LR
Query --> Understanding
Understanding --> BM25
Understanding --> Vector
Understanding --> Graph
BM25 --> Fusion
Vector --> Fusion
Graph --> Fusion
Fusion --> Reranker
Reranker --> Compression
Compression --> LLM
```
## 检索
采用 Hybrid Retrieval:
- Keyword
- BM25
- Vector
- Graph
- Metadata Filter
最终通过 Reranker 与 Context Compression 提高上下文质量。