# Train bot from Wiki

**URL:** <https://forum.rasa.com/t/train-bot-from-wiki/21304>\
**Category:** Rasa Open Source\
**Created:** [November 15, 2019, 1:22pm UTC](https://forum.rasa.com/t/train-bot-from-wiki/21304 "2019-11-15T13:22:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapoorh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kapoorh/32/2091_2.png) [@kapoorh](https://forum.rasa.com/u/kapoorh)\
**Post date:** [November 15, 2019, 1:22pm UTC](https://forum.rasa.com/t/train-bot-from-wiki/21304/1 "2019-11-15T13:22:43Z")

</div>

Hi,

Is there any way that bot can start training by itself from wiki pages? or any other way that bot can respond from wiki pages.

Thanks, Harsh

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [November 25, 2019, 11:09am UTC](https://forum.rasa.com/t/train-bot-from-wiki/21304/2 "2019-11-25T11:09:42Z")

</div>

Hi Harsh,

if you want the bot to extract the answers from a text there is no way to do this in rasa. There are question answering models out there (eg [https://arxiv.org/pdf/1906.02738.pdf](https://arxiv.org/pdf/1906.02738.pdf)), so you could build a custom component yourself to integrate this into a rasa bot.

---

<div class="post-metadata">

**Author:** ![kapoorh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kapoorh/32/2091_2.png) [@kapoorh](https://forum.rasa.com/u/kapoorh)\
**Post date:** [November 27, 2019, 9:43am UTC](https://forum.rasa.com/t/train-bot-from-wiki/21304/3 "2019-11-27T09:43:11Z")

</div>

Thanks @imLew

Ok if I extract some question and its answer from wiki or any other page then how can i create utterances of that question automatically without manual intervention and train rasa.

eg. Let suppose I have a wiki page of Rasa.

My job extract -

**Question:** About Rasa

**Response:** Rasa is a …

So how can I create multiple utterances of **About Rasa** for training. Any python library?

---

<div class="post-metadata">

**Author:** ![imLew](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/imlew/32/3744_2.png) [@imLew](https://forum.rasa.com/u/imLew)\
**Post date:** [November 28, 2019, 2:06pm UTC](https://forum.rasa.com/t/train-bot-from-wiki/21304/4 "2019-11-28T14:06:11Z")

</div>

You want to generate both questions and answers based on a text and use that as training data? I am not aware of any way to do this, much less a python library sorry

---

<div class="post-metadata">

**Author:** ![kapoorh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kapoorh/32/2091_2.png) [@kapoorh](https://forum.rasa.com/u/kapoorh)\
**Post date:** [November 28, 2019, 2:07pm UTC](https://forum.rasa.com/t/train-bot-from-wiki/21304/5 "2019-11-28T14:07:37Z")

</div>

Only for questions. like rewrite paraphrase.
