notice

This is documentation for Rasa Open Source Documentation v2.3.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.4.x).

Version: 2.3.x

rasa.cli.interactive

add_subparser

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

Add all interactive cli parsers.

Arguments:

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

perform_interactive_learning

perform_interactive_learning(args: argparse.Namespace, zipped_model: Text, file_importer: TrainingDataImporter) -> None

Performs interactive learning.

Arguments:

  • args - Namespace arguments.
  • zipped_model - Path to zipped model.
  • file_importer - File importer which provides the training data and model config.