Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 2.12 KB

File metadata and controls

10 lines (6 loc) · 2.12 KB

Data Designer's Config Builder

Use DataDesignerConfigBuilder to construct DataDesignerConfig objects. The builder accumulates model configs, tool configs, column configs, constraints, seed settings, processors, and profilers.

Inputs can come from scratch, a dict, BuilderConfig, a local YAML/JSON file, or an HTTP(S) YAML/JSON URL via from_config(). Use build() to create a DataDesignerConfig, or write_config() to serialize the current builder config to YAML or JSON.

!!! info "Model config loading" DataDesignerConfigBuilder accepts model configs as a list of ModelConfig objects, a YAML/JSON config path, or None. When model_configs=None, the builder loads default model configs if Data Designer can run locally; otherwise initialization raises BuilderConfigurationError. Model configs define the aliases referenced by model-backed columns such as LLMTextColumnConfig, LLMCodeColumnConfig, LLMStructuredColumnConfig, LLMJudgeColumnConfig, EmbeddingColumnConfig, and ImageColumnConfig.

::: data_designer.config.config_builder