The Data Designer CLI provides an interactive interface for creating and managing default model providers and model configurations stored in your Data Designer home directory (default: ~/.data-designer/).
The CLI manages two YAML configuration files:
model_providers.yaml: Model provider configurationsmodel_configs.yaml: Model configurations
!!! info "Automatic Configuration" If these configuration files don't already exist, the Data Designer library automatically creates them with default settings at runtime when first initialized.
!!! note "Custom Directory"
You can customize the configuration directory location with the DATA_DESIGNER_HOME environment variable:
bash export DATA_DESIGNER_HOME="/path/to/your/custom/directory"
The Data Designer CLI provides four main configuration commands:
# Configure model providers
data-designer config providers
# Configure models
data-designer config models
# List current configurations
data-designer config list
# Reset all configurations
data-designer config reset!!! tip "Getting help"
See available commands
bash data-designer --help
See available sub-commands
```bash
data-designer config --help
```
Run the interactive provider configuration command:
data-designer config providersAdd a new provider: Define a new provider by entering its name, endpoint URL, provider type, and optionally an API key (as plain text or as an environment variable name).
Update an existing provider: Modify an existing provider's settings. All fields are pre-filled with current values.
Delete a provider: Remove a provider and its associated models.
Delete all providers: Remove all providers and their associated models.
Change default provider: Set which provider is used by default. This option is only available when multiple providers are configured.
Run the interactive model configuration command:
data-designer config models!!! info "Provider Required"
You need at least one provider configured before adding models. Run data-designer config providers first if none exist.
Add a new model configuration
Create a new model configuration with the following fields:
- Alias: A unique name for referencing this model in a column configuration.
- Model ID: The model identifier (e.g.,
nvidia/nemotron-3-nano-30b-a3b) - Provider: Select from available providers (if multiple exist)
- Temperature: Sampling temperature (0.0 to 2.0)
- Top P: Nucleus sampling parameter (0.0 to 1.0)
- Max Tokens: Maximum output length (1 to 100000)
!!! note "Additional Settings"
To configure additional inference parameter settings or use distribution-based inference parameters, edit the model_configs.yaml file directly.
Update an existing model configuration: Modify an existing model's configuration. All fields are pre-filled with current values.
Delete a model configuration: Remove a single model configuration.
Delete all model configurations: Remove all model configurations. The CLI will ask for confirmation before proceeding.
View all current configurations:
data-designer config listThis command displays:
- Model Providers: All configured providers with their endpoints (API keys are masked)
- Default Provider: The currently selected default provider
- Model Configurations: All configured models with their settings
Delete all configuration files:
data-designer config resetThe CLI will show which configuration files exist and ask for confirmation before deleting them.
!!! danger "Destructive Operation" This command permanently deletes all configuration files and resets to the default model providers and configurations. You'll need to reconfigure your custom configurations from scratch.
- Default Model Settings: Pre-configured providers and model settings included with Data Designer
- Custom Model Settings: Learn how to create custom providers and model configurations
- Model Providers: Learn about the
ModelProviderclass and provider configuration - Model Configurations: Learn about
ModelConfig - Getting Started: Installation and basic usage example