Chunk Size
The length of the fragment into which a document is divided during chunking before vectorization in RAG.
Why It Matters
- Too small — context is lost, answers are fragmented;
- Too large — the fragment contains multiple topics, search is inaccurate;
- Optimum depends on the type of documents and embedding model.
Typical Values
For many tasks, it ranges from 200 to 1000 tokens. It is tuned experimentally on specific data.