I have a simple and presumably common scenario when working with Rasa Forms. While the bot is going through the slots and asking the appropriate questions, I want to be able to respond to “please hold for one moment” intent, at which point the bot (and form) should pause and wait for the user to return, most likely resuming the conversation when the user returns and supplies the answer to the most recent question from the bot.
I created the “please hold” intent and trap it in a rule - that all works well. The trouble is my bot immediately resumes its work, reasking the most recent question (as would be expected). How can I get it to not resume asking the form questions until the user chimes back in?
I have tried some ideas (that may be from Rasa 1.x era) like creating custom action classes, e.g.
class ActionResume(Action): def name(self) -> Text: return "action_chat_resume" def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: return [ConversationResumed()] class ActionPaused(Action): def name(self) -> Text: return "action_chat_pause" def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -> List[Dict[Text, Any]]: return [ConversationPaused()]
but no luck so far (not sure ConversationResumed and ConversationPause still exist)
(@kearnsw - any ideas?)