> This page is for version v1.0.1.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo/datadesigner/latest/llms.txt
> - v1.0.1: https://docs.nvidia.com/nemo/datadesigner/v1.0.1/llms.txt
> - v1.0.0: https://docs.nvidia.com/nemo/datadesigner/v1.0.0/llms.txt
> - v0.10.0: https://docs.nvidia.com/nemo/datadesigner/v0.10.0/llms.txt
> - v0.9.7: https://docs.nvidia.com/nemo/datadesigner/v0.9.7/llms.txt
> - v0.9.6: https://docs.nvidia.com/nemo/datadesigner/v0.9.6/llms.txt
> - v0.9.5: https://docs.nvidia.com/nemo/datadesigner/v0.9.5/llms.txt
> - v0.9.4: https://docs.nvidia.com/nemo/datadesigner/v0.9.4/llms.txt
> - v0.9.3: https://docs.nvidia.com/nemo/datadesigner/v0.9.3/llms.txt
> - v0.9.2: https://docs.nvidia.com/nemo/datadesigner/v0.9.2/llms.txt
> - v0.9.1: https://docs.nvidia.com/nemo/datadesigner/v0.9.1/llms.txt
> - v0.9.0: https://docs.nvidia.com/nemo/datadesigner/v0.9.0/llms.txt
> - v0.8.0: https://docs.nvidia.com/nemo/datadesigner/v0.8.0/llms.txt
> - v0.7.0: https://docs.nvidia.com/nemo/datadesigner/v0.7.0/llms.txt
> - v0.6.1: https://docs.nvidia.com/nemo/datadesigner/v0.6.1/llms.txt
> - v0.6.0: https://docs.nvidia.com/nemo/datadesigner/v0.6.0/llms.txt
> - v0.5.9: https://docs.nvidia.com/nemo/datadesigner/v0.5.9/llms.txt
> - v0.5.8: https://docs.nvidia.com/nemo/datadesigner/v0.5.8/llms.txt
> - Older versions: https://docs.nvidia.com/nemo/datadesigner/older-versions/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/datadesigner/llms.txt.

# 🎨 NeMo Data Designer

👋 Welcome! Data Designer is an orchestration framework for generating high-quality synthetic data. You provide LLM endpoints (NVIDIA, OpenAI, vLLM, etc.), and Data Designer handles batching, parallelism, validation, and more.

**Configure** columns and models → **Preview** samples and iterate → **Create** your full dataset at scale.

Unlike raw LLM calls, Data Designer gives you statistical diversity, field correlations, automated validation, and reproducible workflows. For details, see [Architecture & Performance](/nemo/datadesigner/v1.0.1/concepts/architecture-performance).

📝 Want to hear from the team? Check out our **[Dev Notes](/nemo/datadesigner/v1.0.1/dev-notes/overview)** for deep dives, best practices, and insights.

## Install

```bash
pip install data-designer
```

