IntentResolutionEvaluatorContext Constructors
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.
Overloads
IntentResolutionEvaluatorContext(AITool[]) |
Initializes a new instance of the IntentResolutionEvaluatorContext class. |
IntentResolutionEvaluatorContext(IEnumerable<AITool>) |
Initializes a new instance of the IntentResolutionEvaluatorContext class. |
IntentResolutionEvaluatorContext(AITool[])
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>)
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.