Example #1
0
def set_interactive_arguments(parser: argparse.ArgumentParser):
    add_model_param(parser)
    add_config_param(parser)
    add_domain_param(parser)
    add_data_param(parser)
    add_out_param(parser)

    add_force_param(parser)

    add_skip_visualization_param(parser)

    add_server_arguments(parser)
Example #2
0
def set_interactive_arguments(parser: argparse.ArgumentParser) -> None:
    parser.add_argument(
        "--e2e",
        action="store_true",
        help="Save story files in e2e format. In this format user messages will be included in the stories.",
    )

    add_model_param(parser, default=None)
    add_data_param(parser)

    _add_common_params(parser)
    train_arguments = _add_training_arguments(parser)

    add_force_param(train_arguments)
    add_persist_nlu_data_param(train_arguments)
Example #3
0
def set_interactive_arguments(parser: argparse.ArgumentParser):
    add_model_param(parser, default=None)
    add_data_param(parser)

    add_skip_visualization_param(parser)

    add_endpoint_param(
        parser,
        help_text=
        "Configuration file for the model server and the connectors as a yml file.",
    )

    train_arguments = parser.add_argument_group("Train Arguments")
    add_config_param(train_arguments)
    add_domain_param(train_arguments)
    add_out_param(train_arguments)
    add_augmentation_param(train_arguments)
    add_debug_plots_param(train_arguments)
    add_dump_stories_param(train_arguments)
    add_force_param(train_arguments)