Blueprintscore
Blueprint: document processing pipeline
Ingest → classify → parse → extract to schema → validate → human review for low confidence → system of record.
What it is and why it exists
Invoices, claims, KYC documents, contracts: an async pipeline that classifies each document, extracts fields to a schema with an LLM or vision model, validates them (formats, totals, cross-field rules, lookups), routes low-confidence or failing cases to review, and writes results to the downstream system.
Quick prototype
Send the PDF to a model, ask for JSON.
In production, at scale
Queue-based pipeline with idempotent stages, per-field confidence, validation rules, a review UI, audit trail, accuracy per field on a labelled set, throughput and cost per document.
Vendors and tools
| Reducto / Unstructured / LlamaParse | Parsing |
|---|---|
| Azure Document Intelligence / Google Document AI | Forms and layout |
| Instructor / structured outputs | Schema extraction |
On AWS: Textract + Bedrock (or Bedrock Data Automation), Step Functions orchestration, A2I (Augmented AI) for human review.
How it fails
- Totals that don’t add up accepted because the JSON was valid
- Reprocessing the same document twice after a retry
What the interviewer asks next
How do you decide what goes to human review?
Per-field confidence and validation results: any failed rule or low-confidence critical field (amounts, IDs) goes to review; track how often reviewers change values to tune thresholds.