Document AI
Turning PDFs, scans and Office files into clean text and validated structured data.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkOverview
A lot of useful information is stuck in documents: invoices, contracts, reports, forms, slide decks. Document AI is the work of getting it out reliably. The first step is parsing, which turns a file into text with its structure (headings, tables, reading order) intact, using tools such as Docling, MarkItDown or a vision model for scans. The second is extraction, where a model fills a schema with the fields you need.
Quality depends on the parsing more than people expect: a table flattened into a run of numbers will produce confident wrong answers downstream. Good pipelines keep page references, validate every field against a schema and business rules, route low-confidence documents to a person, and are tested on a set of real documents with known answers.
What you will practise
- Parse a mixed batch of PDFs and compare the output of two parsers
- Extract fields into a schema and validate them before saving
- Keep page and region references so a reviewer can check each value
- Route documents the model is unsure about to human review
- Build a labelled test set of real documents and track extraction accuracy
Learning paths
- AI for data analysts
An AI course for data analysts: clean spreadsheets, profile data with skills, go from SQL to a dashboard, extract PDF tables and catch invented numbers.
Workflow recipes
- Review a contract with AI before it goes to legal
Write a short playbook, check clause by clause, quote every red flag from the text, then brief your lawyer.
- Turn a document into a slide deck with AI
Make a presentation with AI from a report: outline with full-sentence headlines, one message per slide, build in Claude or PowerPoint, then check every number.
- Summarise a long report with AI into a one-page brief
Map the PDF with page numbers, draft a one-page brief for one reader, check every page reference and number, and list gaps.
Tools for this skill
Docling
Converts PDFs and office documents into structured output for LLM pipelines.
MarkItDown
Microsoft's Python utility that converts Office files and PDFs to Markdown for LLMs.
Unstructured
Parses PDFs, scans, Office files and HTML into clean chunks for RAG.
Key terms
Words you will meet while learning this, defined in the glossary.
- Document parsing
Converting PDFs, Office files, scans and web pages into clean text with structure, such as headings and tables, before indexing.
- Multimodal model
A model that accepts or produces more than one kind of data, such as text, images, audio or video, within the same request.
- Structured outputs
Constraining or validating model output so it matches a schema, usually JSON Schema, and can be parsed reliably by your code.
- Vision-language model
A model that takes images as well as text as input and answers in text, used for reading screenshots, charts, documents and photos.