notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.x).

Version: Master/Unreleased

rasa.shared.core.training_data.story_reader.story_step_builder

StoryStepBuilder Objects

class StoryStepBuilder()

add_user_messages

def add_user_messages(messages: List[UserUttered]) -> None

Adds next story steps with the user's utterances.

Arguments:

  • messages - User utterances.

add_events

def add_events(events: List[Event]) -> None

Adds next story steps with the specified list of events.

Arguments:

  • events - Events that need to be added.