Events
User Guide
- Installation
- Rasa Tutorial
- 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
- Events
- Tracker
- Tracker Stores
- Event Brokers
- Lock Stores
- Training Data Importers
- Featurization
- Migration Guide
- Rasa Change Log
Migrate from (beta)
Reference
Events
Conversations in Rasa are represented as a sequence of events. This page lists the event types defined in Rasa Core.
Note: If you are using the Rasa SDK to write custom actions in python, you need to import the events from rasa_sdk.events, not from rasa.core.events. If you are writing actions in another language, your events should be formatted like the JSON objects on this page.
General Purpose Events
Set a Slot
JSONevt = {"event": "slot", "name": "departure_airport", "value": "BER"}Restart a conversation
JSONevt = {"event": "restart"}Reset all Slots
JSONevt = {"event": "reset_slots"}Schedule a reminder
JSONevt={ "event": "reminder", "action": "my_action", "date_time": "2018-09-03T11:41:10.128172", "name": "my_reminder", "kill_on_user_msg": true, }Pause a conversation
JSONevt = {"event": "pause"}Resume a conversation
JSONevt = {"event": "resume"}Force a followup action
JSONevt = {"event": "followup", "name": "my_action"}
Automatically tracked events
User sent message
JSONevt={ "event": "user", "text": "Hey", "parse_data": { "intent": { "name": "greet", "confidence": 0.9 }, "entities": [] }, "metadata": {}, }Bot responded message
JSONevt = {"event": "bot", "text": "Hey there!", "data": {}}Undo a user message
JSONevt = {"event": "rewind"}Undo an action
JSONevt = {"event": "undo"}Log an executed action
JSONevt = {"event": "action", "name": "my_action"}