# How can i make question answer bot with rasa?

**URL:** <https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404>\
**Category:** Rasa Open Source\
**Created:** [June 13, 2019, 6:11am UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404 "2019-06-13T06:11:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![harunkelesoglu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/harunkelesoglu/32/1826_2.png) [@harunkelesoglu](https://forum.rasa.com/u/harunkelesoglu)\
**Post date:** [June 13, 2019, 6:11am UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/1 "2019-06-13T06:11:53Z")

</div>

Hi, I’ve previously designed chatbot using dialogflow. There is smalltalk section in dialogflow.You set a small talk in the form of question and answer. I have 4000 questions and their answers. How should i desing my bot? Should I set each question as an intent? May day pleasee 🙂

---

<div class="post-metadata">

**Author:** ![msamogh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/msamogh/32/3478_2.png) [@msamogh](https://forum.rasa.com/u/msamogh)\
**Post date:** [July 17, 2019, 8:41am UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/2 "2019-07-17T08:41:00Z")

</div>

Wait, so do you have multiple training examples for each of the 4000 questions?

---

<div class="post-metadata">

**Author:** ![harunkelesoglu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/harunkelesoglu/32/1826_2.png) [@harunkelesoglu](https://forum.rasa.com/u/harunkelesoglu)\
**Post date:** [July 22, 2019, 1:14pm UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/3 "2019-07-22T13:14:22Z")

</div>

what do you mean that have multiple training example.I have 4000 question and their answers.I try classify some questions with rasa.

---

<div class="post-metadata">

**Author:** ![msamogh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/msamogh/32/3478_2.png) [@msamogh](https://forum.rasa.com/u/msamogh)\
**Post date:** [July 22, 2019, 3:22pm UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/4 "2019-07-22T15:22:08Z")

</div>

Basically, you need more than just one single training example per intent to be able to _classify_ things. Simply listing down all your questions is not enough for it to capture all variants of that question.

You need to provide multiple examples like this for _each_ intent (question, in your case)

```auto
## intent:how_to_train_my_dragon
- How do I train my dragon?
- I want to learn how to train a dragon.
- ...

## intent:how_to_change_password
- I need to change my password
- Can you guide me how to change my password?
- ...

```

instead of having just single questions listed like this:

```auto
## intent:how_to_change_password
- How to change my password?

## intent:how_to_train_my_dragon
- How to train my dragon?

```

---

<div class="post-metadata">

**Author:** ![harunkelesoglu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/harunkelesoglu/32/1826_2.png) [@harunkelesoglu](https://forum.rasa.com/u/harunkelesoglu)\
**Post date:** [July 25, 2019, 8:36am UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/5 "2019-07-25T08:36:08Z")

</div>

You can create an intent for example F.A.Q. Then you write an action for this intent.This action makes the request to third party api containing questions and answers

---

<div class="post-metadata">

**Author:** ![msamogh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/msamogh/32/3478_2.png) [@msamogh](https://forum.rasa.com/u/msamogh)\
**Post date:** [July 26, 2019, 6:46am UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/6 "2019-07-26T06:46:27Z")

</div>

The rest of the parts are not really the problem. Your main issue is that you don’t have multiple examples per intent.

---

<div class="post-metadata">

**Author:** ![YesayaSoftware](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yesayasoftware/32/18129_2.png) [@YesayaSoftware](https://forum.rasa.com/u/YesayaSoftware)\
**Post date:** [February 24, 2021, 3:23pm UTC](https://forum.rasa.com/t/how-can-i-make-question-answer-bot-with-rasa/11404/7 "2021-02-24T15:23:30Z")

</div>

Did you get this to work? I have a similar use case?
