Tracker

These docs are for version 1.x of Rasa Open Source.

User Guide

NLU

Core

Conversation Design

API Reference

Migrate from (beta)

Reference

Versions

viewing: 1.4.6

Tracker

classrasa.core.trackers. DialogueStateTracker( sender_id, slots, max_event_history=None, sender_source=None)

Maintains the state of a conversation.

The field max_event_history will only give you these last events, it can be set in the tracker_store

Applied Events

applied_events()
Returns all actions that should be applied - w/o reverted events. Return type List[Event]

As Dialogue

as_dialogue()
Return a Dialogue object containing all of the turns. This can be serialised and later used to recover the state of this tracker exactly. Return type Dialogue

Current Slot Values

current_slot_values()
Return the currently set values of the slots Return type Dict[str, Any]