Document intelligence & RAG · Back office · Finance · Knowledge bases

Documents in Answers out

We build end-to-end document intelligence for scanned invoices, contracts, forms and PDFs in any language or script, mixed on one page: layout analysis and OCR, agent-ready parsing of tables and reading order, schema-valid extraction with a targeted human review queue, and chunked, embedded, hybrid-indexed RAG that LLM agents can search and cite.

Problem
Invoices, contracts and manuals in any language or script: too messy for an LLM to read, too many to type in by hand.
Proven

OCR errors

3× fewer

6% → 2% · accuracy 94% → 98%

Latency

−40%

per page, in production

Multilingual OCR in production: accuracy 94% → 98%, latency ~40% lower.

HD-0004127.pdf
page 1 / 1Any languageUploaded

HÓA ĐƠN GIÁ TRỊ GIA TĂNG

請求書 · VAT invoice

Số: 0004127

Đơn vị bán: Công ty TNHH Minh An

Mã số thuế: 0312 457 889

Ngày 18 tháng 11 năm 2026

Hàng hóaSLThành tiền
Thùng carton 5 lớp1,20021,600,000
Băng keo OPP 100y4006,400,000
Pallet nhựa 12006013,200,000
Phí vận chuyển13,818,519

Thuế GTGT 8%: 3,601,481

Tổng cộng: 48,620,000 ₫

(Ký, ghi rõ họ tên) — 署名

Extracted

schema: vat_invoice.v3

Invoice no.
Seller
Tax code
Issue date
VAT 8%
Total
6 fields · 1 low-confidence field → a person checks itApprove

Architecture

Built for production Not a slide deck

What you get

Concrete outputs Measured on your data

01

Schema-valid JSON

Layout analysis, OCR and VLM extraction validated against your target schema with deterministic rules (totals, tax, dates) and an LLM judge.

02

Human review only where unsure

Pages that pass schema checks flow straight through; uncertain fields route to a Label Studio queue and Next.js review app instead of slowing down the whole batch.

03

RAG-ready index

Extracted documents are chunked and indexed into a hybrid vector index for cited search and Q&A, backed by GPU inference, Redis, and PostgreSQL.

How we deliver

Measured from day one Shipped when it holds

  1. 01

    Define success

    We agree the use case, constraints and success metric, then freeze a test set before development.

  2. 02

    Establish the baseline

    We check data quality, permissions and coverage, then measure a simple baseline on the frozen set.

  3. 03

    Build and evaluate

    We develop models or agents and score each candidate on the frozen set, including failure cases.

  4. 04

    Harden the system

    We test serving, tracing, latency and cost under expected load, with quantisation where it helps.

  5. 05

    Deploy with controls

    We deploy with monitoring, drift checks, a retraining workflow and a tested rollback path.

  6. 06

    Hand over or run

    We walk through the system for handover, or continue operating it against the same benchmark.

FAQ

Common questions Direct answers

What languages and document formats does the Document AI pipeline handle?
The pipeline processes scanned invoices, forms, and PDFs ingested from S3, MinIO, or a FastAPI upload API, with production OCR that handles any language or script, including mixed-language layouts.
How do you prevent noisy scans or OCR errors from reaching downstream systems?
Every extracted record runs through deterministic validation rules—checking fields like totals, tax, and dates—alongside an LLM judge. Only records that fail validation or fall below confidence thresholds are sent to a Label Studio human review queue.
How is Document AI deployed and served in production?
Layout, OCR, and extraction models run on GPU inference infrastructure, orchestrated with Redis and PostgreSQL, with optional vector indexing and a Next.js review interface.
How do we start a Document AI engagement with Untern?
We start with a week on your real documents, agree on one metric that defines working, and freeze a test set before training or tuning anything. You can begin with a Proof Sprint for a runnable prototype and clear go/no-go numbers before committing to full production.

Have a problem AI should solve?

Tell us what the data looks like and what “working” would mean for you. You get a first plan back, not a sales deck.