01
Index, offline
Sources are parsed, chunked, enriched with context, metadata and access rights, embedded and indexed for vector and keyword search. This runs on every change, not on every question.
Anthropic, Contextual Retrieval, read 22 Oct 2026 · AWS, Chunking in Knowledge Bases, read 22 Oct 2026
02
Plan
Each question is classified: search directly, split into sub-questions or rewrite. Chit-chat needs no retrieval. The classification is often wrong, 54.52 % accuracy in one study, so a way back belongs in the design.
Jeong et al., Adaptive-RAG, NAACL 2024, read 22 Oct 2026
05
Check the evidence
Are the hits enough for an answer? If not, the question is re-planned a limited number of times, for example rewritten or sent to another source. Azure does exactly one retry. Then the system says openly that it found no answer.
Yan et al., Corrective RAG, read 22 Oct 2026 · Microsoft, Agentic retrieval, read 22 Oct 2026
06
Answer and measure
Every statement points to the passage that supports it. Retrieval (recall@k) and answers (faithfulness) are measured separately, and every step is traced.
Anthropic, Citations, read 22 Oct 2026 · Es et al., RAGAS, EACL 2024, read 22 Oct 2026