rasa/core/training/interactive.py
def _slot_history(tracker_dump: Dict[Text, Any]) -> List[Text]:
    """Create an array of slot representations to be displayed."""

    slot_strs = []
    for k, s in tracker_dump.get("slots").items():
        colored_value = cliutils.wrap_with_color(str(s),
                                                 rasa.cli.utils.bcolors.WARNING)
        slot_strs.append("{}: {}".format(k, colored_value))
    return slot_strs
Create an array of slot representations to be displayed.
Create an array of slot representations to be displayed.
Create an array of slot representations to be displayed .
def _slot_history(tracker_dump: Dict[Text, Any]) -> List[Text]:
    slot_strs = []
    for k, s in tracker_dump.get("slots").items():
        colored_value = cliutils.wrap_with_color(str(s),
                                                 rasa.cli.utils.bcolors.WARNING)
        slot_strs.append("{}: {}".format(k, colored_value))
    return slot_strs
def _slot_history ( tracker_dump : Dict [ Text , Any ] ) -> List [ Text ] : slot_strs = [ ] for k , s in tracker_dump . get ( "slots" ) . items ( ) : colored_value = cliutils . wrap_with_color ( str ( s ) , rasa . cli . utils . bcolors . WARNING ) slot_strs . append ( "{}: {}" . format ( k , colored_value ) ) return slot_strs
Create an array of slot representations to be displayed.
Create an array of slot representations to be displayed .
"""Create an array of slot representations to be displayed."""
tracker_dump
Dict[Text, Any]