So, I want to send a “please wait” message to the user while my validate function validates the slot. How do I do it? If I use “dispatcher_utter_message” it won’t work…it utters message after the slot is validated.
Unfortunately, this is not possible because the action server has to complete its run before Rasa can work with the results again. If your time consuming validation runs at the end of the form, you could run two consecutive actions, one telling the user that this might take a while, and the other to do the validation.
Keep in mind that validation should generally be implemented to be quick, especially when you let your bot talk to a large number of customers simultaneously.
that clarifies my confusion, thank you