Coder Social home page Coder Social logo

Problems to understand the Users Inputs on Virtual Assistant Sample - Virtual Assistant Sample not work about botframework-solutions HOT 4 CLOSED

fidelitymobileorg avatar fidelitymobileorg commented on May 24, 2024
Problems to understand the Users Inputs on Virtual Assistant Sample - Virtual Assistant Sample not work

from botframework-solutions.

Comments (4)

lauren-mills avatar lauren-mills commented on May 24, 2024

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?

from botframework-solutions.

fidelitymobileorg avatar fidelitymobileorg commented on May 24, 2024

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.

from botframework-solutions.

lauren-mills avatar lauren-mills commented on May 24, 2024

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.

  • Did you create a completely new knowledge base, or add new QnA pairs to either the FAQ or ChitChat knowledge bases created in the Virtual Assistant project?
  • Did you publish the knowledge base changes before running the update_cognitive_models script?
  • When running the update_cognitive_models scripts with the -RemoteToLocal flag can you verify that the .dispatch and .qna files in your Deployment/Resources folder contain these changes? You should be able to do a ctrl-f search to verify they have been correctly downloaded from the published knowledge bases

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.

from botframework-solutions.

johnataylor avatar johnataylor commented on May 24, 2024

closing as this has been 14days, please reopen if you have further issues

from botframework-solutions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.