TaskAdherenceEvaluatorContext 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
TaskAdherenceEvaluatorContext(AITool[]) |
Initializes a new instance of the TaskAdherenceEvaluatorContext class. |
TaskAdherenceEvaluatorContext(IEnumerable<AITool>) |
Initializes a new instance of the TaskAdherenceEvaluatorContext class. |
TaskAdherenceEvaluatorContext(AITool[])
Initializes a new instance of the TaskAdherenceEvaluatorContext class.
public:
TaskAdherenceEvaluatorContext(... cli::array <Microsoft::Extensions::AI::AITool ^> ^ toolDefinitions);
public TaskAdherenceEvaluatorContext(params Microsoft.Extensions.AI.AITool[] toolDefinitions);
new Microsoft.Extensions.AI.Evaluation.Quality.TaskAdherenceEvaluatorContext : Microsoft.Extensions.AI.AITool[] -> Microsoft.Extensions.AI.Evaluation.Quality.TaskAdherenceEvaluatorContext
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, TaskAdherenceEvaluator only supports evaluating calls to tools that are defined as AIFunctions. Any other AITool definitions will be ignored.
Applies to
TaskAdherenceEvaluatorContext(IEnumerable<AITool>)
Initializes a new instance of the TaskAdherenceEvaluatorContext class.
public:
TaskAdherenceEvaluatorContext(System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::AITool ^> ^ toolDefinitions);
public TaskAdherenceEvaluatorContext(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.AITool> toolDefinitions);
new Microsoft.Extensions.AI.Evaluation.Quality.TaskAdherenceEvaluatorContext : seq<Microsoft.Extensions.AI.AITool> -> Microsoft.Extensions.AI.Evaluation.Quality.TaskAdherenceEvaluatorContext
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, TaskAdherenceEvaluator only supports evaluating calls to tools that are defined as AIFunctions. Any other AITool definitions will be ignored.