Rasa question + multiple answers bot?

I need to create a bot which has 20 questions and then each question has has three answers where one is right. After answering bot needs to inform was the the answer right or wrong and then move to next question.

It works well when user chooses wrong answers but when user chooses right answer then it just repeats same question again.

I’m using Rasa 1.x version

Here is part of my stories (“kysymys” is question, “vaara_vastaus” is wrong answer and “oikea_vastaus” is right answer

kysely happy path

  • aloita
    • utter_ask_kysymys01
  • vaara_vastaus
    • utter_vaara_vastaus
    • utter_ask_kysymys02
  • oikea_vastaus
    • utter_oikea_vastaus
    • utter_ask_kysymys02
  • vaara_vastaus
    • utter_vaara_vastaus
    • utter_ask_kysymys03
  • oikea_vastaus
    • utter_oikea_vastaus
    • utter_ask_kysymys03
  • vaara_vastaus
    • utter_vaara_vastaus
    • utter_ask_kysymys04

How to do this?

Is this much easier to do in Rasa 2,x?

Use forms

thanks, I have used forms in my other chat bot but here I thought that it was not needed. I have understood that forms are easier to use in Rasa 2.x?

1 Like