A document assistant retrieves five excerpts that all support the same answer. That can look like strong agreement—until you notice that four excerpts overlap within one document. Retrieval count is not the same as the number of independent sources.
Microsoft’s document-chunking guidance explains that overlapping text can preserve continuity around chunk boundaries. This can help retrieval, but the overlap deliberately duplicates some content. The system must keep enough provenance to recognise that relationship.
Make the duplication visible
Consider an invented policy document split into chunks covering paragraphs 1–5, 4–8 and 7–11. A sentence in paragraph 4 can appear in two retrieved chunks. Those two hits do not establish that two authors independently confirmed the statement.
Preserve a stable document identifier, version information and a location such as page, section or paragraph range. Chunk identifiers help the retrieval system; source identifiers help the reader understand where the evidence comes from.
Microsoft’s example RAG workflow carries file-path metadata through chunking and retrieval so answers can cite the source file. A production system may need additional version and location fields, depending on the documents.
Evaluate the answer’s evidence
In a test set, include questions whose best passages lie near chunk boundaries. Inspect whether the retrieved list contains overlapping neighbours and whether the final answer cites them as one document or falsely suggests several independent references.
Do not remove all overlap automatically. That can create a different problem by splitting context needed to understand a sentence. Instead, evaluate chunking, retrieval diversity and citation presentation together.
A useful review table has separate columns for retrieved chunk count and distinct source documents. Even distinct documents may repeat the same upstream claim, so independence may need further checking.
The practical goal is transparent evidence. An answer supported by one relevant source can be perfectly useful, provided the interface does not dress repeated fragments up as a chorus of independent confirmation.

