URL to use with LUIS container
See original GitHub issueI am using the LUIS container in an IoT Edge deployment and am attempting to call the LUIS prediction endpoint from another container. The LUIS container is listening on port 5001, and the URL I’m using is this:
var config = SpeechConfig.FromEndpoint(new Uri($"ws://192.168.1.91:5001/luis/prediction/v3.0/apps/{luisAppId}/slots/production/predict"));
The error I’m getting is this: WebSocket Upgrade failed with HTTP status code: 404 SessionId: 3cfe2509ef4e49919e594abf639ccfeb
I see the request in the LUIS container logs and the message says: “The request path /luis/<blah blah>/predict” does not match a supported file type".
What does this mean? What am I missing?
Issue Analytics
- State:
- Created 4 years ago
- Comments:13
Top Results From Across the Web
Install and run Docker containers for LUIS - Azure AI services
Use the LUIS container to load your trained or published app, and gain access to its predictions on-premises.
Read more >azure cognitive services - LUIS URL for container
I am trying to use the LUIS container and am getting conflicting information. I have a test application that uses the LUIS cloud...
Read more >Language Understanding in Azure With LUIS
One of Microsoft Azure's AI/ML offerings is a service called Language Understanding or LUIS. In this tutorial, I will give an overview of ......
Read more >Use the Azure LUIS Connector in your OutSystems ...
Use the Azure LUIS Connector in your OutSystems applications ... the Base URL is https://westus.api.cognitive.microsoft.com/luis/v2.0/apps . Put the Base ...
Read more >Getting started with LUIS Containers - IT Bytes
My guide to get up an running with LUIS Containers (for Windows 10) · You can then use your REST client of choice....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes - I implemented the REST call and built the request URL myself and have a working scenario now. It’s not the most elegant solution, but it demos the concepts at least.
Thanks for the help.
Is there any proper code sample to have a LUIS client and request on container ? For now, you have to rebuild all the implementation if you use the container. Url built by the SDK http://localhost:5000/luis/prediction/v3.0/apps/{appId}/slots/PRODUCTION/predict?verbose=true&show-all-intents=true&log=true
Proper base URL use in container http://localhost:5010/luis/v3.0/apps/{appId}/slots/{slotName}/predict