Document Ingestion Pipelines
Turn a case's PDFs, scans, forms and emails into verified, structured, privacy-safe data your agents and search can trust.
2 modules · 8 lessons~16 hoursUpdated 2026-10-30Certificate included
- Lessons8
- Quizzes8
- Sources47
- Of study~16h
About this course
About this course
Every document agent depends on what ingest gives it: the text of a decades-old scanned contract, the entries in an official record, the answers on a handwritten form. This course covers the ingest layer end to end: what a real case file contains, how text-layer extraction, OCR, layout models and vision LLMs compare (and how to read their benchmarks), the hard content (tables, plans, handwriting), schema-validated extraction with evidence quotes, durable pipelines with fan-out, idempotency and poison-document handling, re-ingestion and batch backfills, PII redaction under data-protection law such as GDPR, and the evals that tell you whether any of it works. Code is Python; exercises run on your Claude subscription.
About the running example
The examples follow a fictional property-law (conveyancing) firm in England and Wales: a property purchase file with scanned leases, title registers and plans, and handwritten property forms. It's a case study, chosen because its documents are long, structured and high-stakes. You don't need a legal background, and the same patterns apply to contracts, insurance claims, invoices, support tickets or patient records. In the lessons, a matter is one client's case and a solicitor is the lawyer who signs work off.
What you'll learn.
- 1Inventory a case's documents by type and origin, and route each page to text-layer extraction, OCR, a layout model or a vision LLM on measured cost and accuracy
- 2Read document-parsing benchmarks critically and build a small benchmark sliced to your own documents
- 3Extract schema-validated records with verified evidence quotes and page references, and handle tables, plans and handwriting with explicit review routes
- 4Design a durable ingest pipeline with per-page fan-out, content-hash idempotency keys, retry classes, poison-document quarantine and progress tracking
- 5Re-ingest incrementally by content hash and pipeline version, and plan batch backfills
- 6Detect and pseudonymise personal data for secondary uses under data-protection law such as GDPR, and measure field-level accuracy and coverage before handing documents to retrieval
2 modules, 8 lessons.
9h 45m of lessons
Module 1 · 4 lessons · 4h 50m
Reading real-world documents
From a bundle of PDFs, scans and emails to verified structured records: what the documents are, how each parsing approach works and fails, the hard content, and extraction with evidence.
- 1What a real case file containsThe documents a real case file actually contains, the properties of each that decide how it must be ingested, and the record an ingest pipeline should produce for every page.1h7-question quiz6 sources
- 2Parsing: text layers to vision modelsHow text-layer extraction, OCR, layout-model pipelines and vision-language models each turn a page into text, how their failures differ, what the benchmarks do and don't tell you, and how to route each page to the cheapest parser that is accurate enough.1h 20m7-question quiz7 sources
- 3Tables, plans and handwritingThe three kinds of content every parser finds hardest in a real case file, how to represent each faithfully, and the checks and review routes that catch what parsers get wrong.1h 15m6-question quiz6 sources
- 4Structured extraction at scaleTurning parsed pages into versioned, schema-validated records per document type, with evidence quotes tied to pages, normalised values, cross-document checks and a cost you can predict across thousands of cases.1h 15m7-question quiz6 sources
Module 2 · 4 lessons · 4h 55m
Running ingest in production
The pipeline around the models: durable fan-out, idempotency and poison documents, re-ingestion and backfills, personal data, and the evals and contract that hand documents to retrieval.
- 5Durable ingest pipelinesThe architecture around the models for long-running ingest jobs - units of work and fan-out per page and document, content-derived idempotency keys, retry classes, poison-document quarantine and progress tracking that stays true under retries.1h 15m7-question quiz5 sources
- 6Re-ingestion, versioning and backfillsHow to change parsers, prompts, schemas and models without re-running everything or losing history - content hashing, version keys per stage, early cutoff, document lineage, diff-before-promote, and bulk backfills through batch APIs.1h 10m7-question quiz5 sources
- 7PII detection and redactionWhere personal data flows in an ingest pipeline, which uses need it and which don't, how to detect it with rules, NER and LLMs, how to pseudonymise consistently and redact PDFs properly, and how to measure recall under data-protection law such as GDPR.1h 15m7-question quiz7 sources
- 8Ingest evals and the hand-offHow to know whether ingest works - page-level unit tests, field-level accuracy, precision, recall, hallucination rate and coverage on a stratified gold set, online health checks - and the contract that hands documents to retrieval.1h 15m7-question quiz5 sources
Ingest a case file end to end
Build a durable, idempotent ingest pipeline that turns a synthetic contract pack into verified, pseudonymisable records with page-level evidence, survives crashes and poison documents, re-ingests incrementally, and proves its quality with a stratified eval before handing documents to retrieval.
Finish it. Get certified.
Complete every lesson of Document Ingestion Pipelines and you get a certificate with your name on it. Free, like the course.
- A public page with a certificate ID anyone can check
- Download it as a PDF
- Add it to LinkedIn in one click
Document Ingestion Pipelines, answered.
Is Document Ingestion Pipelines free?
Yes, for everyone: all 8 lessons, 8 quizzes, the capstone brief and the certificate are free, with no card and no trial. The hands-on exercises need the tools listed under Prerequisites.
Do I get a certificate?
Yes. Finish every lesson of Document Ingestion Pipelines and you get a certificate with your name and a certificate ID, on a public page anyone can check. Finishing every course in a learning path earns the path certificate too. You can download each one as a PDF and add it to LinkedIn. They're certificates of completion from the Coders In Hoods AI Academy, not an accredited qualification.
How long does Document Ingestion Pipelines take?
About 16 hours: 2 modules and 8 lessons, at your own pace. Your progress is saved to your account, on every device.
Which roles is it for?
It's on the Forward Deployed Engineer roadmap: the courses those jobs ask for, in the order to take them.
What do I need before I start?
Comfortable writing Python, and familiar with queues, databases and distributed-systems basics. Agent Foundations, especially the lesson on structured outputs and grounding. Helpful: the durable execution and queues lessons in Infrastructure for Agents.
