Add an opt-in native schema-enforcement mode to LLMStructuredColumnConfig
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
Research direction
This is a design proposal, so start by reading the existing LLMStructuredColumnConfig and LLMTextColumnConfig definitions, plus how inference_parameters.extra_body is passed to the model call. Settle how the native request schema is derived from a Pydantic model or JSON Schema, and how unsupported configurations are reported. Done means an agreed design with maintainers, not a patch.
Written by the indexing model from the issue text.
Description
Priority Level
Medium (Nice to have)
Is your feature request related to a problem? Please describe.
Native schema enforcement is possible today using LLMTextColumnConfig, provider-specific parameters in inference_parameters.extra_body, and explicit JSON deserialization and validation.
However, users who already define a Pydantic model or JSON Schema in LLMStructuredColumnConfig must switch column types and manually wire the schema into the request to use that capability.
Describe the solution you'd like
Add an optional mode to LLMStructuredColumnConfig that:
- Derives the native request schema from the existing column schema.
- Sends it through the appropriate provider interface.
- Uses formatting instructions consistent with native JSON output.
- Retains local validation and the existing parsed-object output.
- Preserves current behavior by default.
- Reports unsupported configurations clearly rather than silently downgrading.
Endpoint/model support should remain the user’s responsibility, with documented requirements and limitations.
Describe alternatives you've considered
The text-column-plus-extra_body workaround described above, followed by an expression/custom column for parsing and validation. This works, but duplicates wiring that the structured column could handle.
Agent Investigation
No response
Additional context
Anonymizer’s validator and augmenter use custom columns with direct model-facade calls. Those calls can already supply native schema parameters, so this feature is not a prerequisite for Anonymizer’s integration. Its benefit is making native enforcement straightforward for users of DataDesigner’s standard structured columns.
Checklist
- I've reviewed existing issues and the documentation
- This is a design proposal, not a "please build this" request
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 258
- Avg merge
- 4d 20m
- Merged PRs (30d)
- 32
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA-NeMo/DataDesigner
-
Judge score profiler samples reasoning with squared category weights, crowding out uncommon scoresOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
NVIDIA-NeMo/DataDesigner#1202 ·
Maintainers usually reply within 1 day
-
Local seed path containing a single quote breaks the DuckDB queryPossibly taken @xubenqiang claimed this 39 days ago. Openbug triaged
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
NVIDIA-NeMo/DataDesigner#1102 · 3 comments ·
Maintainers usually reply within 1 day
-
enforce \from future import annotations` via ruff FA102 rule`May be free again A pull request for this issue was closed without being merged. Opentask
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NVIDIA-NeMo/DataDesigner#760 ·
Maintainers usually reply within 1 day
-
NVIDIA-NeMo/DataDesigner#1205 ·
Maintainers usually reply within 1 day
-
NVIDIA-NeMo/DataDesigner#1204 ·
Maintainers usually reply within 1 day
All issues in NVIDIA-NeMo/DataDesigner
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day