rasa/core/training/interactive.py
async def _print_history(sender_id: Text, endpoint: EndpointConfig) -> None:
    """Print information about the conversation for the user."""

    tracker_dump = await retrieve_tracker(endpoint, sender_id,
                                          EventVerbosity.AFTER_RESTART)
    evts = tracker_dump.get("events", [])

    table = _chat_history_table(evts)
    slot_strs = _slot_history(tracker_dump)

    print("------")
    print("Chat History\n")
    print(table)

    if slot_strs:
        print("\n")
        print("Current slots: \n\t{}\n".format(", ".join(slot_strs)))

    print("------")
Print information about the conversation for the user.
Print information about the conversation for the user.
Print information about the conversation for the user .
async def _print_history(sender_id: Text, endpoint: EndpointConfig) -> None:
    tracker_dump = await retrieve_tracker(endpoint, sender_id,
                                          EventVerbosity.AFTER_RESTART)
    evts = tracker_dump.get("events", [])
    table = _chat_history_table(evts)
    slot_strs = _slot_history(tracker_dump)
    print("------")
    print("Chat History\n")
    print(table)
    if slot_strs:
        print("\n")
        print("Current slots: \n\t{}\n".format(", ".join(slot_strs)))
    print("------")
async def _print_history ( sender_id : Text , endpoint : EndpointConfig ) -> None : tracker_dump = await retrieve_tracker ( endpoint , sender_id , EventVerbosity . AFTER_RESTART ) evts = tracker_dump . get ( "events" , [ ] ) table = _chat_history_table ( evts ) slot_strs = _slot_history ( tracker_dump ) print ( "------" ) print ( "Chat History\n" ) print ( table ) if slot_strs : print ( "\n" ) print ( "Current slots: \n\t{}\n" . format ( ", " . join ( slot_strs ) ) ) print ( "------" )
Print information about the conversation for the user.
Print information about the conversation for the user .
"""Print information about the conversation for the user."""
sender_id
Text
endpoint
EndpointConfig