Prompt
How do I send low-confidence document fields to human review?
Latest observation
Oct 11, 2026
OpenAI APIWeb search: off
A common pattern is:
- Extract fields from the document
- Check each field’s confidence score
- Route low-confidence fields or entire documents to a human review queue
- Approve/correct them
- Feed corrections back into your system
Typical workflow
1) Define a confidence threshold
For example:
>= 0.90→ auto-accept0.70–0.89→ send to review< 0.70→ reject or escalate
You can apply the threshold:
- Per field: only the uncertain field goes to review
- Per document: if any critical field is low-confidence, the whole document is reviewed
2) Flag the fields/documents
Store the extraction result with metadata like:
- field name
- extracted value
- confidence score
- source page/bounding box
- review status
Example JSON:
{
"invoice_number": {
"value": "INV-1029",
"confidence": 0.98,
"status": "accepted"
},
"total_amount": {
"value": "$1,284.00",
"confidence": 0.76,
"status": "needs_review"
}
}
3) Send to a review queue/UI
You can use:
- an internal review dashboard
- task queue systems like SQS/RabbitMQ/Celery
- case management tools
- human-in-the-loop platforms
The reviewer should see:
- the original document
- the extracted value
- the confidence score
- the field location
- a way to correct it
4) Capture the human correction
When a reviewer edits a field:
- overwrite or version the value
- store the corrected value
- keep the original extracted value for auditing
- mark the item as reviewed
5) Use the corrected data
Use human-approved data downstream and optionally:
- update model thresholds
- retrain/improve extraction
- analyze common failure cases
Example logic
THRESHOLD = 0.85
for field_name, field in extracted_fields.items():
if field["confidence"] < THRESHOLD:
field["status"] = "needs_review"
else:
field["status"] = "accepted"
Good practices
- Use different thresholds for different fields
- Require review for critical fields even if confidence is moderate
- Keep an audit trail of original vs corrected values
- Batch low-confidence cases for efficiency
- Measure reviewer agreement and correction rates
If you want, I can also show:
- a code example
- a workflow diagram
- or how to do this with a specific platform like AWS Textract, Azure Form Recognizer, Google Document AI, or a custom OCR pipeline.