Chunking
The process of splitting long documents into smaller segments suitable for retrieval and embedding, serving as the foundation of RAG quality.
Detailed explanation
Why It Matters in Tool Selection
The answer quality of RAG and document search tools is often determined by the chunking strategy. Coarse splitting can mix irrelevant content, muddling search results, while ignoring tables or heading structures breaks the context. Whether a tool allows adjusting the chunking method, chunk size, and overlap, and whether it preserves structures like tables and code, dictates search accuracy.
Key Considerations
- Can you adjust the chunk size and overlap?
- Does it support splitting that preserves document structure like paragraphs, headers, and tables?
- Does it accurately recognize Korean sentence boundaries for splitting?
- Can you preview and debug the chunking results?
Real-World Examples
When building a RAG chatbot using a product manual, splitting the manual arbitrarily by every 1,000 characters can split a single procedure across two chunks, leading to inaccurate retrieval. Splitting by preserving headers and sequential structures while introducing a slight overlap ensures a procedure is contained entirely within a single chunk, improving response accuracy.