반응형

⭐ 정의
RAG + 웹서치
❓Self RAG와 다른점
- re-write 목적이 다름
- Self RAG는 retrieve를 잘하려고 rewrite
- retrieve는 기존의 가지고 있는 VectorStore 기반
- Corrective RAG는 Web Search를 잘하기위해 rewrite
🌊 흐름

- 관련성 평가
- 통과 시, generate
- 실패 시, rewrite
- rewrite
- Web Seach를 위해, rewrite
- Web Search
- 검색 결과를 기반으로 generate
💡웹서치 전에 rewrite가 꼭 필요할까??
rewrite 역시 llm 호출이 필요하기 때문에, 굳이 필수는 아니다.
공식문서는 rewrite노드가 있지만, 결과물에 크게 영향을 주지 않는다.
출처
03. CRAG(Corrective RAG)
.custom { background-color: #008d8d; color: white; padding: 0.25em 0.5…
wikidocs.net
https://arxiv.org/abs/2401.15884
Corrective Retrieval Augmented Generation
Large language models (LLMs) inevitably exhibit hallucinations since the accuracy of generated texts cannot be secured solely by the parametric knowledge they encapsulate. Although retrieval-augmented generation (RAG) is a practicable complement to LLMs, i
arxiv.org
반응형
'AI > LangGraph' 카테고리의 다른 글
| RunnablePassthrough (0) | 2026.02.23 |
|---|---|
| SubGraph와 Router (0) | 2026.02.22 |
| Self RAG (0) | 2026.02.22 |
| Conditional Edge (0) | 2026.02.22 |
| PDF 전처리 해보기 (0) | 2026.02.21 |