# How can I add my own training or retrieving algorithms to rasa project

**URL:** <https://forum.rasa.com/t/how-can-i-add-my-own-training-or-retrieving-algorithms-to-rasa-project/20611>\
**Category:** Rasa Open Source\
**Created:** [October 30, 2019, 2:54am UTC](https://forum.rasa.com/t/how-can-i-add-my-own-training-or-retrieving-algorithms-to-rasa-project/20611 "2019-10-30T02:54:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColinOOOOOh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/colinoooooh/32/5771_2.png) [@ColinOOOOOh](https://forum.rasa.com/u/ColinOOOOOh)\
**Post date:** [October 30, 2019, 2:54am UTC](https://forum.rasa.com/t/how-can-i-add-my-own-training-or-retrieving-algorithms-to-rasa-project/20611/1 "2019-10-30T02:54:33Z")

</div>

Hey guys, I am just new to Rasa. I am doing a FAQ chatbot project using Rasa. I built a chatbot demo under Rasa framework (with actions.yml, nlu.md, stories.md, etc.) However, my said it is too simple and the performance seems not good enough. He aslo suggestted me to build my own training or retrieving algorithms. I dont know how can I get started since I dont know the way to modify the training code. Each time I train the model, I simply prepare the data use _rasa train_ . It seems that I can do nothing with the Rasa core algorithms. I’ve done some machine learning and data retrival courses and know some algorithm that potentially can be used in this project.

Could anyone give me some idea?

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [October 30, 2019, 3:15pm UTC](https://forum.rasa.com/t/how-can-i-add-my-own-training-or-retrieving-algorithms-to-rasa-project/20611/2 "2019-10-30T15:15:58Z")

</div>

You need to modify the [pipeline](https://rasa.com/docs/rasa/nlu/choosing-a-pipeline/) with your [custom components](https://blog.rasa.com/enhancing-rasa-nlu-with-custom-components/).

---

<div class="post-metadata">

**Author:** ![ColinOOOOOh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/colinoooooh/32/5771_2.png) [@ColinOOOOOh](https://forum.rasa.com/u/ColinOOOOOh)\
**Post date:** [October 31, 2019, 6:56am UTC](https://forum.rasa.com/t/how-can-i-add-my-own-training-or-retrieving-algorithms-to-rasa-project/20611/3 "2019-10-31T06:56:42Z")

</div>

Thank you man. It helps a lot.
