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
- Configuring the HTTP API
- Deploying your Rasa Assistant
- Cloud Storage
NLU
- About
- Using NLU Only
- Training Data Format
- Choosing a Pipeline
- Language Support
- Entity Extraction
- Components
Core
- About
- Stories
- Domains
- Responses
- Actions
- Reminders and External Events
- 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
- TensorFlow Configuration
- Migration Guide
- Rasa Open Source 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.
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
change_form_to( form_name)clear_followup_action()copy()current_slot_values()current_state( event_verbosity=<EventVerbosity.NONE: 1>)events_after_latest_restart()export_stories( e2e=False, include_source=False)export_stories_to_file( export_path='debug.md')from_dict( sender_id, events_as_dict, slots=None, max_event_history=None)generate_all_prior_trackers()get_last_event_for( event_type, action_names_to_exclude=None, skip=0)get_latest_entity_values( entity_type, entity_role=None, entity_group=None)get_latest_input_channel()get_slot( key)idx_after_latest_restart()init_copy()is_paused()last_executed_action_has( name, skip=0)past_states( domain)recreate_from_dialogue( dialogue)reject_action( action_name)replay_events()set_form_validation( validate)set_latest_action_name( action_name)travel_back_in_time( target_time)trigger_followup_action( action)update( event, domain=None)
👋 I can help you get started with Rasa and answer your technical questions.