Custom Classification - Inconsistent results between Doc Studio "Test Model" and API

Jack Halpern 20 Reputation points
2025-12-02T22:14:40.0166667+00:00

We've been successfully using the Doc Intelligence API to Classify and then Extract fields from documents for the last few months. However, occasionally we have encountered instances where our Custom Classifier fails to correctly classify a document or pages within a multi-page document. While that is not unusual or unexpected when we investigate further, and run the SAME documents through the SAME Custom Classifier using the Doc Studio we get DIFFERENT results - the studio is able to successfully classify while the API fails. It's not as if it's random - if we run multiple tests the Studio always gets the correct result, and the API always gets the same invalid result.

Is this a known issue?

Here's an example. The first screenshot is using the studio and the second screenshot from our API log with both the same document and same classifier. Note the difference between the results. The Studio correctly identifies this as multi-page "checks" while the API result is different.

User's image

User's image

Please advise. Thanks.

Jack

Azure AI Document Intelligence
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.