Learn · RAG: chunking, embeddings & vector search · CCAR-F

Chunking strategies

Chunking decides what a passage is. Split by structure, keep tables whole, carry the heading path and store metadata.

Key ideas

Worked example: Structure-aware chunking in Python

Split on Markdown-style headings, track the heading path, then split long sections by size with overlap. Each chunk starts with its heading path and carries metadata.

Exam traps

Official docs

Practise CCAR-F questions · Next lesson: Embeddings and vector search