D
Doc and Tell
Glossary/ai/ml
ai/ml

Chunking

The process of splitting large documents into smaller, overlapping segments optimized for retrieval and embedding.

Chunking breaks lengthy documents into pieces that fit within an embedding model's token limit while preserving enough context for each chunk to be independently meaningful. Common strategies include fixed-size windows, sentence-boundary splitting, and heading-aware segmentation.

The choice of chunk size and overlap directly impacts retrieval quality. Chunks that are too small lose context; chunks that are too large dilute relevance scores. For compliance documents, heading-aware chunking preserves clause boundaries and section references.

Analyze Documents Related to Chunking

Upload any document and get AI-powered analysis with verifiable citations.

Start Free