What Is Chunking?

Retrieval & Data Also known as: text chunking

Chunking is the process of splitting a large document into smaller pieces so an AI system can search and retrieve the most relevant parts. It is a key step in retrieval-augmented generation, where a model answers using passages pulled from your own data.

How chunking works

Chunking breaks a document into segments, such as paragraphs or fixed-size passages, each small enough to be searched and fed to a model on its own. Each chunk is usually converted into an embedding and stored, so a system can later find the chunks closest in meaning to a question. The size of the chunks matters: too large and a passage carries irrelevant text, too small and it loses the context needed to make sense.

Why chunking matters for AI

Chunking matters because a model can only take in so much text at once, and feeding it an entire document is both wasteful and less accurate than feeding it the few passages that actually answer a question. Good chunking is often what separates a retrieval system that returns sharp, relevant context from one that returns noise. It is unglamorous work, and it has an outsized effect on answer quality.

Frequently asked questions.

The stuff we hear most on the first call. Don't see yours? Book a 30-minute conversation.

What is chunking in RAG?
It is splitting source documents into smaller passages so the system can retrieve and feed a model only the parts relevant to a question, rather than a whole document.
Why does chunk size matter?
Chunks that are too large include irrelevant text, and chunks that are too small lose context. The right size keeps each passage focused while still making sense on its own.

Want to put AI
to work?

We work with leadership teams to find the right opportunities, define the strategy, and build the systems that move the business forward.