# Train rasa\_core to predict the next intent according to stories.md

**URL:** https://forum.rasa.com/t/train-rasa-core-to-predict-the-next-intent-according-to-stories-md/3089
**Category:** Getting Started with Rasa
**Tags:** rasa-stories
**Created:** [November 28, 2018, 10:19am UTC](https://forum.rasa.com/t/train-rasa-core-to-predict-the-next-intent-according-to-stories-md/3089 "2018-11-28T10:19:09Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![chemseddine](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@chemseddine](https://forum.rasa.com/u/chemseddine)
#### Post date: [November 28, 2018, 10:19am UTC](https://forum.rasa.com/t/train-rasa-core-to-predict-the-next-intent-according-to-stories-md/3089/1 "2018-11-28T10:19:09Z")

</div>

Hi Rasa Community,

Need help for this one. I want to know how can I train my bot to predict the next intent according to what I have in stories.md.

To be clear: I have an intent ‘problem’ in this intent I don’t know what the user could tape. It can be every thing that the user qualify that it’s a problem for him. All what I know is that this intent will occur in a certain phase of the conversation . for example:

```
## story1
* greet
    - utter_greet
* confirm
    - utter_step1
* probleme
    - action_SendIntentProbleme
    - utter_probleme_site

```

So here I know that always after utter\_step1 the user will give me his problem, and I don’t need to understand it I just need the bot to qualify it as intent problem to be able after this to execute action\_sendintentproblem and then utter\_problem\_site. The bot answer for this intent is general. no matter what is the content of this intent.

I want my bot when listening to the user after Utter\_step1 to know that the next input will be intent ‘probleme’, can I specify this in my data.md file? or do I need to add this in the configuration file and how?

Thank you for your help

---

_[View the full topic](https://forum.rasa.com/t/train-rasa-core-to-predict-the-next-intent-according-to-stories-md/3089)._
