Ingestion, Chunking, and Metadata

Ingestion, Chunking, and Metadata

Key jargon

Term Plain-language meaning
Ingestion Converting source material into a normalized, indexable representation.
Chunk A bounded unit of content stored and retrieved as a candidate.
Overlap Repeated content across adjacent chunks used to preserve boundary context.
Metadata Structured attributes such as source, title, date, access rule, and section.

Key concepts

Concept map

flowchart LR
    A["Acquire source with provenance"] --> B["Parse and normalize"]
    B --> C["Chunk with metadata"]
    C --> D["Validate then index"]

Ingestion contract

Capture source URI/path, owner, version/date, content type, parser, checksum, access policy, sensitivity, language, and extraction warnings.

Chunk boundaries should follow information structure where possible: headings, paragraphs, tables, code blocks, or semantic units. Fixed-size overlap is a baseline, not a universal best practice.

Failure modes

Exercise

Chunk one Markdown guide three ways: fixed characters, paragraphs, and headings. Test five questions and compare whether each returned chunk contains a complete answer and provenance.

Checklist