Tracker

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

User Guide

NLU

Core

Conversation Design

API Reference

Migrate from (beta)

Reference

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.

class rasa.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.

Return type: List[Event]

This can be serialized and later used to recover the state of this tracker exactly.

Return type: Dialogue

Return type: None

Return type: None

Return type: DialogueStateTracker

Return type: Dict[str, Any]

Return type: Dict[str, Any]

Return type: List[Event]

Returns the dumped tracker as a string.

Return type: str

Return type: None

Return type: DialogueStateTracker

Return type: Generator[ DialogueStateTracker, None, None]

Return type: Optional[Event]

Return type: Iterator[str]

Return type: Optional[str]

Return type: Optional[Any]

Return type: int

Return type: DialogueStateTracker

Return type: bool

Return type: bool

Return type: deque

Return type: None

Return type: None

Return type: None

Return type: None

Return type: None

Return type: DialogueStateTracker

Return type: None

Return type: None