I know that for setting slots we use-
return [SlotSet(“slot”, value)].
Now my requirement is -
Suppose i have 5 slots - s1 , s2 , s3 , s4 , s5.
i am inside a custom action and i want to null all slots except s2.
I dont want to write this explicitly -
return [SlotSet(“s1”, None) , SlotSet(“s3”, None) , SlotSet(“s4”, None), SlotSet(“s5”, None)]
How can i do this
kindly help .