rasa/core/nlg/template.py
def _template_variables(filled_slots: Dict[Text, Any],
                            kwargs: Dict[Text, Any]) -> Dict[Text, Any]:
        """Combine slot values and key word arguments to fill templates."""

        if filled_slots is None:
            filled_slots = {}

        # Copying the filled slots in the template variables.
        template_vars = filled_slots.copy()
        template_vars.update(kwargs)
        return template_vars
Combine slot values and key word arguments to fill templates.
Combine slot values and key word arguments to fill templates.
Combine slot values and key word arguments to fill templates .
def _template_variables(filled_slots: Dict[Text, Any],
                            kwargs: Dict[Text, Any]) -> Dict[Text, Any]:
        if filled_slots is None:
            filled_slots = {}
        template_vars = filled_slots.copy()
        template_vars.update(kwargs)
        return template_vars
def _template_variables ( filled_slots : Dict [ Text , Any ] , kwargs : Dict [ Text , Any ] ) -> Dict [ Text , Any ] : if filled_slots is None : filled_slots = { } template_vars = filled_slots . copy ( ) template_vars . update ( kwargs ) return template_vars
Combine slot values and key word arguments to fill templates.
Combine slot values and key word arguments to fill templates .
"""Combine slot values and key word arguments to fill templates.""" # Copying the filled slots in the template variables.
filled_slots
Dict[Text, Any]
kwargs
Dict[Text, Any]