For one of the slots in my form, I have two intents —
deny — which should map to the corresponding slot values —
False. In the forms section of the domain, the slot (
set_reminder) is currently defined like this:
set_reminder: - intent: affirm type: from_intent value: True - intent: deny type: from_intent value: False
But this causes
action_default_fallback to be triggered after the form is completed and deactivated.
This is strange because the slot values are filled just fine; it is the action prediction following the form that breaks down. However, if I define the slot like this
set_reminder: - type: from_text
action_default_fallback is not predicted after the form completes. But this is only a temporary fix since I will need some way of mapping the intents to the slot values. While I am aware that I could use custom validation or custom slot setting, that just seems like overkill, and I’d imagine that Rasa offers a simple functionality for this type of logic although I couldn’t find it in the documentation.