RubricScore(String, Nullable<Int32>, Boolean, Int32, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A single dimension's score from a rubric-based evaluator run.
public RubricScore(string Id, int? Score, bool Applicable, int Weight, string Reason);
new Microsoft.Agents.AI.RubricScore : string * Nullable<int> * bool * int * string -> Microsoft.Agents.AI.RubricScore
Public Sub New (Id As String, Score As Nullable(Of Integer), Applicable As Boolean, Weight As Integer, Reason As String)
Parameters
- Id
- String
Dimension identifier — matches the id defined on the rubric.
Numeric score for the dimension, or null when the dimension was marked
non-applicable for this item. Foundry rubric evaluators emit integer scores on a 1–5 scale.
- Applicable
- Boolean
Whether the dimension applied to this item.
- Weight
- Int32
Dimension weight, mirroring the rubric definition.
- Reason
- String
Short rationale produced by the evaluator.
Remarks
Rubric evaluators (such as the generated rubric evaluators produced by Azure AI Foundry's adaptive evals) emit one RubricScore per dimension per item, alongside an overall weighted score. Attach instances to Dimensions as a typed view of the per-dimension breakdown returned by the provider (e.g. properties.dimension_scores).
Non-rubric evaluators (built-in quality, safety, or agent-behavior evaluators) leave Dimensions as null.