Index Ai Academy
Glossary · Phase 1 · Building with LLMs

Chunking

Cutting long documents into smaller pieces so the most relevant pieces can be found and sent to a model.

Try it now

Each chunk starts 3 words after the one before (size minus overlap), so neighbors share one word. The loop stops once a chunk reaches the end.

Learn it properly

Chunking documents · Split long documents so the right piece can be retrieved. About 25 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write