The requirements state:
All AI solution responses must have a confidence score ≥ 70%.
If the response confidence score is < 70%, the response must be improved by human input.
Members of the Consultant-Bookkeeper group must be able to process financial documents, which includes performing manual review when the AI confidence is below threshold.
Looking at the provided JSON:
"fields": {
"ReceiptType": {
"type": "string",
"valueString": "Itemized",
"confidence": 0.672
},
"MerchantName": {
"type": "string",
"valueString": "Tailwind",
"confidence": 0.913
}
}
ReceiptType.confidence = 0.672 → this is below 0.7.
MerchantName.confidence = 0.913 → this is above 0.7.
Therefore, the correct condition for triggering manual review is:
documentResults.fields..confidence < 0.7
Now, evaluating the options:
A. documentResults.docType == "prebuilt:receipt"
Always true for receipts, does not check confidence. Not correct.
B. documentResults.fields.*.confidence < 0.7
This is the correct general expression: trigger manual review whenever any field confidence is below 0.7.
C. documentResults.fields.ReceiptType.confidence > 0.7
This would bypass manual review when ReceiptType has high confidence. The requirement is to trigger review when confidence < 0.7, so this is the opposite.
D. documentResults.fields.MerchantName.confidence < 0.7
This only checks one field (MerchantName). In the JSON, MerchantName has confidence 0.913 (>0.7), so this condition would not trigger, but ReceiptType clearly needs review. Too narrow.
Correct Answer: B. documentResults.fields.*.confidence < 0.7
Azure AI Document Intelligence – Confidence scores
Human-in-the-loop for Document Intelligence
Microsoft References
Submit