miatz™
Verify a credentialLog inSit ChuunSit Chuun
  • Learners
  • Mentors
  • Business
CoursesApplied AIProgramResidencyPlaygroundsWar RoomsXookAtlasReadiness Check
miatz

The AI-era engineering institute. The machines got fast — we train the drivers. Real work, a daily loop that compounds, and a record that proves you can think.

Toggle theme
Explore
  • Courses
  • Applied AI
  • Program
  • Residency
  • Playgrounds
  • War Rooms
  • Xook
  • Atlas
  • Readiness Check
  • Tokenizer Lab
  • Chunking Lab
  • Prompt Anatomy
  • Calibration Lab
  • All playgrounds →
Learn
  • Courses
  • The Method
  • The Residency
  • Chuun · Entrance Examination
  • Manifesto
  • The Itz'at credential
  • Verified engineers
  • Playground Catalog
  • AI Use-Case Atlas
  • AI Readiness Check
  • Guides
  • Glossary
  • Compare approaches
  • Blog
  • What's New
For teams
  • For Students
  • For Mentors
  • For Business
  • Classroom migration
  • Miatz Index
  • API reference
  • Sit Chuun
  • Log in
Company
  • About
  • Experts
  • Why it's free
  • Pricing
  • FAQ
  • Contact
  • Privacy Policy
  • Terms of Service
  • Your data & privacy requests
  • Grievance redressal
  • Security & disclosure
  • Subprocessors
  • Data Processing Agreement
Take miatz with you

The Android app is live. iOS is on the way.

Available on AndroidGet it on Google Play
Not yet on iPhoneiOS — use the web app

Miatz Private Limited

Registered office:
C-101, Lotus Tower, Arge Urban Bloom, 30/A, 4th Main, 2nd Stage, Yeswanthpur, Bengaluru, Karnataka 560022, India
CIN:
U62013KA2026PTC226418
GSTIN:
29AAVCM3922D1Z6
Phone:
+91 82802 73456
Email:
hello@miatz.com
Website:
miatz.com
Grievance Officer:
Aishwarya · aishwarya@miatz.com · replies within 30 days
© 2026 miatz · Miatz Private Limited · Built in Bangalore·PrivacyTerms

miatz™, Itz'at™, Tuukul™, T'aan™, Kanan™, Xook™ and Chuun™ are trademarks of Miatz Private Limited (registrations in progress) · what the names mean

miatz
Glossary

Chunking

Chunking is splitting a document into smaller passages before embedding, so retrieval returns focused evidence instead of an entire file.

Chunking is the process of splitting a document into smaller, roughly self-contained passages before embedding and indexing it, so a retrieval system can return a focused excerpt instead of handing over an entire file.

Embedding models and language models both have a practical breaking point: cram a 50-page manual into one vector and its topic sentence, its appendix, and its legal boilerplate all blur into one averaged meaning that matches nothing well. Chunking exists to keep each stored unit small enough to have one coherent topic, and large enough to still make sense out of context.

How it works

Most pipelines slide a fixed-size window across the document — commonly 200 to 800 tokens — and step forward by less than the window size, so consecutive chunks overlap. The overlap exists because a fact split exactly at a chunk boundary would otherwise vanish from both halves; a sentence about "the retry limit is 3" might get orphaned from the sentence naming which service it applies to.

Better pipelines split on semantic boundaries — headings, paragraphs, list items — rather than raw character counts, so a chunk ends at a natural idea boundary instead of mid-sentence. The trade-off is unavoidable either way: chunk too large and retrieval gets fuzzy, matching on the wrong sub-topic buried inside; chunk too small and each fragment loses the surrounding context a reader — human or model — needs to make sense of it.

Why it matters

Chunk size is one of the highest-leverage, cheapest-to-tune dials in an entire RAG system — changing it requires no retraining, just re-indexing, and it routinely moves retrieval quality more than swapping embedding models does. Get it wrong and every downstream stage inherits the damage: a hybrid search or reranker can only reorder the chunks it is given, and a language model can only ground its answer in the passages retrieval handed it.

A worked example

Take a 12,000-token policy document, chunked at 500 tokens with a 50-token (10 percent) overlap. The stride between chunk starts is 500 − 50 = 450 tokens, so covering the full document takes ceil((12,000 − 50) / 450) = 27 chunks, the last one starting at token 11,700 and running to the document's end. Shrink the chunk size to 200 tokens at the same 10 percent overlap and the same document explodes to roughly 67 chunks — more precise retrieval targeting, but nearly two and a half times the embeddings to compute, store, and search, and more fragments that might individually lack context.

How miatz teaches it

Chunking is a hands-on lab, not a slide: learners take one real document, chunk it three different ways — small, large, and semantic-boundary — then run the same queries against all three indexes and watch precision and recall move in opposite directions. It sits directly upstream of the RAG lab, because no amount of clever retrieval logic fixes a badly chunked index.

Related terms

Embedding Retrieval-Augmented Generation (RAG) Semantic Search Vector Database

Learn this in a course

AIE-202 · RAG Foundations

See it compared

Small Chunks vs Large Chunks

Learn it by doing it.

Miatz turns definitions into judgment — the free founding cohort trains you on exactly these concepts, hands-on.

Join free More definitions