Action_session_start

Does “action_session_start” no longer work in Version 2.0 when called as a FollowupAction?

    """Resets convo"""

    def name(self):
        return "utter_goodbye"

    def run(self, dispatcher, tracker, domain):

        return [FollowupAction("action_session_start")]

no longer works in resetting the conversation.

How can I get the bot to reliably restart the conversation session after a certain action in Rasa V 2.0

1 Like

@argideritzalpea ,

Can you try to use this:

return [Restarted(), FollowupAction("action_session_start")]

This is what we use in the financial-demo starter pack. (See here)

1 Like

It works for me, thanks!

I also added at the beginning an AllSlotsReset() event, just in case, don´t know if it´s needed.

Thanks again! :slight_smile:

1 Like