rasa/core/training/structures.py
def from_events(events, story_name=None):
        """Create a story from a list of events."""

        story_step = StoryStep()
        for event in events:
            story_step.add_event(event)
        return Story([story_step], story_name)
Create a story from a list of events.
Create a story from a list of events.
Create a story from a list of events .
def from_events(events, story_name=None):
        story_step = StoryStep()
        for event in events:
            story_step.add_event(event)
        return Story([story_step], story_name)
def from_events ( events , story_name = None ) : story_step = StoryStep ( ) for event in events : story_step . add_event ( event ) return Story ( [ story_step ] , story_name )
Create a story from a list of events.
Create a story from a list of events .
"""Create a story from a list of events."""
events
story_name