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.arguments.train
set_train_arguments
def set_train_arguments(parser: argparse.ArgumentParser) -> None
Specifies CLI arguments for rasa train
.
set_train_core_arguments
def set_train_core_arguments(parser: argparse.ArgumentParser) -> None
Specifies CLI arguments for rasa train core
.
set_train_nlu_arguments
def set_train_nlu_arguments(parser: argparse.ArgumentParser) -> None
Specifies CLI arguments for rasa train nlu
.
add_force_param
def add_force_param(
parser: Union[argparse.ArgumentParser,
argparse._ActionsContainer]) -> None
Specifies if the model should be trained from scratch.
add_data_param
def add_data_param(
parser: Union[argparse.ArgumentParser,
argparse._ActionsContainer]) -> None
Specifies path to training data.
add_dry_run_param
def 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_validate_before_train
def add_validate_before_train(
parser: Union[argparse.ArgumentParser,
argparse._ActionsContainer]) -> None
Adds parameters for validating the domain and data files before training.
Arguments:
parser
- An instance ofArgumentParser
or_ActionsContainer
.
add_augmentation_param
def 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
def add_debug_plots_param(
parser: Union[argparse.ArgumentParser,
argparse._ActionsContainer]) -> None
Specifies if conversation flow should be visualized.
add_persist_nlu_data_param
def 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
def add_finetune_params(
parser: Union[argparse.ArgumentParser,
argparse._ActionsContainer]) -> None
Adds parameters for model finetuning.