The regex will check the slot value (name) and sets the value of input to name slot if matched, else it will throw an error saying and slot wont be set until the input is matched with regex.
The following is the definition of action name in domain.yml
and the stories path for name slot
Though I have mentioned in stories, while filling the slot if user does not want to provide the value (with intent deny), the form is not deactivating instead it is checking the user input with regex and throwing the else condition. I have more slots which are validating based on regex each of them are executing the same.
@bharath-madduri Then update the version , as Rasa backend team update so much. Or if you believe your code is 100% delete older train model and re-train.
Tried deleting the model and initiated a new project still no luck with 2.5, will give it a try with 2.7 and let you know if that works, thank you for your help.
@bharath-madduri If you not mention me @ and nik202 the post missed it in-between its 21 day old post bro, do share some related files. I will try see it.
@bharath-madduri Again you not mentioned me with @ and nik202 it go into unread one not as notification. Do share me original files so that I can dry run the code.