[KongchangAI]
Concept分片 / 文档分片 / 文本分割

Chunking

A preprocessing technique in RAG systems that splits long documents into smaller text segments. Common strategies include fixed-size splitting, paragraph splitting, section splitting, and semantics-based dynamic segmentation. The granularity of the resulting chunks directly affects retrieval quality.

Core Facts

Timeline (last 90 days)

Oct 16

When chunks are too small, they lose context; the retrieved passage reads fine on its own, but the LLM cannot answer, because the answer's basis falls in other chunks that were not recalled.

Unverified50%
Oct 16

Chunking is essentially a trade-off between "retrieval precision" and "context completeness," and this trade-off has no universal optimal solution; it depends on whether the query leans toward details or toward generalization.

Unverified50%
Oct 16

When chunks are split across semantic boundaries, with the definition in one chunk and the example in another, only one of them is recalled, and the LLM gets only half the answer.

Unverified50%
Oct 16

The correct chunking strategy depends on the structure of the source document and the form of the query, not on some blog's default number.

Unverified50%
Oct 16

Chunking is the step most often glossed over in RAG tutorials, and most tutorials only suggest splitting documents into 500-token chunks, but poor retrieval performance often stems from exactly this.

Unverified50%
Oct 14

RAG tutorials rarely cover a key issue: chunk boundaries are almost always wrong; when documents are chunked and embedded, assumptions are actually being made about which context belongs together, and these assumptions often do not hold.

Verified70%
Oct 12

In chunking, chunks that are too small lose contextual semantics, while chunks that are too large cause vector similarity to be diluted and irrelevant content to be mixed in.

Unverified50%
Oct 12

Fixed-size chunking breaks semantic integrity, while paragraph- or semantic-boundary-based chunking requires more complex parsing logic.

Unverified50%
Oct 6

Mainstream chunking strategies fall into three categories: fixed-length chunking, semantics-aware chunking, and sliding window chunking

Unverified50%
Oct 6

RAG chunking quality directly determines retrieval recall rate; if a complete argument is cut across two chunks, vector retrieval may only recall half the content, causing the LLM to answer based on incomplete information.

Unverified50%

9 more timeline events

All Facts (20)

Verified

RAG tutorials rarely cover a key issue: chunk boundaries are almost always wrong; when documents are chunked and embedded, assumptions are actually being made about which context belongs together, and these assumptions often do not hold.

70%
Verified

The core process of Retrieval-Augmented Generation (RAG) consists of three steps: chunking and vectorizing knowledge base documents for storage, retrieving the most semantically relevant segments, and injecting those segments as context into the LLM prompt.

70%
Verified

A complete RAG pipeline consists of four stages: document chunking, vector storage, reranking, and retrieval-to-generation.

65%
Unverified

知识库文档在入库前需要经过分块(Chunking)处理,常见策略包括固定长度分块、按句子/段落分块、递归字符分块,以及父子块策略

90%
Unverified

处理长文本时,工程化的分块处理(Chunking)和滑动窗口(Sliding Window)策略是标准解法

90%
Partially Verified

The overlap in text chunking is typically set to 10%–20% of the chunk_size.

65%
Unverified

Chunking is essentially a trade-off between "retrieval precision" and "context completeness," and this trade-off has no universal optimal solution; it depends on whether the query leans toward details or toward generalization.

50%
Unverified

Chunking is the step most often glossed over in RAG tutorials, and most tutorials only suggest splitting documents into 500-token chunks, but poor retrieval performance often stems from exactly this.

50%
Unverified

The correct chunking strategy depends on the structure of the source document and the form of the query, not on some blog's default number.

50%
Unverified

When chunks are too small, they lose context; the retrieved passage reads fine on its own, but the LLM cannot answer, because the answer's basis falls in other chunks that were not recalled.

50%
Unverified

When chunks are split across semantic boundaries, with the definition in one chunk and the example in another, only one of them is recalled, and the LLM gets only half the answer.

50%
Unverified

In chunking, chunks that are too small lose contextual semantics, while chunks that are too large cause vector similarity to be diluted and irrelevant content to be mixed in.

50%
Unverified

Fixed-size chunking breaks semantic integrity, while paragraph- or semantic-boundary-based chunking requires more complex parsing logic.

50%
Unverified

Mainstream chunking strategies fall into three categories: fixed-length chunking, semantics-aware chunking, and sliding window chunking

50%
Unverified

RAG chunking quality directly determines retrieval recall rate; if a complete argument is cut across two chunks, vector retrieval may only recall half the content, causing the LLM to answer based on incomplete information.

50%
Unverified

The granularity of chunk splitting directly affects retrieval quality: segments that are too long introduce noise, while segments that are too short may lose context.

50%
Unverified

Document chunk sizes that are too large introduce noise, while sizes that are too small lose context, requiring adjustment of chunk size and overlap length based on document type.

50%
Unverified

Chunk size is typically recommended to be between 256 and 512 tokens, with a 10–15% overlap region preserved.

50%
Unverified

Fixed-size chunking may forcibly split a complete answer across different chunks, destroying semantic integrity.

50%
Unverified

文档分块中通常设置10%-20%的重叠率以确保跨块信息不丢失

50%

Source Articles