Hi all!
I am learning how to use Forms. All my required_slots
are of type: bool
so I am using slot mappings type: from_intent
, value: true
or value: false
.
However, if value:false
it means user is having trouble, and so I should provide a different response instead of keeping with the form… how can I implement this?
See example of slot in forms below:
- first_form:
- required_slots:
- proceed:
- type: from_intent
value: true
intent: affirm
- type: from_intent
value: false
intent:
- deny
- issue
So, if user replies “no” or “I am having trouble”, I dont want to ask the next question of Form, but instead: help the user solving the problem, and then return to next question of Form… any better way than just defining different stories?