I’m using the interactive learning script provided by the examples (train_online.py). When I’m using it to create training stories the prediction of the next action is nearly perfect. But as soon as I run the bot normally it behaves poorly even when I’m going along the path of a training story step by step!

(EDIT: It doesn’t seem to be a problem with training epochs. Even the flag --epochs 200 hasn’t solved the issue)

I’d guess there’s a problem with some conflicts in your stories. Go through your stories and check that isn’t the case. You can also run Core in --debug mode and that should give you some insight as to what’s going wrong, there’s some more info on this here: http://rasa.com/docs/core/debugging/