- Glossary
- Chunking
Glossary term
Chunking
Splitting documents into smaller passages before embedding and indexing them.
Also called chunk, chunks.
Open lesson 21.3
Where naive RAG breaks · Chapter 21, and 4 more lessons below
In plain words
Chunk by structure (headings, paragraphs), with some overlap, and keep source metadata with each chunk.
Taught in
- 21.3Where naive RAG breaksChapter 21, Naive RAG · main lesson
- 4.6Chunk, document and query embeddingsChapter 4, Embeddings and semantic search
- 21.1The four steps: chunk, embed, retrieve, generateChapter 21, Naive RAG
- 23.5Contextual retrievalChapter 23, Advanced RAG
- 26.1Retrieval metrics: recall and precisionChapter 26, Evaluating RAG
Also in these lessons
Agentic RAGBM25Context precisionContext recallContextual retrievalGroundingHit rate@kHybrid searchQuery rewritingVectorVocabulary