How can we set a slot value whereas resetting another slot value to null at a single action call?

rasa-core

(Nikhil Bansal) #1

Hi,

How can i set and reset multiple slot values in my actions simultaneously from single action?


(Nikhil Bansal) #2

@akelad??


(Akela Drissner) #3

return multiple slotset events:

return [SlotSet(...), SlotSet(...)...]


(Nikhil Bansal) #4

this is not working


(Nikhil Bansal) #5

i added like this [SlotSet(‘OTPTrue’,OTPTrue),SlotSet(‘OTPFalse’,None)] but it is not resetting the value


(Akshay Zade) #6

Are you sure that the action is being executed as expected? Also, can you post the debug output?