Lingua

AIJudgeLoopEvaluator(IChatClient, AIJudgeLoopEvaluatorOptions) Constructor

Definition

Initializes a new instance of the AIJudgeLoopEvaluator class.

public AIJudgeLoopEvaluator(Microsoft.Extensions.AI.IChatClient judgeClient, Microsoft.Agents.AI.AIJudgeLoopEvaluatorOptions? options = default);
new Microsoft.Agents.AI.AIJudgeLoopEvaluator : Microsoft.Extensions.AI.IChatClient * Microsoft.Agents.AI.AIJudgeLoopEvaluatorOptions -> Microsoft.Agents.AI.AIJudgeLoopEvaluator
Public Sub New (judgeClient As IChatClient, Optional options As AIJudgeLoopEvaluatorOptions = Nothing)

Parameters

judgeClient
IChatClient

The chat client used to judge whether the original request was answered.

options
AIJudgeLoopEvaluatorOptions

Optional configuration for the judge. When null, defaults are used.

Exceptions

judgeClient is null.

Applies to