All jobs / AI engineer / Document AI

AI engineer interview question · 1–3 years

How do you chunk a long contract or manual that has headings, numbered clauses, tables and figures?

The strongest answer

Along the document’s own structure: sections and clauses as units, each carrying its heading path and page numbers as metadata, tables and lists never cut mid-way, and size-based splitting only inside sections that are too long

Why it works

Exactly — the author already divided the document for you. The heading path gives a chunk its context, and page numbers make citation possible later.

What a good answer covers

Answers that fall short

Who gets asked this

More Document AI questions