Closed srinath555 closed 1 year ago
Thanks @srinath555 for reporting this issue. I'm investigating.
Hi Team, Any update on the investigation ? Thank you.
More Insights in the attachment with the detailed logs. CLUComposerPackageObservations.docx
Thanks for reporting this issue @srinath555,
I'm able to reproduce this issue with ConversationLanguageUnderstanding package installed and configured in Composer.
It appears after switching Composer to default language that's not English, the intent I got was 29669416.0
.
Whereas in Composer's English default language the intent score was between range of 0-1.
Sharing the steps to reproduce:
# Screenshots:
Composer as Spanish default language:
Composer as English default language:
Language Studio Intent and Utterances:
@srinath555, discussing internally for the next steps.
@srinath555,
I believe this to be caused by an error in parsing the confidence score in the SDK due to the different ways that fractional values are represented in different cultures. I've opened a PR to fix this, pending sufficient testing and verification.
Hi Team,
I'm working on Composer bot to integrate with CLU as custom Recognizer, So I've added CLU as a custom recognizer to Bot Framework Composer Bot referencing this doc (https://github.com/microsoft/botframework-components/tree/main/packages/Recognizers/ConversationLanguageUnderstanding/dotnet).
The CLU project is trained 2 intents called “MainMenu” and “Cancel” in English, Spanish and French and when tested in CLU Language Studio Portal the Score range is between 0-1 (ex. 0.58299) for any utterance.
But when executed composer dialogs and user language is set to “ Spanish” or “French” for any utterance the recognizer should return the score in range of 0-1 but it is returning score like 58299387.0 instead of 0.58299387.
Below are example we tried for the utterance “end my flow“ in English and “terminar mi flujo” in Spanish.
Apart from English for all languages I'm facing this issue, only for English it is returning the score between 0 – 1 which is as expected.
Please help me to get it resolved, Thanks in advance!