2 instantiations of IntentResolutionEvaluatorContext
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
AgentQualityEvaluatorTests.cs (2)
123new IntentResolutionEvaluatorContext(toolDefinitions: _chatOptionsWithTools.Tools!); 183new IntentResolutionEvaluatorContext(toolDefinitions: _chatOptionsWithTools.Tools!);
14 references to IntentResolutionEvaluatorContext
Microsoft.Extensions.AI.Evaluation.Integration.Tests (2)
AgentQualityEvaluatorTests.cs (2)
122var toolDefinitionsForIntentResolution = 182var toolDefinitionsForIntentResolutionEvaluator =
Microsoft.Extensions.AI.Evaluation.Quality (12)
IntentResolutionEvaluator.cs (9)
24/// <see cref="IntentResolutionEvaluatorContext.ToolDefinitions"/>. 29/// <see cref="IntentResolutionEvaluatorContext.ToolDefinitions"/> will be ignored. 107IntentResolutionEvaluatorContext? context = 108additionalContext?.OfType<IntentResolutionEvaluatorContext>().FirstOrDefault(); 114$"Supplied {nameof(IntentResolutionEvaluatorContext)} did not contain any {nameof(IntentResolutionEvaluatorContext.ToolDefinitions)}.")); 129$"The {nameof(modelResponse)} supplied for evaluation contained calls to tools that were not supplied via {nameof(IntentResolutionEvaluatorContext)}.")); 135$"The {nameof(modelResponse)} supplied for evaluation contained calls to tools that were not included in the supplied {nameof(IntentResolutionEvaluatorContext)}.")); 168IntentResolutionEvaluatorContext? context)
IntentResolutionEvaluatorContext.cs (3)
30/// Initializes a new instance of the <see cref="IntentResolutionEvaluatorContext"/> class. 49/// Initializes a new instance of the <see cref="IntentResolutionEvaluatorContext"/> class. 68/// <see cref="IntentResolutionEvaluatorContext"/>.