Home > Back-end >  Azure QnA maker is repeating the answers for previous question with current question
Azure QnA maker is repeating the answers for previous question with current question

Time:09-16

Hi created a QnA maker using azure bot services and added the question and answers to create a custom chatbot. I have 30 questions in my bucket, I have added all those questions. When I tried to start conversation with the bot, it is repeating the answer of my first question with second question answer.

For example:

Q1. Hi, how are you?
A1: I am good. How about you?
Q2: I am fine, Thanks. What are you doing
A2: I am good. How about you?
    I am here for your service.

In this manner it is repeating the answers. Any help is appreciated.

CodePudding user response:

Go to enter image description here

enter image description here

Give all the required details

enter image description here

enter image description here

Click on Create project

enter image description here

Open Edit Knowledge base. To Add question and answers

enter image description here

Click on Add question pair option

Add required question pairs

enter image description here

For example, I have added 3 pairs of questions. Click on save changes and click on test

enter image description here

The thing which you got in result is a short answer which looks like half of the previous answer. If we skip checking that option, then the bot will function as required. Uncheck the short answers checkbox and test the bot again. I will give you the required answers.

  • Related