I have trained a model using Azure Anguage Studio to perform conversational language understanding tasks by following this guide. When I try to send requests to the model using C# code in Unity, the system fails to find the published project. The error message is below:
RequestFailedException: Job task: 'xxxx' failed with validation errors: ['Cannot find published project: xxxx and deployment: xxxx under provided APIM subscription id.']Status: 400 (Bad Request)ErrorCode: InvalidParameterValue
I have been following this guide to create the text analytics client to access the language resource through an endpoint and API key. However, the system keeps reporting that it can't find the published project, and I suspect this could be due to an incorrect endpoint or a missing step in the model or resource deployment.
I retrieved the endpoint by going to the language resource and selecting "Keys and Endpoint" under "Resource Management" in the left panel. For model deployment, I deployed the model in Language Studio but haven't followed any steps to deploy or publish the resource in the Azure portal.
May I ask if I have been missing any steps or have gone to the wrong place to copy the endpoint? Any help would be much appreciated!