Custom API and Custom Supervised containers, unable to do analyze request for any document.

Raghvendra Dhore 1 Reputation point
2022-08-12T02:37:17.483+00:00

Hi,

I am running the custom container from this link on my local, the containers are running and able to access the API, I was able to train the model and can see the results in model details. However when calling the analyze request for one of the pdf in the shared folder, there is no response from the backend. I tried to check the file then realized there is an error in one of the output.json file as follows:

{  
        "status": "failed",  
        "createdDateTime": "2022-08-11T05:02:07Z",  
        "lastUpdatedDateTime": "2022-08-11T05:02:07Z",  
        "analyzeResult": {  
            "version": "2.1.0",  
            "errors": [  
                {  
                    "code": "3014",  
                    "message": "Generic error during prediction."  
                }  
            ]  
        }  
    }  

I used /formrecognizer/{apiVersion}/custom/models API to train the model from Postman and the files manually copied in shared folder.
I am using /formrecognizer/{apiVersion}/custom/models/{modelId}/analyze API to start Analyze and the files are again in shared folder, however I am not getting any result back but the API is success with 202.

Please let me know what is wrong.

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,405 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,415 questions
{count} votes