GeneratedEvaluatorRef Class

Definition

A reference to a generated rubric evaluator that already exists in the provider's registry.

public sealed class GeneratedEvaluatorRef : IEquatable<Microsoft.Agents.AI.GeneratedEvaluatorRef>
type GeneratedEvaluatorRef = class
    interface IEquatable<GeneratedEvaluatorRef>
Public NotInheritable Class GeneratedEvaluatorRef
Implements IEquatable(Of GeneratedEvaluatorRef)
Inheritance
GeneratedEvaluatorRef
Implements

Remarks

Pass instances of this class to a batch evaluator (for example Microsoft.Agents.AI.Foundry.FoundryEvals) to score items with a pre-existing rubric evaluator that was authored in the provider's portal or via the provider's dedicated SDK. Agent Framework is a consumer here: it does not create or modify the evaluator definition; it only references the persisted version by name.

Pinning Version is strongly recommended so evaluation runs are reproducible. A nullVersion resolves to whichever version is current at execution time; consuming evaluators are expected to emit a warning when a versionless reference is used. CI gates should always pass a concrete version.

Constructors

Name Description
GeneratedEvaluatorRef(String, String, String)

A reference to a generated rubric evaluator that already exists in the provider's registry.

Properties

Name Description
DisplayName

Optional human-readable name used in result summaries. Defaults to Name when unset.

Name

Evaluator name as stored in the provider's registry (for example "reservation-policy-rubric"). Distinct from built-in evaluators such as "relevance".

Version

Pinned evaluator version. null means "latest" — this is discouraged for reproducible runs and consumers may emit a warning when used.

Methods

Name Description
<Clone>$()
Deconstruct(String, String, String)
Equals(GeneratedEvaluatorRef)
Equals(Object)
GetHashCode()
Latest(String, String)

Creates a versionless reference that resolves to the latest version of the evaluator at run time.

ToString()

Operators

Name Description
Equality(GeneratedEvaluatorRef, GeneratedEvaluatorRef)
Inequality(GeneratedEvaluatorRef, GeneratedEvaluatorRef)

Applies to