← All docs

Reference

Confidence and review

Each field has a confidence from 0 to 1. Anything under your threshold comes back in review, with the page and the box it was read from.

A confidence is a calibrated probability, not a score. On the held-out set, fields reported at 0.9 are right about nine times in ten; the certificate for each revision shows the curve.

Choosing a threshold

Start at 0.9 and look at what lands in review for a week. Raise it for fields that cost money when wrong, such as totals and bank details; lower it for fields that don’t.

Evidence

Every field in review carries the page number and the box it was read from, in pixels of that page, so a person can check it without opening the whole file.

Response · a field in review

{
  "review": ["vat_id"],
  "evidence": {
    "vat_id": { "page": 1, "box": [412, 188, 596, 210] }
  },
  "confidence": { "vat_id": 0.861 }
}