rasa_sdk.
The side effects of events and their underlying
payloads are identical regardless of whether you use rasa_sdk or another action
server.
For details about the side effects of an event, its underlying
payload and the class in Rasa it is translated to
see the documentation for events for all action servers
(also linked to in each section).
Event Classes
SlotSet
slot
Parameters:
key: Name of the slot to setvalue: Value to set the slot to. The datatype must match the type of the slottimestamp: Optional timestamp of the event
AllSlotsReset
reset_slots
Parameters:
timestamp: Optional timestamp of the event
ReminderScheduled
reminder
Parameters:
intent_name: Intent which the reminder will triggertrigger_date_time: Datetime at which the execution of the action should be triggered.entities: Entities to send with the intentname: ID of the reminder. If there are multiple reminders with the same id only the last will be run.kill_on_user_message: Whether a user message before the trigger time will abort the remindertimestamp: Optional timestamp of the event
ReminderCancelled
cancel_reminder
Parameters:
name: ID of the reminder.intent_name: Intent which the reminder triggersentities: Entities sent with the intenttimestamp: Optional timestamp of the event
ConversationPaused
pause
Parameters:
timestamp: Optional timestamp of the event
ConversationResumed
resume
Parameters:
timestamp: Optional timestamp of the event
FollowupAction
followup
Parameters:
name: The name of the follow up action that will be executed.timestamp: Optional timestamp of the event
UserUtteranceReverted
rewind
Parameters:
timestamp: Optional timestamp of the event
ActionReverted
undo
Parameters:
timestamp: Optional timestamp of the event
Restarted
restart
Parameters:
timestamp: Optional timestamp of the event
SessionStarted
session_started
Parameters:
timestamp: Optional timestamp of the event
UserUttered
user
Parameters:
text: Text of the user messageparse_data: Parsed data of user message. This is ordinarily filled by NLU.input_channel: The channel on which the message was receivedtimestamp: Optional timestamp of the event
BotUttered
bot
Parameters:
text: The text the bot sends to the userdata: Any non-text elements of the bot response. The structure ofdatamatches that ofresponsesgiven in the API spec.metadata: Arbitrary key-value metadatatimestamp: Optional timestamp of the event
ActionExecuted
action
Parameters:
action_name: Name of the action that was calledpolicy: The policy used to predict the actionconfidence: The confidence with which the action was predictedtimestamp: Optional timestamp of the event