Files
SuperBizAgent-java/knowledge_base/rag-eval/rag/rag-chunk-context-reconstruction.md

1.1 KiB

title, keywords, summary, category, source, breadcrumb, kb_scope, covers, when_to_retrieve
title keywords summary category source breadcrumb kb_scope covers when_to_retrieve
RAG Chunk Context Reconstruction
split into multiple chunks
retrieval context
neighbor chunk
same section
breadcrumb context
Preserve context when long RAG sections are split into multiple retrievable chunks. rag rag-chunk-context-reconstruction RAG > Chunking > Context Reconstruction rag-eval
rag chunking
context packing
breadcrumbs
Use when a retrieval question asks how to preserve context across split chunks.

RAG

Chunking

Context Reconstruction

When a long section is split into multiple chunks, retrieval should keep enough local structure for the answer.

Recommended behavior:

  1. Store the breadcrumb with every chunk.
  2. Preserve the same section identity across adjacent chunks.
  3. During context packing, include a neighbor chunk when the selected chunk depends on nearby setup or definitions.
  4. Prefer concise evidence blocks that show the breadcrumb and the relevant content span.

The key concepts are neighbor chunk, same section, and breadcrumb.