AzureAIProjectsModelFactory.EvaluationsDimension Method

Definition

A single dimension — one independent, measurable quality dimension within a rubric evaluator's scoring blueprint.

public static Azure.AI.Projects.Evaluation.EvaluationsDimension EvaluationsDimension(string id = default, string description = default, int weight = 0, bool? alwaysApplicable = default);
static member EvaluationsDimension : string * string * int * Nullable<bool> -> Azure.AI.Projects.Evaluation.EvaluationsDimension
Public Shared Function EvaluationsDimension (Optional id As String = Nothing, Optional description As String = Nothing, Optional weight As Integer = 0, Optional alwaysApplicable As Nullable(Of Boolean) = Nothing) As EvaluationsDimension

Parameters

id
String

Stable identifier for this dimension (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 set; the generation pipeline produces an initial value the user can edit. Editable when saving new versions.

description
String

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

weight
Int32

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

alwaysApplicable
Nullable<Boolean>

When true, the LLM judge always scores this dimension regardless of relevance (skips applicability assessment). The service-generated general quality/policy dimension has this set to true and is non-editable. Users may set this on their own custom dimensions. The service defaults to false if a value is not specified by the caller.

Returns

A new EvaluationsDimension instance for mocking.

Applies to