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.

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 serialized and later used to recover the state of this tracker exactly.

Return type

Dialogue

Additional Methods

👋 I can help you get started with Rasa and answer your technical questions.