Retrain FormsRecognizer with same id

Christian Wellnitz 61 Reputation points
2021-06-18T09:29:58.653+00:00

Hi
Would it be possible to have an update model function in the api ?
The problem is when i train my model i get a model key.
Then i retrain that model adding new documents and get a new key.
I would like to have the same model key for the update training.
Or why is that functionality not possible ?

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

Accepted answer
  1. romungi-MSFT 41,841 Reputation points Microsoft Employee
    2021-06-18T12:22:07.857+00:00

    @Christian Wellnitz Re-training your project to create or update the existing model id is not possible with form recognizer due to the current design. A new model id is generated after every train event. You can however use a friendly name while training a model for model management. This option is available using the label tool or the API by adding the ModelName parameter in the body of the request.

    API:

    {
    "source": "<storage_uri>",
    "sourceFilter": {
    "prefix": "<form_prefix>",
    "includeSubFolders": false
    },
    "useLabelFile": false,
    "ModelName": "Rohit"
    }

    Label Tool:

    107113-image.png


0 additional answers

Sort by: Most helpful