> **Note**
>
> To apply maintained minimum dependency versions for known vulnerabilities, install with the optional security constraints file:
>
> ```bash
> pip install data-designer -c "https://raw.githubusercontent.com/NVIDIA-NeMo/DataDesigner/main/constraints.txt"
> ```
>
> The same constraints work with uv:
>
> ```bash
> uv pip install data-designer -c "https://raw.githubusercontent.com/NVIDIA-NeMo/DataDesigner/main/constraints.txt"
> uv add data-designer -c "https://raw.githubusercontent.com/NVIDIA-NeMo/DataDesigner/main/constraints.txt"
> ```
>
> See [Dependency Security](/nemo/datadesigner/v1.0.1/concepts/security#dependency-security) for details and how to retain constraints in uv projects.

> **Note**
>
> NOTICE AND DISCLAIMER: This software automatically retrieves, accesses or interacts with external materials. Those retrieved materials are not distributed with this software and are governed solely by separate terms, conditions and licenses. You are solely responsible for finding, reviewing and complying with all applicable terms, conditions, and licenses, and for verifying the security, integrity and suitability of any retrieved materials for your specific use case. This software is provided "AS IS", without warranty of any kind. The author makes no representations or warranties regarding any retrieved materials, and assumes no liability for any losses, damages, liabilities or legal consequences from your use or inability to use this software or any retrieved materials. Use this software and the retrieved materials at your own risk.

## Setup

Get an API key from one of the default providers and set it as an environment variable:

```bash
# NVIDIA (build.nvidia.com) - recommended
export NVIDIA_API_KEY="your-api-key-here"

# OpenAI (platform.openai.com)
export OPENAI_API_KEY="your-openai-api-key-here"

# OpenRouter (openrouter.ai)
export OPENROUTER_API_KEY="your-openrouter-api-key-here"
```

Verify your configuration is ready:

```bash
data-designer config list
```

This displays the pre-configured model providers and models. See [CLI Configuration](/nemo/datadesigner/v1.0.1/concepts/models/configure-with-the-cli) to customize.

## Your First Dataset

Let's generate multilingual greetings to see Data Designer in action:

```python
import data_designer.config as dd
from data_designer.interface import DataDesigner

# Initialize with default model providers
data_designer = DataDesigner()
config_builder = dd.DataDesignerConfigBuilder()

# Add a sampler column to randomly select a language
config_builder.add_column(
    dd.SamplerColumnConfig(
        name="language",
        sampler_type=dd.SamplerType.CATEGORY,
        params=dd.CategorySamplerParams(
            values=["English", "Spanish", "French", "German", "Italian"],
        ),
    )
)

# Add an LLM text generation column
config_builder.add_column(
    dd.LLMTextColumnConfig(
        name="greeting",
        model_alias="nvidia-text",
        prompt="Write a casual and formal greeting in {{ language }}.",
    )
)

# Generate a preview
results = data_designer.preview(config_builder)
results.display_sample_record()
```

🎉 That's it! You've just designed your first synthetic dataset.

## Parameterize Python Config Workflows

Local Python config modules can accept workflow-specific command-line arguments without hardcoding values. Define `load_config_builder` with an optional `DataDesignerScriptParams` argument and parse its raw `argv` with your preferred library:

```python
import argparse

import data_designer.config as dd


def load_config_builder(
    params: dd.DataDesignerScriptParams | None = None,
) -> dd.DataDesignerConfigBuilder:
    parser = argparse.ArgumentParser()
    parser.add_argument("--seed-path", required=True)
    args = parser.parse_args(list(params.argv if params else ()))

    builder = dd.DataDesignerConfigBuilder()
    builder.with_seed_dataset(dd.LocalFileSeedSource(path=args.seed_path))
    return builder
```

Keep Data Designer options before `--`; arguments after it are forwarded unchanged to the workflow:

```bash
data-designer create workflow.py --num-records 32 --dataset-name run_a -- --seed-path seeds.parquet
data-designer preview workflow.py -n 3 -- --seed-path sample.parquet
data-designer validate workflow.py -- --seed-path seeds.parquet
data-designer check-models workflow.py -- --seed-path seeds.parquet
```

> **Note**
>
> Forwarded arguments are supported only for local `.py` config modules. YAML, JSON, and remote config URLs reject them.

## 🚀 Next Steps

#### [Tutorials](/nemo/datadesigner/v1.0.1/tutorials/overview)

Step-by-step notebooks covering core features

#### [Recipes](/nemo/datadesigner/v1.0.1/recipes/recipe-cards)

Ready-to-use examples for common use cases

#### [Concepts](/nemo/datadesigner/v1.0.1/concepts/columns)

Deep dive into columns, models, and configuration

## Learn More

* **[Deployment Options: Library vs. Microservice](/nemo/datadesigner/v1.0.1/concepts/deployment-options)** – Library vs. NeMo Microservice
* **[Model Configuration](/nemo/datadesigner/v1.0.1/concepts/models/default-model-settings)** – Configure LLM providers and models
* **[Architecture & Performance](/nemo/datadesigner/v1.0.1/concepts/architecture-performance)** – Optimize for throughput and scale