Add Decision-Judge and Decision-Structured columns with support for common decision APIs
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- ai, backend-api-design
Hướng nghiên cứu
Read the existing judge and structured column implementations, their rubric and response schemas, and extract_reasoning_content to understand the current integration points. Compare those paths with the provider request and response formats listed in the issue, paying particular attention to score normalization and optional explanations. Done means defining compatible column behavior and provider adapters, with validation and evaluation against existing LLM judges; the issue does not identify specific file paths or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Priority Level
Medium (Nice to have)
Is your feature request related to a problem? Please describe.
Many dataset evaluation tasks only need a bounded judgment: a pass/fail result, a categorical label, or a score against a rubric. Using a general-purpose generative model for these tasks can add cost and latency, particularly when evaluating large datasets across several scoring dimensions.
I’d like to use decision models for:
- Judge scoring — the primary use case: evaluate generated content for dimensions such as relevance, groundedness, or instruction adherence.
- Simple structured objects: assign fields with predefined categorical values based on other columns—for example,
{"intent": "refund", "urgency": "high", "requires_review": true}.
The goal is to select models appropriate to each column while retaining Data Designer’s declarative configuration and managed execution.
Describe the solution you'd like
Support the main decision API families, including OpenAI Decisions and the System One interfaces used by TypeSafe, Liquid, Fastino, and Perplexity. Provider adapters should handle differences in request structure, authentication, supported capabilities, and response semantics.
Introduce two column types:
Decision-Judge: evaluate other columns against named rubrics, returning scores or categorical judgments with available probability metadata.Decision-Structured: populate a declared object from typed decisions, such as categorical choices, booleans, and ordered scores.
For example, the proposed Python API could look like this:
from typing import Literal
import data_designer.config as dd
from pydantic import BaseModel, Field
judge = dd.DecisionJudgeColumnConfig(
name="quality",
model_alias="decision-model",
prompt="Question: {{ question }}\nResponse: {{ response }}",
scores=[
dd.Score(
name="relevance",
description="How directly does the response address the question?",
options={
1: "Does not address the question",
2: "Partially addresses the question",
3: "Directly and fully addresses the question",
},
),
],
)
class TicketLabels(BaseModel):
intent: Literal["refund", "technical_support", "other"]
urgency: Literal["low", "medium", "high"]
requires_review: bool = Field(
description="Whether the ticket requires human review."
)
labels = dd.DecisionStructuredColumnConfig(
name="ticket_labels",
model_alias="decision-model",
prompt="Classify this support ticket: {{ ticket }}",
output_format=TicketLabels,
)
The common APIs support categorical choices, binary probabilities, and ordered scoring.
Additional desired behavior:
- Preserve available probabilities, confidence, model version, and usage metadata.
- Support judgments without a written explanation, with explanation availability treated as a provider/model capability.
- Reject unsupported field types and incompatible model settings before generation.
- Group independent questions against shared input when supported, while respecting provider limits and billing behavior.
Describe alternatives you've considered
Continue using LLM-Judge and LLM-Structured columns, especially when explanations, open-ended fields, or more complex reasoning are important.
Agent Investigation
Codebase research identified several relevant integration points:
- Existing judge rubrics already define named dimensions with finite integer or string options.
- Judge and structured columns currently use chat-completion generation. Decision APIs require request/response adaptation beyond changing a provider URL.
- The current judge response schema requires a
reasoningstring per score. Decision-Judge needs a result schema and analysis/reporting behavior that support absent explanations. - This explanation is separate from the optional provider
reasoning_contentcaptured byextract_reasoning_content. - Score normalization needs explicit semantics. Fastino returns a discrete winning index plus
expected_level, whereas OpenAI’s decisionscoreis a probability-weighted level index. Fastino scoring, OpenAI scoring
Validation should compare supported decision providers with existing LLM judges on representative rows, measuring quality against trusted labels, latency, token usage, and actual cost.
Additional context
The proposed adapters should cover these main interfaces:
| Provider | Endpoint | Core request structure |
|---|---|---|
| TypeSafe Jev | /v1/systemone |
Shared state; named questions |
| Liquid d1 | /decisions/v1/systemone |
Core TypeSafe-compatible structure, with extensions |
| Fastino GLiDE | /v1/systemone |
Shared state; named questions |
| Perplexity Decider | /v1/decisions |
Shared state; named questions |
| OpenAI Decisions | /v1/decisions |
input; questions array |
These interfaces share concepts but differ in schemas and response semantics.
Nemotron Decision documents typed choice, binary, and rubric decisions with per-option probabilities; compatibility would depend on the selected serving interface.
Expected benefits: Potential cost savings and higher throughput. Decision models can avoid generating explanation text and full JSON responses.
Limitations and tradeoffs: Limited explanations and reasoning controls.
Checklist
- I've reviewed existing issues and the documentation
- This is a design proposal, not a "please build this" request
- Ngôn ngữ chính
- Python
- Star
- 2.4k
- Fork
- 253
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA-NeMo/DataDesigner
-
Default OpenAI reasoning/vision model `gpt-5` is retired on 2026-12-11Có thể đã có người làm @pcbeingused333 đã nhận 23 ngày trước. Đang mởneeds-discussion triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
NVIDIA-NeMo/DataDesigner#1129 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Local seed path containing a single quote breaks the DuckDB queryCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
NVIDIA-NeMo/DataDesigner#1102 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enforce \from future import annotations` via ruff FA102 rule`Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởtask
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA-NeMo/DataDesigner#760 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs-discussion
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
NVIDIA-NeMo/DataDesigner#1179 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Decimal fields inside nested models aren't normalized in structured outputCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
NVIDIA-NeMo/DataDesigner#1177 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NVIDIA-NeMo/DataDesigner
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Có thể đã có người làm @cestercian đã nhận hôm nay. Đang mởcomp/cli P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#162259 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[request] gRpc/1.86.0Đang mởupstream update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
conan-io/conan-center-index#31597 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AOSSIE-Org/PictoPy#1802 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
community-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA-NeMo/Run#727 ·
Maintainer thường phản hồi trong vòng 1 ngày