Testing a custom model on https://formrecognizer.appliedai.azure.com/studio produces a different response when called from code DocumentAnalysisClient.AnalyzeDocument

Ian Bruwer 30 Reputation points
2023-10-23T23:41:08.93+00:00

After having trained my Custom Extract Models (Neural and Template), I tested to ensure that I'm getting a response for my table fields.

User's image

However, when calling DocumentAnalysisClient.AnalyzeDocument the exact same document return an empty field.

User's image

In fact none of my table fields are being populated. Not for my NeuralModels, nor for my TemplateModels.

I've also confirmed that I'm in a supported region for this functionality e.g. West Europe

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,781 questions
{count} votes

Accepted answer
  1. dupammi 8,540 Reputation points Microsoft Vendor
    2023-10-26T02:47:28.4733333+00:00

    Hi @Ian Bruwer ,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Question: Testing a custom model on https://formrecognizer.appliedai.azure.com/studio produces a different response(NULLS) when called from code DocumentAnalysisClient.AnalyzeDocument using .NET SDK

    Solution: Workaround is to call the REST API directly in the code. Also suggested to raise a support ticket for .NET SDK issue.

    If I missed anything please let me know and I'd be happy to add it to my answer.

    I hope this helps!

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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