Data & Infrastructure

RAG Chunking Strategies: Fixed Size, Semantic Chunking & Markdown Hierarchy

Master document chunking: character splitting, semantic boundary detection, and table/header-aware recursive splitting.

3 min

Chunk Size and Overlap Best Practices

Chunks that are too small (100 tokens) lose semantic context; chunks that are too large (2000 tokens) introduce prompt noise. 512 tokens with 10-15% overlap is the ideal production baseline.