LUIS recognizer score condition with QnA Maker enabled doesn't work
See original GitHub issueDescribe 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:
and the LUIS trace results in a 0.9x confidence score:
within my Composer I have defined that the BuySurface score should be above 0.6:
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:
- Created 4 years ago
- Reactions:1
- Comments:21 (11 by maintainers)
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
@stephanbisser this is a valid issue we’re discussing solutions to right now. Thanks for your patience