vagi8
(Vageeshan)
January 22, 2021, 6:06am
21
Not sure which version you are using but in rasa 2.xx, after sending the sorry message template it is dispatching the utter_ask_slot
as well .
I think @Zylatis work around will work but again its tedious.
snek
(Shorouq)
April 20, 2021, 10:46am
22
I found a work-around. Hope some of you may find it useful:
I had the same problem today and this is how I solved it:
My use-case is for when users provide an answer that needs to be of a certain length.
Pre step: Handle your utter_ask_<slot_name> in the action server instead. In other words, convert it into an action_ask_<slot_name>. Let’s call it action_ask_answer for this example.
My validate function goes as normal. If the response is less than 5 words long, it fills the slot with “None”. This also dispatchers an utterance, let’s call …