DataDesigner/docs/code_reference/config/config_builder.md
Andre Manoel 8b79b21298 Initialize orphan Fern docs website branch
Preserves tree from previous docs-website head: 5e47d33ea8. This branch is a CI-managed publish artifact like gh-pages; source provenance is tracked in commit messages rather than Git ancestry.
2026-05-14 01:17:51 +00:00

2.1 KiB

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