notice

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

Version: Main/Unreleased

rasa.cli.interactive

add_subparser

def 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

def perform_interactive_learning(args: argparse.Namespace,
zipped_model: Union[Text, "Path"],
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.

get_provided_model

def get_provided_model(arg_model: Text) -> Optional[Union[Text, Path]]

Checks model path input and selects model from it.

validate_assistant_id_key_in_config

def validate_assistant_id_key_in_config(
file_importer: TrainingDataImporter) -> None

Verifies that config contains a unique value for assistant identifier.