Loading...
朴素 RAG(NRAG)
遵循传统索引、检索与生成流程的基础性「Retrieve-Read」框架
In 30 seconds
- What
- 通过语义检索取回最匹配的文档片段,将它们拼接进提示词,然后生成答案。
- When to use
- 针对索引良好的文档提出的直接事实性问题:检索质量高,且不需要多步推理。
- Watch out
- 检索到的片段可能彼此矛盾或夹带无关噪声,若不做排序或过滤就会拉低答案质量。
Loading technique guide…
遵循传统索引、检索与生成流程的基础性「Retrieve-Read」框架
Loading technique guide…
模式: 简单的先检索后生成流水线: 查询 → 检索文档 → 拼接 → 生成
原因: 以最小复杂度提供外部知识访问 - 由 Lewis et al. (2020) 确立的基础方法
关键洞察: 将 top-k 检索文档直接拼接到查询提示 - 不做优化或后处理
通过这些精选资源加深理解
Retrieval-Augmented Generation for Large Language Models: A Survey (Gao et al., 2023)
A Comprehensive Survey of RAG: Evolution and Future Directions (Gupta et al., 2024)
Retrieval-Augmented Generation for AI-Generated Content: A Survey (Li et al., 2024)
RAG and RAU: A Survey on Retrieval-Augmented Language Model (Zhao et al., 2024)