Academy › Projects › Project 3
Project 3: Document AI Pipeline
Problem: Indian SMBs manually key in invoice and GST details. Extract fields automatically with confidence scores and human review. (This maps to DocumentsAI.)
Architecture:
Upload (UI/email) → Blob → Event Grid → Azure Function
→ OCR (Document Intelligence) → LLM extraction with JSON schema (structured output)
→ Validator (GSTIN regex, totals = sum of lines, dates) → Confidence score
→ if low confidence → Human Review UI → corrected data saved as training/eval data
→ Export: Excel / Tally / ERP API
Step by step:
- Gather 20 sample invoices (create fakes; never use real customer data).
- Run OCR to get the text plus layout.
- Define a Pydantic schema: vendor, GSTIN, invoice_no, date, line_items, tax, total.
Checking your access…