Share via


IntentResolutionEvaluatorContext Constructors

Definition

Overloads

IntentResolutionEvaluatorContext(AITool[])

Source:
IntentResolutionEvaluatorContext.cs

Initializes a new instance of the IntentResolutionEvaluatorContext class.

public:
 IntentResolutionEvaluatorContext(... cli::array <Microsoft::Extensions::AI::AITool ^> ^ toolDefinitions);
public IntentResolutionEvaluatorContext(params Microsoft.Extensions.AI.AITool[] toolDefinitions);
new Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.AITool[] -> Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext
Public Sub New (ParamArray toolDefinitions As AITool())

Parameters

toolDefinitions
AITool[]

The set of tool definitions (see Tools) that were used when generating the model response that is being evaluated.

Note that at the moment, IntentResolutionEvaluator only supports evaluating calls to tools that are defined as AIFunctions. Any other AITool definitions will be ignored.

Applies to

IntentResolutionEvaluatorContext(IEnumerable<AITool>)

Source:
IntentResolutionEvaluatorContext.cs

Initializes a new instance of the IntentResolutionEvaluatorContext class.

public:
 IntentResolutionEvaluatorContext(System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::AITool ^> ^ toolDefinitions);
public IntentResolutionEvaluatorContext(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.AITool> toolDefinitions);
new Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext : seq<Microsoft.Extensions.AI.AITool> -> Microsoft.Extensions.AI.Evaluation.Quality.IntentResolutionEvaluatorContext
Public Sub New (toolDefinitions As IEnumerable(Of AITool))

Parameters

toolDefinitions
IEnumerable<AITool>

The set of tool definitions (see Tools) that were used when generating the model response that is being evaluated.

Note that at the moment, IntentResolutionEvaluator only supports evaluating calls to tools that are defined as AIFunctions. Any other AITool definitions will be ignored.

Applies to