JSON input when deploying in Azure ML studio

#26
by Shivesh15 - opened

Hi everyone, I have recently deployed this model in Azure via the ML studio. When trying to test the endpoint using the JSON provided by Azure I get an internal server error. I suspect the format of the JSON is incorrect. Could someone who has deployed via Azure assist me?

Here is the JSON string provided by Azure to test:
{
"inputs": "I have a problem with my iphone that needs to be resolved asap!!",
"candidate_labels": "urgent, not urgent, phone, tablet, computer"
}

Is there anything wrong with the above? Thanks in advance :)

cc @philschmid do you know who could help out here?

Did you check the logs of your deployment? you should find more detail there.

Here's a working example from Azure:

{
"inputs": "I have a problem with my iphone that needs to be resolved asap!!",
"parameters": {
"candidate_labels": "urgent, not urgent, phone, tablet, computer"
}
}

Sign up or log in to comment