Tracker
These docs are for version 1.x of Rasa Open Source.
User Guide
- Installation
- Tutorial: Rasa Basics
- Tutorial: Building Assistants
- Command Line Interface
- Architecture
- Messaging and Voice Channels
- Evaluating Models
- Validate Data
- Running the Server
- Running Rasa with Docker
- Cloud Storage
NLU
- About
- Using NLU Only
- Training Data Format
- Choosing a Pipeline
- Language Support
- Entity Extraction
- Components
Core
- About
- Stories
- Domains
- Responses
- Actions
- Policies
- Slots
- Forms
- Retrieval Actions
- Interactive Learning
- Fallback Actions
- Knowledge Base Actions
Conversation Design
API Reference
- Action Server
- HTTP API
- Jupyter Notebooks
- Agent
- Custom NLU Components
- Rasa SDK
- Events
- Tracker
- Tracker Stores
- Event Brokers
- Lock Stores
- Training Data Importers
- Featurization of Conversations
- Migration Guide
- Rasa OSS Change Log
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
Maintains the state of a conversation.
Methods
applied_events()
Returns all actions that should be applied - w/o reverted events.as_dialogue()
Return aDialogueobject containing all of the turns.current_slot_values()
Return the currently set values of the slots.current_state()
Return the current tracker state as an object.events_after_latest_restart()
Return a list of events after the most recent restart.export_stories()
Dump the tracker as a story in the Rasa Core story format.get_slot(key)
Retrieves the value of a slot.is_paused()
State whether the tracker is currently paused.trigger_followup_action(action)
Triggers another action following the execution of the current.