When to use rules and when to use stories? What's the difference? Any examples?

Hi,

I started working with rasa recently, I’m now studying a project made by a previous colleague and it is almost entirely made using rules and just straight out responses.

I understand my question is too broad, but can someone enlighten me?

Regards.

I think you’re colleague’s approach starting with rules is good. Generally, rules should be short and must apply in all dialogue situations.

Unhappy paths and out of context paths are typically done with stories. If you look at the forms docs you’ll see that rules are used for happy paths into and out of forms but stories are used for out of context dialogue and to abort the the form.

2 Likes

The project is big, I can assure it isn’t a “start” anymore haha.

Thank you!