GlossaryDocument AI
Document AI
Document AI is the use of machine learning to read, understand and extract information from documents such as datasheets, invoices, drawings, certificates and forms. It combines text recognition with an understanding of layout, so it knows that a number is a supply voltage because of the table row and column it sits in.
How it works
A document AI pipeline usually has several steps. OCR, or a native text layer for digital files, gets the text and its position on the page. Layout analysis finds the structure: headings, paragraphs, tables, figures and form fields. A model then interprets the content, classifying the document type, extracting fields into a schema and answering questions about it.
Research on pretraining with text and layout together showed that adding each word's position on the page greatly improves understanding of forms, receipts and scanned documents. Visual question answering datasets for document images pushed models to answer questions that need reading tables, figures and layout, not only running text. Multimodal language models read document pages as images and text together, handling many tasks from instructions alone.
Extraction is the step that turns a page into fields, a task long studied as entity extraction or named entity recognition. The application defines a schema, such as part number, manufacturer, package and supply voltage with units, and a model fills it, often through structured output. Rules handle identifiers with fixed formats. Linking then maps each mention to a known record, such as a manufacturer name to the approved manufacturer list. Each value keeps a link to its location in the source document.
Document AI vs OCR
OCR converts images of text into text. Document AI understands what the text means in context: which table holds the electrical characteristics, which value is the maximum rather than the typical, which page holds the pinout. OCR is a step inside document AI.
Why it matters
Engineering runs on documents that were written for people: datasheets with complex tables, drawings with notes, supplier quotes in varied formats. Re-keying them is slow and error-prone. Document AI turns them into data. Tables, footnotes and conditions are where it fails, such as a value that applies only at one temperature, so checks against the source matter.
How to get it right
- Use the digital text layer when it exists, and OCR only for scans.
- Use layout-aware models for tables and forms.
- Extract into a defined schema with units and conditions.
- Link every extracted value to its page and location.
- Check extracted values against master data and formats.
- Send complex tables and low-confidence fields to review.
Document AI in robotics and drone hardware
A robot or drone BOM pulls parts from many suppliers, each with its own datasheet layout. Document AI reads those datasheets into structured part data, such as package, ratings, pinout and temperature range, and reads certificates and test reports into quality records. Linking each value to its page lets engineers check the source before a part is approved.