value and confidence_score. The confidence_score is a float between 0.0 and 1.0 representing the model’s certainty that the extracted value is correct. A score of 1.0 means the model is fully confident; a score close to 0.0 means the extraction is unreliable.
Understanding and acting on confidence scores is how you build automated decision logic on top of Atlas — routing high-confidence extractions to straight-through processing while flagging borderline cases for human review.
Field-level confidence scores
Every extracted field follows this structure:value is always present when extraction succeeds. The confidence_score reflects how certain the model is about that specific value — it is not a measure of document authenticity.
Aadhaar example
Using confidence scores in your workflow
A common pattern is to define three routing tiers based on score ranges. The right thresholds for your use case depend on your document quality distribution, risk tolerance, and the specific field — tune them against your production data rather than using fixed values.The thresholds below are starting points. You should measure extraction accuracy on a representative sample of your actual documents and adjust accordingly.
You can apply different thresholds per field. For example, you might require
> 0.95 for pan_number (a structured identifier where errors are high-risk) but accept > 0.80 for customer_address (a free-text field where minor OCR errors are tolerable).
Cross-check similarity scores
When Atlas compares matching fields across documents (for example,dealer_address on a DELIVERY_ORDER versus the same field on an INVOICE), it returns a similarity_score in each cross-check entry. This score uses a 0–100 integer scale, not the 0.0–1.0 scale used for field-level confidence.
similarity_score of 90 means the two field values are highly similar (minor differences such as abbreviations or missing words). A score of 60 indicates a partial match — the core address components are present but the values are not identical.
Cross-check routing guidance
Null values and extraction failures
Some fields returnnull for value when extraction fails for a specific field (for example, a field is physically absent from the document, or image quality prevents reading it). In these cases, Atlas also populates error_code and error_reason at the document level.
error_code is non-empty, treat the document as requiring manual review regardless of the values present in data.
Best practices
- Do not hardcode thresholds. Optimal thresholds vary by document type, scan quality, and the population of documents your customers submit. Measure recall and precision on a labelled sample set.
- Distinguish field-level and document-level failures. A document can have a valid
document_typeand several high-confidence fields alongside a few null or low-confidence ones. Process the reliable fields and route only the problematic ones to review. - Separate similarity scores from confidence scores. The cross-check
similarity_score(0–100) measures agreement between two documents; the fieldconfidence_score(0.0–1.0) measures extraction certainty within a single document. Do not compare the two scales directly. - Log scores alongside decisions. Storing the raw scores with each underwriting decision lets you analyse threshold performance over time and retune without re-processing historical applications.

