I want to set slot value in the custom action and then use the same in my response.
In my custom action, I have this code written:
slots = [] slots.append(SlotSet("color_suggestion", "Red")) dispatcher.utter_template("utter_suggest_color", tracker) return slots
in domain, utter_suggest_color is defined as:
utter_suggest_color:
- text: “{color_suggestion} color looks great.”
However, the slot value is not picked up. Response is printed as “None color looks great.”
How to fix this??