Skip to content
Preptima

Ingestion & Chunking interview questions

Parsing real documents, chunk size and overlap as a retrieval decision, preserving structure and metadata, and handling tables and scans.

3 questions in RAG, Retrieval & Agents.

medium2

mediumConceptDesign

How do you choose a chunking strategy for a document corpus?

Chunk boundaries decide what can ever be retrieved, so you derive them from the questions the corpus must answer and from the document's own structure, then confirm the choice with retrieval recall on a gold set rather than by eye.

4 minmid, senior, staff
mediumConceptDesign

What metadata do you store alongside each chunk, and what is each field for?

Each chunk needs its source document and version, its section path, an anchor precise enough to open, effective and ingestion dates, and the permission set that governed the original — because filtering, citation, freshness and access control are all served from metadata rather than from the vector.

4 minmid, senior, staff

hard1

hardDesignScenario

Your corpus is scanned PDFs, spreadsheets and slide decks. How do you ingest it?

Route each format to a parser that respects its structure, treat OCR output as text with a confidence score rather than as truth, convert tables into rows that carry their headers, and record a section path and stable anchor per chunk so every retrieved passage can be cited back to a place in the original.

6 minmid, senior, staff