Benchmark Seeded synthetic corpus, one rule isolated per metric; “naive” is plain text extraction. Method and reproduction →
Start in 30 seconds¶
Try it on the bundled sample ledger. Swap in your own document and fields when you are ready.
Unstructured in, structured out, nothing guessed¶
Most business knowledge lives in contracts, invoices, decks and ledgers. A parser that drops a hidden sheet, splits a table from its header or lets the model “fix” a number looks fine until a total is wrong. qaechi-parser has one goal: parse unstructured data accurately, and show the proof.
01
Read everything¶
Every sheet (hidden ones too), every slide shape, grouped text, chart values and speaker notes. Nothing is skipped silently; what was truncated is counted.
02
Keep the structure¶
Tables are never split from their header. Chunks respect a size budget without cutting a row, so the model sees data the way the document laid it out.
03
Prove every value¶
Each value carries quote, page and chunkId. Quotes are matched verbatim against the
source; misses are listed in quoteCheck.notInSource, never hidden.
A value, and where it came from¶
qaechi-parser proposes values with evidence. Your ERP, review queue or agent decides what to accept.
The Customer shall pay a monthly service fee of KRW 1,200,000 starting on 1 March 2026. The deposit is set out in Schedule B.
"fee": {
"value": 1200000,
"provenance": { "page": 3, "quote": "KRW 1,200,000" }
},
"start": {
"value": "2026-03-01",
"provenance": { "page": 3, "quote": "1 March 2026" }
},
"deposit": { "value": null, "provenance": null }
Point at a value, or at the highlighted text, to see its evidence. deposit has no evidence in this page, so it comes back null instead of a guess.
Where it fits¶
Documents where a wrong number costs money, and someone has to be able to check it.
-
Royalty statements
Publisher and society statements in PDF and XLSX: works, periods, gross and net amounts, each traced to its row, ready for settlement.
-
Invoices and ledgers
Line items and totals with the sign and the thousands separators read correctly; fixed layouts are read the same way every time.
-
Contracts
Parties, fees, dates and terms from free-form text, with the clause each value came from for legal review.
One pipeline, every document¶
Every document goes through the same pipeline, and every value it returns is checked against the source before it is saved.
- ReadThe right reader for the document type and format.
- LoadPDF, PPTX, XLSX, CSV, TXT and MD into text with page anchors.
- ChunkTable-safe chunks within the size budget.
- ExtractStructured output with a quote for every value.
- VerifyEach quote matched verbatim against the source.
- GradeGroundedness
yes/no/unknown, never optimistic.
What you can rely on¶
Defaults chosen for systems that post numbers, not for demos.
-
Provenance on every value
quote,pageandchunkIdfor each field and line item, ready for a review UI. -
Lossless loading
Hidden sheets, grouped shapes, charts and notes. A table never loses its header.
-
Consistent on recurring layouts
Documents you receive again and again are read the same way every time, at low cost.
-
Safe by default
Stub mode with no keys, loopback bind, constant-time token check, path traversal blocked.
How it compares¶
The same LLM can sit behind each approach. What changes is what you can prove afterwards.
| LLM prompt only | OCR + hand-written rules | qaechi-parser | |
|---|---|---|---|
| Evidence for each value | Usually none | Position, no quote check | Quote and page, checked verbatim |
| When unsure | Often guesses | Rule fails or misreads | null, routed to review |
| Tables, hidden sheets, slide notes | Depends on the text you pass | Per layout | Read losslessly, tables kept whole |
| Recurring layouts | Tokens on every file | A rule per layout | Same answer every time, low cost |
| Free-form documents | Yes | No | Yes, with an OpenAI-compatible model that supports tools |
Part of qaechi¶
qaechi-parser is the first module of qaechi, an open-source stack for turning documents into data that small teams can trust.
- parserEvidence-first extraction
- ragAnswers that cite the same evidence
- batchLarge document sets, retries and reports
- streamEvent streaming of extraction results
- securityAccess control and masking for sensitive fields