RubricCriterion Class

Definition

A single rubric criterion β€” one measurable quality dimension in an evaluator's scoring blueprint.

public class RubricCriterion : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RubricCriterion>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RubricCriterion>
type RubricCriterion = class
    interface IJsonModel<RubricCriterion>
    interface IPersistableModel<RubricCriterion>
Public Class RubricCriterion
Implements IJsonModel(Of RubricCriterion), IPersistableModel(Of RubricCriterion)
Inheritance
RubricCriterion
Implements

Constructors

Name Description
RubricCriterion(String, String, Int32)

Initializes a new instance of RubricCriterion.

Properties

Name Description
AlwaysApplicable

When true, the LLM judge always scores this criterion regardless of relevance (skips applicability assessment). The service-generated general quality/policy criterion has this set to true and is non-editable. Users may set this on their own custom criteria.

Description

What this criterion measures (e.g., 'Correctly identifies the user's reservation intent and pursues the appropriate workflow').

RubricId

Stable identifier for this rubric criterion (snake_case, e.g., correct_resolution). Required. Provided by the user when manually creating a rubric evaluator or during human-in-the-loop review of a generated catalog; the generation pipeline produces an initial value the user can edit. Editable when saving new versions.

Weight

Relative weight of this criterion (1-10). The generation pipeline assigns exactly one criterion weight 8-10; all others use 1-6. User edits are not constrained by this heuristic.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RubricCriterion>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<RubricCriterion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<RubricCriterion>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<RubricCriterion>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<RubricCriterion>.Write(ModelReaderWriterOptions)

Applies to