Chunking
Splitting documents into retrievable passages
Dividing information into smaller pieces that can be retrieved separately.
Chunking determines which parts of a document a search system can retrieve individually. Very small chunks may lose the conditions that make an answer correct; very large ones can bring too much irrelevant text. Prefer meaningful boundaries, such as topics or paragraphs, and retain useful metadata. In an installation manual, you do not want to separate an instruction from its model number or an associated warning. Test real questions to see whether the necessary information is retrieved together. There is no universal chunk size that works best for every dataset.