Hello everyone!
Is it possible to turn off the auto-fill behavior of rasa when the FormAction is active?
Explanation:
When the form is active, I’m asking the user an open question and filling my slot slot_A
with whatever the user said (using self.from_text()
mapping here), but the nlu is extracting some entities from this user input (which is fine) and filling the slots with same name as the entities. Now this auto-fill behavior is causing problem because it is filling one of the required slots, hence the form is not asking for that slot, also the validation is failing because it got auto-filled. So the slot got filled with invalid data silently.
I don’t want to use auto_fill: False
in domain.yml
because when the form is not active, I want this slot to be auto-filled from user input (because I have further custom actions which have the code to validate this slot.)
Any idea how to overcome this situation?
Also, do you think it could be implemented in rasa as a feature to be able to turn the auto-fill behaviour on and off if the FormAction is active?
Thanks.