All jobs / AI engineer / Document AI
AI engineer interview question · 3–5 years
In your equipment manuals the wiring diagrams and annotated screenshots carry the key information. The text-only pipeline skips them, and answers miss what is in the figures.
What are your options, and what do they cost?
The strongest answer
Extract each figure with its caption and page. At ingestion, have a vision model write a description that is indexed and linked to the image; pass the image itself at answer time when needed, and spot-check descriptions
Why it works
Right — description at ingestion makes figures findable, the linked image keeps the evidence, and you pay once per figure instead of on every query. Sampling catches invented details.
What a good answer covers
- Figures must become findable and stay viewable.
- Extract figure, caption and page together.
- Describe at ingestion; link the original.
- Sample-check descriptions for invented details.
Answers that fall short
- Close, but not the strongest: Run OCR over the figures so that any labels inside the diagrams become searchable text in the index
OCR recovers the labels but not what the diagram shows — which wire goes where. Useful as one signal, not the whole answer. - Weak: Rely on the captions; a well-written manual explains every figure in the surrounding text anyway
Sometimes true, but your bug report says these manuals do not. Captions are a good anchor, not a substitute. - Red flag: Leave the figures out and let the model fill the gap from its general knowledge of similar equipment
General knowledge of “similar equipment” is how someone gets wiring advice for the wrong machine. Answer from this manual, or say you cannot.
Who gets asked this
More Document AI questions
- A customer’s legal team asked your contract assistant whether a 300-page agreement had an auto-renewal…
- Your service extracts supplier, totals and bank details from invoices in hundreds of layouts. Finance wants…
- Two PDFs look identical on screen, but your parser gets clean text from one and nothing from the other. Why…
- Why is “just extract the text from the PDF” harder than it sounds?
- Your document Q&A is good on prose but wrong on figures that come from tables. In the extracted text, a table…
- How do you chunk a long contract or manual that has headings, numbered clauses, tables and figures?
- A legal team will only use your contract assistant if every answer points to a real page and clause. How do…