Document Processing Flow¶
Last verified: 2026-07-26 against dev at f0388abb.
This page explains how documents move from upload to extracted, reviewable output.
Flow¶
- User creates an assessment.
- User uploads one or more documents.
- Backend validates files and stores document metadata/content.
- Documents are grouped into batches.
- A batch run selects a processor.
- The processor identifies an extractor/schema pair.
- Backend queues extraction work for the relevant extractor app.
- The extractor processes the document and returns structured data.
- Backend stores extracted items and fields.
- Analyst reviews, corrects, validates, and exports output.
Schemas, Extractors, and Processors¶
- A schema defines the target structured fields.
- An extractor implements how to read a document and produce fields.
- A processor combines one schema and one extractor.
This separation lets the product run different extraction strategies against the same or similar document sets.
Smart Chunking¶
For large ADI documents, smart chunking can split layout content into smaller page groups before LLM extraction. The router maps schema objects to likely page groups, then extraction runs against those groups and merges results.
See Smart chunking.
Review Loop¶
Corrections and validation let analysts improve final structured outputs without treating the raw extraction as automatically authoritative.