Hey @BrookieHub . slots is a dictionary if I remember correctly. So slots.items() is the method for python’s dictionaries that generates pairs of key,value. SlotSet(slot,value) is a method in Rasa actions to set the value value to the slot slot.
Thus, the whole expression is a list comprehession that will go through the key:value pairs of the dictionary slot (where “key”->slot and “value”->value) and for each pair will set the value of the slot to the corresponded value.