GeneratedEvaluatorRef.Latest(String, String) Method

Definition

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

public static Microsoft.Agents.AI.GeneratedEvaluatorRef Latest(string name, string? displayName = default);
static member Latest : string * string -> Microsoft.Agents.AI.GeneratedEvaluatorRef
Public Shared Function Latest (name As String, Optional displayName As String = Nothing) As GeneratedEvaluatorRef

Parameters

name
String

Evaluator name as stored in the provider's registry.

displayName
String

Optional human-readable name used in result summaries.

Returns

A new GeneratedEvaluatorRef with Version unset.

Remarks

Discouraged for reproducible runs. Prefer the primary constructor with an explicit Version so CI and replay evaluations stay stable when the evaluator is updated in the provider's registry.

Applies to