AIJudgeLoopEvaluator(IChatClient, AIJudgeLoopEvaluatorOptions) Constructor
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.
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.