async def _get_tracker_after_reverts(events, channel, nlg, domain):
    tracker = get_tracker(events)
    # viz_tracker(tracker)
    action = ActionRevertFallbackEvents()
    events += await action.run(channel, nlg, tracker, domain)
    # events = await action.run(channel, nlg, tracker, domain)
    # viz_events(events)
    # exit()
    return get_tracker(events)
Beispiel #2
0
    async def _get_tracker_after_reverts(events, dispatcher, domain):
        tracker = get_tracker(events)
        action = ActionRevertFallbackEvents()
        events += await action.run(dispatcher, tracker, domain)

        return get_tracker(events)