question

SharmaManish-4781 avatar image
0 Votes"
SharmaManish-4781 asked ramr-msft answered

Training Model without label with Form Recognizer v3.0 build model api

API:- https://{endpoint}/formrecognizer/documentModels:build?api-version=2022-01-30-preview
Payload :-
{
"azureBlobSource": {
"containerUrl": "sas uri",
"prefix": "foldername/"
},
"description": "description",
"buildMode": "template",
"modelId": "{uuid}"
}

Hi,

I used the above v3.0 api and payload to train a model without labels but i am getting this error message
"Could not build the model: Can't find any OCR files for training." from the api in header["operation-location"] key

It is working with v2.1 api.

azure-form-recognizer
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ramr-msft avatar image
0 Votes"
ramr-msft answered

@SharmaManish-4781 Thanks for the question. Please follow the below document for Custom neural models that are only available in the v3 API.
https://docs.microsoft.com/en-in/azure/applied-ai-services/form-recognizer/concept-custom-neural#training-a-model

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.