4 instantiations of ChatConfiguration
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
Setup.cs (1)
27return new ChatConfiguration(chatClient);
Microsoft.Extensions.AI.Evaluation.Reporting (1)
ReportingConfiguration.cs (1)
252chatConfiguration = new ChatConfiguration(chatClient);
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentSafetyServiceConfigurationExtensions.cs (2)
49return new ChatConfiguration(newChatClient); 83return new ChatConfiguration(newChatClient);
72 references to ChatConfiguration
Microsoft.Extensions.AI.Evaluation (18)
CompositeEvaluator.cs (3)
91/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 105ChatConfiguration? chatConfiguration = null, 130ChatConfiguration? chatConfiguration = null,
EvaluationContext.cs (1)
23/// <see cref="IEvaluator.EvaluateAsync(IEnumerable{ChatMessage}, ChatResponse, ChatConfiguration?, IEnumerable{EvaluationContext}?, CancellationToken)"/>.
EvaluatorExtensions.cs (12)
33/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 47ChatConfiguration? chatConfiguration = null, 76/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 91ChatConfiguration? chatConfiguration = null, 118/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 132ChatConfiguration? chatConfiguration = null, 158/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 172ChatConfiguration? chatConfiguration = null, 206/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 221ChatConfiguration? chatConfiguration = null, 251/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 266ChatConfiguration? chatConfiguration = null,
IEvaluator.cs (2)
43/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that should be used if one or 60ChatConfiguration? chatConfiguration = null,
Microsoft.Extensions.AI.Evaluation.Integration.Tests (6)
QualityEvaluatorTests.cs (1)
39ChatConfiguration chatConfiguration = Setup.CreateChatConfiguration();
SafetyEvaluatorTests.cs (3)
39ChatConfiguration llmChatConfiguration = Setup.CreateChatConfiguration(); 59ChatConfiguration contentSafetyChatConfiguration = 85ChatConfiguration contentSafetyChatConfigurationWithoutLLM =
Setup.cs (1)
16internal static ChatConfiguration CreateChatConfiguration()
TestEvaluator.cs (1)
29ChatConfiguration? chatConfiguration,
Microsoft.Extensions.AI.Evaluation.Quality (18)
CoherenceEvaluator.cs (2)
35/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 70ChatConfiguration? chatConfiguration = null,
CompletenessEvaluator.cs (2)
34/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 67ChatConfiguration? chatConfiguration = null,
EquivalenceEvaluator.cs (2)
34/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 66ChatConfiguration? chatConfiguration = null,
FluencyEvaluator.cs (2)
32/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 64ChatConfiguration? chatConfiguration = null,
GroundednessEvaluator.cs (2)
33/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 65ChatConfiguration? chatConfiguration = null,
RelevanceEvaluator.cs (2)
36/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 68ChatConfiguration? chatConfiguration = null,
RelevanceTruthAndCompletenessEvaluator.cs (3)
36/// produce the best results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 81ChatConfiguration? chatConfiguration = null, 271ChatConfiguration chatConfiguration,
RetrievalEvaluator.cs (2)
42/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 74ChatConfiguration? chatConfiguration = null,
Utilities\JsonOutputFixer.cs (1)
37ChatConfiguration chatConfig,
Microsoft.Extensions.AI.Evaluation.Reporting (11)
ReportingConfiguration.cs (6)
15/// <see cref="IEvaluator"/>s that should be invoked, the <see cref="Evaluation.ChatConfiguration"/> that should be 36/// Gets a <see cref="Evaluation.ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that is used by 39public ChatConfiguration? ChatConfiguration { get; } 108/// A <see cref="Evaluation.ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that is used by 139ChatConfiguration? chatConfiguration = null, 195ChatConfiguration? chatConfiguration = ChatConfiguration;
ScenarioRun.cs (3)
89/// Gets a <see cref="Evaluation.ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that is used by 93public ChatConfiguration? ChatConfiguration { get; } 110ChatConfiguration? chatConfiguration = null,
Storage\DiskBasedReportingConfiguration.cs (2)
28/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that is used by AI-based 73ChatConfiguration? chatConfiguration = null,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Storage\AzureStorageReportingConfiguration.cs (2)
28/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> that is used by AI-based 73ChatConfiguration? chatConfiguration = null,
Microsoft.Extensions.AI.Evaluation.Safety (17)
CodeVulnerabilityEvaluator.cs (1)
49ChatConfiguration? chatConfiguration = null,
ContentHarmEvaluator.cs (1)
51ChatConfiguration? chatConfiguration = null,
ContentSafetyEvaluator.cs (1)
46ChatConfiguration? chatConfiguration = null,
ContentSafetyServiceConfigurationExtensions.cs (11)
14/// Returns a <see cref="ChatConfiguration"/> that can be used to communicate with the Azure AI Foundry Evaluation 23/// The original <see cref="ChatConfiguration"/>, if any. If specified, the returned 24/// <see cref="ChatConfiguration"/> will be based on <paramref name="originalChatConfiguration"/>, with the 25/// <see cref="ChatConfiguration.ChatClient"/> in <paramref name="originalChatConfiguration"/> being replaced with 31/// A <see cref="ChatConfiguration"/> that can be used to communicate with the Azure AI Foundry Evaluation service 34public static ChatConfiguration ToChatConfiguration( 36ChatConfiguration? originalChatConfiguration = null) 53/// Returns a <see cref="ChatConfiguration"/> that can be used to communicate with the Azure AI Foundry Evaluation 62/// The original <see cref="IChatClient"/>. The returned <see cref="ChatConfiguration.ChatClient"/> will be a 68/// A <see cref="ChatConfiguration"/> that can be used to communicate with the Azure AI Foundry Evaluation service 71public static ChatConfiguration ToChatConfiguration(
GroundednessProEvaluator.cs (1)
50ChatConfiguration? chatConfiguration = null,
ProtectedMaterialEvaluator.cs (1)
69ChatConfiguration? chatConfiguration = null,
UngroundedAttributesEvaluator.cs (1)
54ChatConfiguration? chatConfiguration = null,