Reputation: 25
I generated the Model Id using From Recognizer Labeling too (The docker image). I am trying to use this same model id in From Recognizer API.
https://{endpoint}/formrecognizer/v1.0-preview/custom/models/{id}
but it say 404 .
The below URL says we can use the generated model Id: https://learn.microsoft.com/en-us/azure/cognitive-services/form-recognizer/quickstarts/label-tool
Model ID - The ID of the model that was created and trained. Each training call creates a new model with its own ID. Copy this string to a secure location; you'll need it if you want to do prediction calls through the REST API.
Upvotes: 0
Views: 970
Reputation: 720
When generating models using the Form Recognizer sample labeling tool you are generating Form Recognizer v2.0 (preview) models. To get those models status or analyze forms with those models please use the Form Recognizer v2.0-preivew API https://aka.ms/form-recognizer/api .
Upvotes: 0
Reputation: 51
I have recently tried the form-recognizer API. Please use the below URL and test it in the Postman first.
https://{{endpoint}}/formrecognizer/v2.0-preview/custom/models/{{modelId}}
Replace endpoint and modelId with {{name of your form-recognizer-service}}.cognitiveservices.azure.com and your modelId respectively. Let me know if it works.
Upvotes: 2