新增wiki命令文件

This commit is contained in:
2026-04-14 16:02:50 +08:00
parent 65803c911d
commit c6e3d3c5db
485 changed files with 12578 additions and 396 deletions

View File

@@ -0,0 +1,25 @@
---
title: "Retrieval"
type: concept
tags: [RAG, 检索, 向量搜索]
---
## Definition
Retrieval是根据问题语义向量检索相关文档的过程是RAG的第二阶段。
## Core Mechanism
1. 问题向量化将用户问题通过Embedding Model转为向量
2. 相似度计算在Vector Store中计算相似度
3. Top-K选取返回最相关的K个文档片段
## Key Properties
- 依赖语义相似度
- 受Embedding Model质量影响
- 可结合关键词过滤
## Connections
- [[RAG]] ← 阶段2 ← [[Retrieval]]
- [[Indexing]] ← 上游 ← [[Retrieval]]
- [[Generation]] ← 下游 ← [[Retrieval]]
- [[Embedding Vector]] ← 依赖 ← [[Retrieval]]
- [[Vector Store]] ← 数据源 ← [[Retrieval]]