A system that answers from company documents rarely reads a whole file for each question. It stores the documents as passages, retrieves the few that match the question and passes those to the model.
How the documents are split affects the answers. A passage cut in the middle of a table or a rule can lose its meaning, and the system may then answer from half of a policy.
- How you’ll hear it
- “After the supplier changed the chunking to follow the headings, the assistant stopped mixing up two leave policies.”
- Often confused with
- A token, which is a small unit of text that a model processes. A chunk is a whole passage, often several paragraphs long.
- A question to ask
- How are long documents split, and are tables and lists kept whole?
- Related terms
- Read more
The example is fictional. This is general guidance, not advice for your situation.