Disconnecting the bot

Hi there! I have a requirement to stop the bot as soon as the user gives in a certain input. To elaborate, bot shouldn’t reply to anything after that. Can this be done?

i guess you can handle this use case with your UI also

@NikhilBansal21 I want to handle it from back-end as the bot is going to reappear after agent is done with the chat.

you can return a ConversationPaused() event in a custom action

@akelad how to stop the rasa core ???

this is not working, it moves to next state.Events.

tracker._paused = True

put a return [ConversationPaused()] in your custom acttion

1 Like