For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Getting Started
    • Welcome
    • Contributing
  • Concepts
    • Columns
    • Seed Datasets
    • Agent Rollout Ingestion
    • Custom Columns
    • Validators
    • Processors
    • Person Sampling
    • Traces
    • Architecture & Performance
    • Deployment Options
    • Security
  • Tutorials
    • Overview
    • The Basics
    • Structured Outputs, Jinja Expressions, and Conditional Generation
    • Seeding with an External Dataset
    • Providing Images as Context
    • Generating Images
    • Image-to-Image Editing
  • Recipes
    • Recipe Cards
  • Plugins
    • Overview
    • Example Plugin
    • FileSystemSeedReader Plugins
    • Discover
  • Code Reference
    • Overview
      • Overview
      • models
      • mcp
      • column_configs
      • config_builder
      • data_designer_config
      • run_config
      • sampler_params
      • validator_params
      • seeds
      • processors
      • analysis
      • Config API
        • Analysis
        • Base
        • Column Configs
        • Column Types
        • Config Builder
        • Custom Column
        • Data Designer Config
        • Dataset Metadata
        • Default Model Settings
        • Errors
        • Exportable Config
        • Fingerprint
        • Interface
        • Mcp
        • Models
        • Preview Results
        • Processor Types
        • Processors
        • Run Config
        • Sampler Constraints
        • Sampler Params
        • Seed
        • Seed Source
        • Seed Source Dataframe
        • Seed Source Types
        • Testing
        • Utils
          • Code Lang
          • Constants
          • Errors
          • Image Helpers
          • Info
          • Io Helpers
          • Misc
          • Numerical Helpers
          • Trace Renderer
          • Trace Type
          • Type Helpers
          • Visualization
          • Warning Helpers
        • Validator Params
        • Version
  • Dev Notes
    • Overview
    • Prompt Sensitivity
    • Retriever SDG Toolkit
    • Have It Your Way
    • VLM Long Document Understanding
    • Push Datasets to Hugging Face Hub
    • Text-to-SQL for Nemotron Super
    • Async All the Way Down
    • Owning the Model Stack
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoNeMo Data Designer
On this page
  • Module Contents
  • Functions
  • Data
  • API
Code ReferenceConfigConfig APIUtils

data_designer.config.utils.misc

||View as Markdown|
Previous

Io Helpers

Next

Numerical Helpers

Module Contents

Functions

NameDescription
kebab_to_snakeNone
template_error_handlerNone
assert_valid_jinja2_templateRaises an error if the template cannot be parsed.
is_notebook_environmentReturns True if running inside a Jupyter/IPython notebook.
can_run_data_designer_locallyReturns True if Data Designer can be run locally, False otherwise.
extract_keywords_from_jinja2_templateExtract all keywords from a valid Jinja2 template.
json_indent_list_of_stringsConvert a list of column names to a JSON string if the list is long.

Data

REPR_LIST_LENGTH_USE_JSON

API

1REPR_LIST_LENGTH_USE_JSON = 4
1data_designer.config.utils.misc.kebab_to_snake(s: str) -> str
1data_designer.config.utils.misc.template_error_handler()
1data_designer.config.utils.misc.assert_valid_jinja2_template(template: str) -> None

Raises an error if the template cannot be parsed.

1data_designer.config.utils.misc.is_notebook_environment() -> bool

Returns True if running inside a Jupyter/IPython notebook.

1data_designer.config.utils.misc.can_run_data_designer_locally() -> bool

Returns True if Data Designer can be run locally, False otherwise.

1data_designer.config.utils.misc.extract_keywords_from_jinja2_template(template: str) -> set[str]

Extract all keywords from a valid Jinja2 template.

1data_designer.config.utils.misc.json_indent_list_of_strings(
2 column_names: list[str],
3 *,
4 indent: int | str | None = None
5) -> list[str] | str | None

Convert a list of column names to a JSON string if the list is long.

This function helps keep Data Designer’s repr output clean and readable.

Parameters:

column_names
list[str]

List of column names.

indent
int | str | NoneDefaults to None

Indentation for the JSON string.

Returns:

list[str] | str | None

A list of column names or a JSON string if the list is long.