AI dictionary · LLMs and GenAI
What is Chunking?Chunking kya hai?
Chunking: Splitting documents into smaller pieces before embedding them for search and RAG.Search aur RAG ke liye embed karne se pehle documents ko chhote tukdon mein todna.
🧸 Think of it likeAise samjho
Like cutting a big pizza into slices so you can pick up exactly the piece you want.Badi pizza ko slices mein kaatne jaisa, taaki aap wahi tukda utha sako jo chahiye.
📘 ExplainedVistaar se
Models and vector search work best on focused passages. Chunks should hold a complete idea: split along headings, paragraphs and tables rather than every N characters, often a few hundred tokens with a small overlap, and store title, section, date and permissions as metadata. Test chunk sizes against real questions; bad chunking is a top cause of wrong RAG answers.Models aur vector search focused passages pe sabse accha kaam karte hain. Chunk mein poora idea hona chahiye: har N characters ke bajaye headings, paragraphs aur tables ke hisaab se todo, aksar kuch sau tokens thode overlap ke saath, aur title, section, date aur permissions metadata mein rakho. Asli sawaalon pe chunk sizes test karo; galat chunking galat RAG jawaabon ki badi wajah hai.
💡 Real exampleAsli example
A 40 page policy PDF becomes 120 chunks, one per section or paragraph group.40 page ki policy PDF 120 chunks ban jaati hai, har section ya paragraph group ka ek.
📖 Learn it step by stepStep by step seekho
🔗 Related termsJude hue shabd
Questions people ask
What is Chunking?
Splitting documents into smaller pieces before embedding them for search and RAG. Models and vector search work best on focused passages. Chunks should hold a complete idea: split along headings, paragraphs and tables rather than every N characters, often a few hundred tokens with a small overlap, and store title, section, date and permissions as metadata. Test chunk sizes against real questions; bad chunking is a top cause of wrong RAG answers.
How can I understand Chunking in simple words?
Like cutting a big pizza into slices so you can pick up exactly the piece you want.
What is an example of Chunking?
A 40 page policy PDF becomes 120 chunks, one per section or paragraph group.
Chunking ka matlab kya hai?
Search aur RAG ke liye embed karne se pehle documents ko chhote tukdon mein todna. Badi pizza ko slices mein kaatne jaisa, taaki aap wahi tukda utha sako jo chahiye.
See Chunking in the full A to Z dictionary · Start a free AI course