An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
Hello Yugesh Bandaru,
Greetings! Thanks for raising this question in Q&A forum.
This usually happens when the Azure Document Intelligence in Foundry Tools model is returning a low-confidence extraction or the model has learned inconsistent patterns from the training set. In your case, because the same PDF gives the correct result after reupload and the wrong value is not present in the document, it may also point to a service-side prediction inconsistency that needs log review.
- First, confirm whether you are using a custom extraction model and not only a classification model, because field values are extracted by the extraction model. The question on Junk data getting predicted from the custom model mentions classification, but the behavior described is field prediction.
- Check the confidence score and the bounding region/content returned for that field in the API response. If the confidence is low or the source span does not match the expected text, treat that value as unreliable in your app and ignore it.
- Re-test the same file using the same model ID and same API version each time. This helps rule out differences between studio testing and application calls.
- Review your training set for that field and add a few more representative invoice samples, especially files where that field appears in slightly different positions or formats. This usually reduces random false matches.
- If this continues, the next action should be with Microsoft support, because this looks intermittent and is not easily reproducible. Please collect the request ID/correlation ID, model ID, API version, and one affected sample file so the support team can check backend logs and confirm whether there is a service issue or model problem.
If this answer helps you kindly accept the answer which will help others who have similar questions
Best Regards,
Jerald Felix.