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.

LUIS recognizer score condition with QnA Maker enabled doesn't work

See original GitHub issue

Describe the bug

When I use the “Luis & QnA Maker” template as it is and just insert my LUIS IDs and keys as well as my QnA Maker IDs and keys in the settings, it seems that QnA Maker is always winning. The prebuilt BuySurface LUIS intent is getting added to my LUIS app but if I ask “how can i buy a surface pro?” in the emulator, I get “Sorry, I did not find an answer.” which is coming from QnA Maker. The strange thing I found out, is that the emulator trace shows first the LUIS trace and then the QnA trace:

image

and the LUIS trace results in a 0.9x confidence score: image

within my Composer I have defined that the BuySurface score should be above 0.6: image

If I remove the condition on the LUIS recognizer however, I get back the correct result coming from LUIS…

Version

What version of the Composer are you using? Paste the build SHA found on the about page (/about).

test

Browser

What browser are you using?

  • Chrome
  • Safari
  • Firefox
  • Edge

OS

What operating system are you using?

  • macOS
  • Windows
  • Ubuntu

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
stephanbissercommented, Dec 5, 2019

I guess I now found the error (which is a big problem) I have an English OS but I have set the locale to German. Therefore the OS translates a dot (“.”) to a comma (“,”) instead of keeping the dot. So this intent condition will never be fulfilled as it is always 0,5 instead of 0.5

That’s a bit of a problem for everyone not using the English locale

1reaction
cwhittencommented, Jan 25, 2020

@stephanbisser this is a valid issue we’re discussing solutions to right now. Thanks for your patience

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - QnA Maker - Azure Cognitive Services
For information on migrating existing QnA Maker knowledge bases ... My Application Insights is enabled but why is it not working properly?
Read more >
node.js - builder.IntentDialog with luis and qna dialogs, should call ...
This code gives right results for a valid QNA and redirects to appropriate dialog based on luis intent. But I am facing 2...
Read more >
Azure Chatbot Services - All You Need to Know - Exadel
The Bot Framework SDK provides an OrchestratorRecognizer Class, which recognizes what Azure chatbot service should be used – LUIS or QnA Maker.
Read more >
Create your own personal assistant in Azure - Medium
The first step is to create a QnA Maker resource. ... Don't forget to run az login to connect to your account before....
Read more >
Build Conversation Bot Using Luis And QnA Maker With Azure ...
Step 1 - Create a VS Project using BotFramework V4 (Echo Bot) · Step 2 - Visual Studio Project Strucutre · Step 3...
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