notice
This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.2.x).
rasa.core.training.interactive
RestartConversation Objects
Exception used to break out the flow and restart the conversation.
ForkTracker Objects
Exception used to break out the flow and fork at a previous step.
The tracker will be reset to the selected point in the past and the conversation will continue from there.
UndoLastStep Objects
Exception used to break out the flow and undo the last step.
The last step is either the most recent user message or the most recent action run by the bot.
Abort Objects
Exception used to abort the interactive learning and exit.
send_message
Send a user message to a conversation.
request_prediction
Request the next action prediction from core.
retrieve_domain
Retrieve the domain from core.
retrieve_status
Retrieve the status from core.
retrieve_tracker
Retrieve a tracker from core.
send_action
Log an action to a conversation.
send_event
Log an event to a conversation.
format_bot_output
Format a bot response to be displayed in the history table.
latest_user_message
Return most recent user message.
all_events_before_latest_user_msg
Return all events that happened before the most recent user message.
is_listening_for_message
Check if the conversation is in need for a user message.
record_messages
Read messages from the command line and print bot responses.
start_visualization
Add routes to serve the conversation visualization files.
wait_til_server_is_running
Try to reach the server, retry a couple of times and sleep in between.
run_interactive_learning
Start the interactive learning with the model of the agent.