question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

URL to use with LUIS container

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
dtjensencommented, Nov 20, 2019

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.

0reactions
cedroxcommented, Dec 24, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found