Closed fidelitymobileorg closed 2 years ago
Hi @fidelitymobileorg, it appears from the screenshot that the bot is returning a ChitChat knowledge base response to your question. If you have not added custom QnA pairs, I would say this is the expected behavior, because the built-in knowledge bases in the template do not handle that query by default. You can see here where the chitchat model is returning the "Great, thanks" answer.
If you have created a custom knowledge base which should be able to handle the "What day is today?" query, have you run the update cognitive models script to ensure your dispatch model is updated with your custom QnA pairs?
Hi @lauren-mills ,
We hope you are well and healthy!
Lauren, the screenshot demonstrates a failure return on the "MainDialog.cs" file event, as there are two knowledge bases, and this message "What day is today?" has a couple of replies as well as other messages like "Good morning", "Good afternoon", "Good evening" and have the same problem.
Lauren, custom QnA pairs were added, so this is not the expected behavior as it should return the message from the QnA pairs.
Yes Lauren, a custom knowledge base was created that handles the question "What day is today?" as well as other questions like "Good morning", "Good afternoon", "Good evening" and have the same bug even after run the cognitive models update script to ensure the dispatch model is updated with the custom QnA pairs.
So Lauren, the flaw is that even with the QnA pairs created, trained and updated, the "QnAConfiguration" and "BeginDialogAsync" events return wrong messages, that is, they do not respond as expected, configuring a Bug that needs to be fixed in the library from BotFramework.
Lauren, reinforcing, what we technically report is a bug that results in this "misunderstood" issue of user questions, which needs to be fixed in the BotFramework library (Microsoft.Bot).
Lauren, what were you expecting to happen is the Virtual Assistant returns the Right Answers from Knowledge.
Thanks for your response. Can you please answer these questions to help me repro this behavior? I was not able to based on this information alone.
Finally, if this is for a new project, I recommend starting with the Core Assistant Bot in Bot Framework Composer, as support for this template will end on March 31st.
closing as this has been 14days, please reopen if you have further issues
What project is affected?
Virtual Assistant
What language is this in?
C# and JS
What happens?
Virtual Assistant not understand the Users Inputs
What are the steps to reproduce this issue?
1) Deploy Virtual Assistant template with PowerShell at Azure 2) Run WebChat 3) Send knowledge messages on WebChat 4) Virtual Assistant reaturn de default message (because return null from knowledge)
What were you expecting to happen?
Virtual Assistant returns the Right Answers from Knowledge
ScreenShots: