IAgentEvaluator.EvaluateAsync Method
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.
Evaluates a batch of items and returns aggregate results.
public System.Threading.Tasks.Task<Microsoft.Agents.AI.AgentEvaluationResults> EvaluateAsync(System.Collections.Generic.IReadOnlyList<Microsoft.Agents.AI.EvalItem> items, string evalName = "Agent Framework Eval", System.Threading.CancellationToken cancellationToken = default);
abstract member EvaluateAsync : System.Collections.Generic.IReadOnlyList<Microsoft.Agents.AI.EvalItem> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Agents.AI.AgentEvaluationResults>
Public Function EvaluateAsync (items As IReadOnlyList(Of EvalItem), Optional evalName As String = "Agent Framework Eval", Optional cancellationToken As CancellationToken = Nothing) As Task(Of AgentEvaluationResults)
Parameters
- items
- IReadOnlyList<EvalItem>
The items to evaluate.
- evalName
- String
A display name for this evaluation run.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Aggregate evaluation results.