Tracker
Tracker ¶
Trackers maintain the state of a dialogue between the assistant and the user in the form of conversation sessions. To learn more about how to configure the session behaviour, check out the docs on Session configuration.
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() ¶
Returns all actions that should be applied - w/o reverted events.
Return type
List[Event]
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
change_form_to( form_name) ¶
Activate or deactivate a form
Return type
None
clear_followup_action() ¶
Clears follow up action when it was executed.
Return type
None