AnalyzeResults api v3.0 throwing error for compose model trained on v2.1

Sharma, Manish 21 Reputation points
2022-03-31T14:41:48.71+00:00

Hi,
I am getting this error below only while passing compose model id trained on v2.1 in form recognizer (anlayze result api v3.0) but same api is working fine for model_ids trained on v2.1.

{
"status": "failed",
"createdDateTime": "2022-03-31T10:10:33Z",
"lastUpdatedDateTime": "2022-03-31T10:10:33Z",
"error": {
"code": "InternalServerError",
"message": "An unexpected error occurred.",
"details": [
{
"code": "InternalServerError",
"message": "An unexpected error occurred."
}
]
}
}

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

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,166 Reputation points
    2022-04-01T14:12:22.43+00:00

    Hi, thanks for reaching out. It looks like you're trying to compose a model trained with a prior version of the API. This is not supported because there are breaking changes from v2.1 and v3.0. Please review the following document for more details.

    • To compose a model trained with a prior version of the API (v2.1 or earlier), train a model with the v3.0 API using the same labeled dataset. That addition will ensure that the v2.1 model can be composed with other models.
    • Models composed with v2.1 of the API will continue to be supported, requiring no updates.
    • The limit for maximum number of custom models that can be composed is 100.

    ----------

    --please don't forget to Accept Answer if the reply is helpful. Thanks.--

    0 comments No comments

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.