rasa/core/trackers.py
def _merge_slots(self,
                     entities: Optional[List[Dict[Text, Any]]] = None
                     ) -> List[SlotSet]:
        """Take a list of entities and create tracker slot set events.

        If an entity type matches a slots name, the entities value is set
        as the slots value by creating a ``SlotSet`` event.
        """

        entities = entities if entities else self.latest_message.entities
        new_slots = [SlotSet(e["entity"], e["value"]) for e in entities if
                     e["entity"] in self.slots.keys()]
        return new_slots
Take a list of entities and create tracker slot set events.

        If an entity type matches a slots name, the entities value is set
        as the slots value by creating a ``SlotSet`` event.
        
Take a list of entities and create tracker slot set events.
If an entity type matches a slots name, the entities value is set
as the slots value by creating a ``SlotSet`` event.
Take a list of entities and create tracker slot set events . If an entity type matches a slots name the entities value is set as the slots value by creating a ` ` SlotSet ` ` event .
def _merge_slots(self,
                     entities: Optional[List[Dict[Text, Any]]] = None
                     ) -> List[SlotSet]:
        entities = entities if entities else self.latest_message.entities
        new_slots = [SlotSet(e["entity"], e["value"]) for e in entities if
                     e["entity"] in self.slots.keys()]
        return new_slots
def _merge_slots ( self , entities : Optional [ List [ Dict [ Text , Any ] ] ] = None ) -> List [ SlotSet ] : entities = entities if entities else self . latest_message . entities new_slots = [ SlotSet ( e [ "entity" ] , e [ "value" ] ) for e in entities if e [ "entity" ] in self . slots . keys ( ) ] return new_slots
Take a list of entities and create tracker slot set events.
Take a list of entities and create tracker slot set events .
"""Take a list of entities and create tracker slot set events.

        If an entity type matches a slots name, the entities value is set
        as the slots value by creating a ``SlotSet`` event.
        """
self
entities
Optional[List[Dict[Text, Any]]]