lf add
Create/update entities from run config or entity YAML files.
Usage
lf add [OPTIONS] COMMAND [ARGS]...Subcommands
| app | Create/update AI app(s) based on YAML configuration(s). |
| model-adapter | Create/update model adapter(s) based on YAML configuration(s) or run config. |
| model | Create/update model(s) based on YAML configuration(s) or run config. |
| dataset-generator | Create/update dataset generator(s) based on YAML configuration(s) or run config. |
| dataset | Create/update dataset(s) based on YAML configuration(s) or run config. |
| task | Create/update task(s) based on YAML configuration(s) or run config. |
| risk-scorer | Create/update risk scorer(s) based on YAML configuration(s). |
lf add app
Create/update AI app(s) based on YAML configuration(s).
Usage
lf add app [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Glob path to AI app definitions. | |
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |
lf add model-adapter
Create/update model adapter(s) based on YAML configuration(s) or run config.
Usage
lf add model-adapter [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Either a path to a single run YAML file or a glob path to model adapter definitions. | |
-p, --provider |
text | The model adapter provider and model adapter key in the format ‘<provider_id>/<adapter_key>’ (e.g. ‘latticeflow/openai_chat_completion’). |
|
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |
lf add model
Create/update model(s) based on YAML configuration(s) or run config.
Usage
lf add model [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Either a path to a single run YAML file or a glob path to model definitions. | |
-p, --provider |
text | The model provider and model key in the format ‘<provider_id>/<model_key>’ to integrate a model from a third-party provider (e.g. ‘openai/gpt-4o’). The model key must match the provider’s official model key/ID, as it is what will be sent to the provider during inference. |
|
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |
lf add dataset-generator
Create/update dataset generator(s) based on YAML configuration(s) or run config.
Usage
lf add dataset-generator [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Either a path to a single run YAML file or a glob path to dataset generator definitions. | |
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |
lf add dataset
Create/update dataset(s) based on YAML configuration(s) or run config.
Usage
lf add dataset [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Either a path to a single run YAML file or a glob path to dataset definitions. | |
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |
lf add task
Create/update task(s) based on YAML configuration(s) or run config.
Usage
lf add task [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Either a path to a single run YAML file or a glob path to task definitions. | |
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |
lf add risk-scorer
Create/update risk scorer(s) based on YAML configuration(s).
Usage
lf add risk-scorer [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--file, -f |
path | Glob path to risk scorer definitions. | |
-v, --validate |
boolean | Whether to only validate the config file without creating or updating any entities. | False |
--no-update |
boolean | Whether to force skip updating the existing entities. | False |