Azure form recognizer compose model including prebuilt model

Vijay Mane 1 Reputation point
2022-09-10T20:15:21.183+00:00

Hello,

I would like to create a compose model which include some some of my custom models as well as prebuilt-invoice model using _modelAdministrationClient.ComposeModelAsync(....) , however it throw below error to me.

Content:
{
"error": {
"code": "InvalidRequest",
"message": "Invalid request.",
"innererror": {
"code": "ModelComposeError",
"message": "Could not compose the model: Requested model \u0027prebuilt-invoice\u0027 does not exist."
}
}
}

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

1 answer

Sort by: Most helpful
  1. romungi-MSFT 44,661 Reputation points Microsoft Employee
    2022-09-12T10:45:52.7+00:00

    @Vijay Mane Prebuilt models cannot be added to a composed model along with custom models. Composed models can only contain custom models created under your resource where the API will assign a new single model id. For additional limitations of compose model, please see the limits page for details. Thanks!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.


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.