notice
This is documentation for Rasa Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).
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 ofArgumentParser
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 ofArgumentParser
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.