# Help with rasa context

**URL:** <https://forum.rasa.com/t/help-with-rasa-context/33043>\
**Category:** Tutorials, Resources & Videos\
**Created:** [August 26, 2020, 5:15pm UTC](https://forum.rasa.com/t/help-with-rasa-context/33043 "2020-08-26T17:15:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lupasten](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lupasten](https://forum.rasa.com/u/lupasten)\
**Post date:** [August 26, 2020, 5:15pm UTC](https://forum.rasa.com/t/help-with-rasa-context/33043/1 "2020-08-26T17:15:04Z")

</div>

Hi everyone, i have a problem, i want to construct a bot with context, but i don’t find any idea or tutorial to do that on rasa, the thing i want to do somthing like this.

Bot: hi.   
Person: hello, How many **Vacation days** do i have?   
Bot: You have 2 days of vacations aviables  
Person: and how can i request them? // person don’t mention the vacation days  
Bot: You must write an email to “xxxxxxxxxxxxxxx” and manage them through the HR portal

if i only use simple bot, if the person says: “and how can i request them?” The bot will find the intent of that question, but doesn’t understand that the context of that questión is “vacation days” and the answer of the bot should be “fallback”.

I hope you could help me.

Greetings

---

<div class="post-metadata">

**Author:** ![niveK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nivek/32/13710_2.png) [@niveK](https://forum.rasa.com/u/niveK)\
**Post date:** [August 26, 2020, 10:41pm UTC](https://forum.rasa.com/t/help-with-rasa-context/33043/2 "2020-08-26T22:41:50Z")

</div>

I’d recommend using [slots](https://rasa.com/docs/rasa/core/slots/#slots-set-from-nlu). You can train the bot to find entities like “Vacation days”, but since the entities won’t really influence dialogue flow unless it’s featurized for the bot to learn. I’d recommend seeing [these stories from the docs where slots are used](https://rasa.com/docs/rasa/core/slots/#slots-set-by-actions) so you have an idea of the sorts of things you can do with slots.

---

<div class="post-metadata">

**Author:** ![lupasten](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lupasten](https://forum.rasa.com/u/lupasten)\
**Post date:** [September 7, 2020, 2:10pm UTC](https://forum.rasa.com/t/help-with-rasa-context/33043/3 "2020-09-07T14:10:04Z")

</div>

Hey, i got a question, for this funcionality i need to use Momoization Pipeline? Or only using slots i can do what i want?

---

<div class="post-metadata">

**Author:** ![niveK](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nivek/32/13710_2.png) [@niveK](https://forum.rasa.com/u/niveK)\
**Post date:** [September 8, 2020, 12:47am UTC](https://forum.rasa.com/t/help-with-rasa-context/33043/4 "2020-09-08T00:47:49Z")

</div>

The memoization policy would definitely help, but I don’t think it’s strictly necessary. All the memoization policy does it memorize your stories so it can predict intended behavior from stories much more clearly.
