nat.cli.commands.optimize#

Attributes#

Functions#

optimizer_command(→ None)

Optimize workflow with the specified dataset

run_optimizer(config)

run_optimizer_callback(processors, *, config_file, ...)

Run the optimizer with the provided config file and dataset.

Module Contents#

logger#
optimizer_command(ctx, **kwargs) None#

Optimize workflow with the specified dataset

async run_optimizer(config: nat.data_models.optimizer.OptimizerRunConfig)#
run_optimizer_callback(
processors,
*,
config_file: pathlib.Path,
dataset: pathlib.Path,
result_json_path: str,
endpoint: str,
endpoint_timeout: int,
)#

Run the optimizer with the provided config file and dataset.