GeneratedEvaluatorRef Class
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 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
|
| Version |
Pinned evaluator version. |
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) | |