IntentResolutionEvaluatorContext Class
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.
Contextual information that the IntentResolutionEvaluator uses to evaluate an AI system's effectiveness at identifying and resolving user intent.
public ref class IntentResolutionEvaluatorContext sealed : Microsoft::Extensions::AI::Evaluation::EvaluationContext
[System.Diagnostics.CodeAnalysis.Experimental("AIEVAL001")]
public sealed class IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
public sealed class IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
[<System.Diagnostics.CodeAnalysis.Experimental("AIEVAL001")>]
type IntentResolutionEvaluatorContext = class
inherit EvaluationContext
type IntentResolutionEvaluatorContext = class
inherit EvaluationContext
Public NotInheritable Class IntentResolutionEvaluatorContext
Inherits EvaluationContext
- Inheritance
- Attributes
Remarks
IntentResolutionEvaluator evaluates an AI system's effectiveness at identifying and resolving user intent based on the supplied conversation history and the tool definitions supplied via ToolDefinitions.
Note that at the moment, IntentResolutionEvaluator only supports evaluating calls to tools that are defined as AIFunctions. Any other AITool definitions that are supplied via ToolDefinitions will be ignored.
Constructors
IntentResolutionEvaluatorContext(AITool[]) |
Initializes a new instance of the IntentResolutionEvaluatorContext class. |
IntentResolutionEvaluatorContext(IEnumerable<AITool>) |
Initializes a new instance of the IntentResolutionEvaluatorContext class. |
Properties
Contents |
Gets or sets a list of AIContent objects that include all the information present in this EvaluationContext. (Inherited from EvaluationContext) |
Name |
Gets or sets the name for this EvaluationContext. (Inherited from EvaluationContext) |
ToolDefinitions |
Gets set of tool definitions (see Tools) that were used when generating the model response that is being evaluated. |
ToolDefinitionsContextName |
Gets the unique Name that is used for IntentResolutionEvaluatorContext. |