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.

IntentRecognizer not working with LUIS WestEurope app

See original GitHub issue

Describe the bug I tried to use IntentRecognizer with a LUIS app, hosted in WestEurope (https://eu.luis.ai). I started with the samples and was quickly blocked with this IntentRecognizer, where when I send an audio (from audio file for example), the text is well transcribed but then nothing happened about recognition. I just got a canceled event after a long time:

Say something...

    Session started event.
RECOGNIZING: Text=tell
RECOGNIZING: Text=current
RECOGNIZING: Text=current weather
CANCELED: Reason=Error
CANCELED: ErrorCode=ConnectionFailure
CANCELED: ErrorDetails=WebSocket operation failed. Internal error: 3. Error details: WS_ERROR_UNDERLYING_IO_ERROR
CANCELED: Did you update the subscription info?

Recognition done.

I used exactly the same application on LUIS West US portal (https://www.luis.ai), changing LUIS Subscription key, LUIS App Id and LUIS region, and it is working well:

Say something...

    Session started event.
RECOGNIZING: Text=tell
RECOGNIZING: Text=current
RECOGNIZING: Text=current weather
RECOGNIZED: Text=Current weather.
    Intent Id: Weather.GetCondition.
    Language Understanding JSON: {
  "query": "current weather",
  "topScoringIntent": {
    "intent": "Weather.GetCondition",
    "score": 0.9494868
  },
  "entities": []
}.
NOMATCH: Speech could not be recognized.
NOMATCH: Speech could not be recognized.
CANCELED: Reason=EndOfStream

    Session stopped event.

Stop recognition.

Recognition done.

In both cases, I used subscription keys of type S0 (not free), apps are targeting English and Speech is enabled in LUIS settings.

Capture (1st call: West US, 2nd call: West Europe): image

To Reproduce Steps to reproduce the behavior:

  1. Create an app in LUIS WestEurope, which language will be English
  2. Add a pre-built domain intent for example, like Weather.GetCondition
  3. Add Speech capability in LUIS settings
  4. Train and publish.
  5. Use IntentRecognitionSamples in this repository

Expected behavior IntentRecognizer should return the same thing between WestUs and WestEurope

Version of the Cognitive Services Speech SDK Latest Microsoft.CognitiveServices.Speech NuGet package (1.2.0) for C#

Platform, Operationg System, and Programming Language

  • OS: Windows 10 (VM Parallels on Mac)
  • Hardware - x64

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nrobertcommented, Jan 17, 2019

Great, I will check tonight once I have a moment and give you a feedback

1reaction
mahilleb-msftcommented, Jan 14, 2019

This should be fixed from the service side this week. I’ll give an update once the fix is deployed. Thanks for your patience,

Mark

Read more comments on GitHub >

github_iconTop Results From Across the Web

tutorial-speech-intent-recognition not working?
Configured it correctly, i've already created luis app, added some intents and examples, trained and published. And i've commented out the model ...
Read more >
Publishing regions & endpoints - LUIS - Azure
LUIS authoring regions are supported by the LUIS portal. To publish a LUIS app to more than one region, you need at least...
Read more >
Microsoft Bot Framework Documentation PDF
LUIS A sample bot that uses LuisDialog to integrate with a LUIS.ai. application. Image Caption A sample bot that gets an image caption...
Read more >
LUIS (Language Understanding) - Cognitive Services - Microsoft
A machine learning-based service to build natural language into apps, bots, and IoT devices. Quickly create enterprise-ready, custom models that continuously ...
Read more >
Use the Speech and Language Understanding Services
In Visual Studio, right-click the speaking-clock-client folder and open an integrated terminal. · Additionally, if your system does not have a working microphone ......
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