Contents
Map

12 · RAG

Appendix - Summary & Key Terms

View as:

Appendix - RAG (Retrieval-Augmented Generation)

What We Learned

  • Parse, chunk and index documents with metadata, versions and access controls.
  • Combine lexical and vector retrieval; rerank candidates before assembling answer context.
  • Ground answers in evidence with checked citations and abstention when evidence is insufficient.
  • Evaluate retrieval and generation separately to locate failures.
  • Choose advanced, agentic, long-context or managed patterns from task needs; maintain freshness and permissions in production.

Key Acronyms, Concepts & Jargon

TermShort meaning
RAG / CAGRetrieval-Augmented / Cache-Augmented Generation: retrieved evidence / cached knowledge context.
Embedding / vector searchNumeric representation of meaning / search by vector similarity.
ANN / HNSWApproximate Nearest Neighbor / Hierarchical Navigable Small World: fast approximate search / a graph index.
Chunk / overlapRetrieval-sized text unit / content shared between neighboring units.
BM25Lexical ranking using term frequency, document frequency and length normalization.
Hybrid retrieval / RRFCombines lexical and semantic search / Reciprocal Rank Fusion combines ranked lists.
RerankerRescores retrieved candidates for query relevance.
Recall@k / MRRRelevant-item coverage in top k / Mean Reciprocal Rank of the first relevant result.
nDCGNormalized Discounted Cumulative Gain: ranking quality with relevance and position weighting.
Grounding / faithfulnessTying claims to evidence / consistency of the answer with that evidence.
Citation / abstentionTraceable source reference / declining an unsupported answer.
GraphRAG / agentic RAGGraph-based evidence retrieval / an agent-controlled retrieval loop.
ACL / CDCAccess Control List / Change Data Capture: permissions / source change tracking.
Freshness / lineageHow current indexed data is / its source and transformation history.

Back to section overview

⚡AI-assisted content - always verify, always explore multiple perspectives·