notice

This is unreleased documentation for Rasa & Rasa Pro Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/Unreleased

rasa.cli.data

add_subparser

def add_subparser(subparsers: SubParsersAction,
parents: List[argparse.ArgumentParser]) -> None

Add all data parsers.

Arguments:

  • subparsers - subparser we are going to attach to
  • parents - Parent parsers, needed to ensure tree structure in argparse

split_nlu_data

def split_nlu_data(args: argparse.Namespace) -> None

Load data from a file path and split the NLU data into test and train examples.

Arguments:

  • args - Commandline arguments

split_stories_data

def split_stories_data(args: argparse.Namespace) -> None

Load data from a file path and split stories into test and train examples.

Arguments:

  • args - Commandline arguments