What is Chunking?
Chunking is the process of splitting large documents or web pages into smaller, semantically meaningful segments. This is a critical step in building RAG-based AI systems.Why Chunking Matters
Chunking Strategies
| Strategy | Description | Best For ||----------|-------------|----------|
| Fixed-size | Split every N characters/tokens | Simple documents |
| Semantic | Split at paragraph/section boundaries | Structured content |
| Recursive | Progressively split using multiple separators | General purpose |
| Sentence | Split at sentence boundaries | FAQ content |