Hi I experiment to make a conditional response based on slot value.
so i have this in domain
slots:
time:
type: categorical
influence_conversation: True
mappings:
- type: custom
action: action_set_time
and this on story
- story: nlu fallback noon
steps:
- intent: nlu_fallback
- action: action_set_time
- slot_was_set:
- time: "noon"
- action: utter_fallback_noon
- story: nlu fallback morning
steps:
- intent: nlu_fallback
- action: action_set_time
- slot_was_set:
- time: "morning"
- action: utter_fallback_morning
i set the time in action_set_time
to fill the slot time.
i want to handle it using that kind of story. i have just read that the slot should in type of categorical
but it still not working. any suggestion or something maybe i missed?