Version: 2.x

rasa.cli.arguments.train

set_train_arguments

set_train_arguments(parser: argparse.ArgumentParser) -> None

Specifies CLI arguments for rasa train.

set_train_core_arguments

set_train_core_arguments(parser: argparse.ArgumentParser) -> None

Specifies CLI arguments for rasa train core.

set_train_nlu_arguments

set_train_nlu_arguments(parser: argparse.ArgumentParser) -> None

Specifies CLI arguments for rasa train nlu.

add_force_param

add_force_param(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Specifies if the model should be trained from scratch.

add_data_param

add_data_param(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Specifies path to training data.

add_dry_run_param

add_dry_run_param(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Adds --dry-run argument to a specified parser.

Arguments:

  • parser - An instance of ArgumentParser or _ActionsContainer.

add_augmentation_param

add_augmentation_param(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Sets the augmentation factor for the Core training.

Arguments:

  • parser - An instance of ArgumentParser or _ActionsContainer.

add_debug_plots_param

add_debug_plots_param(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Specifies if conversation flow should be visualized.

add_persist_nlu_data_param

add_persist_nlu_data_param(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Adds parameters for persisting the NLU training data with the model.

add_finetune_params

add_finetune_params(parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]) -> None

Adds parameters for model finetuning.