3 instantiations of ChatConfiguration
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
Setup.cs (1)
30return new ChatConfiguration(chatClient, tokenCounter);
Microsoft.Extensions.AI.Evaluation.Reporting (1)
ReportingConfiguration.cs (1)
249chatConfiguration = new ChatConfiguration(chatClient, chatConfiguration.TokenCounter);
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyServiceConfigurationExtensions.cs (1)
49return new ChatConfiguration(newChatClient, originalChatConfiguration?.TokenCounter);
63 references to ChatConfiguration
Microsoft.Extensions.AI.Evaluation (17)
CompositeEvaluator.cs (3)
91/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 106ChatConfiguration? chatConfiguration = null, 131ChatConfiguration? chatConfiguration = null,
EvaluatorExtensions.cs (12)
33/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 47ChatConfiguration? chatConfiguration = null, 76/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 91ChatConfiguration? chatConfiguration = null, 118/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 132ChatConfiguration? chatConfiguration = null, 163/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 177ChatConfiguration? chatConfiguration = null, 211/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 226ChatConfiguration? chatConfiguration = null, 260/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 275ChatConfiguration? chatConfiguration = null,
IEvaluator.cs (2)
41/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 56ChatConfiguration? chatConfiguration = null,
Microsoft.Extensions.AI.Evaluation.Integration.Tests (6)
QualityEvaluatorTests.cs (1)
37ChatConfiguration chatConfiguration = Setup.CreateChatConfiguration();
SafetyEvaluatorTests.cs (3)
36ChatConfiguration llmChatConfiguration = Setup.CreateChatConfiguration(); 56ChatConfiguration contentSafetyChatConfiguration = 82ChatConfiguration contentSafetyChatConfigurationWithoutLLM =
Setup.cs (1)
17internal static ChatConfiguration CreateChatConfiguration()
TestEvaluator.cs (1)
29ChatConfiguration? chatConfiguration,
Microsoft.Extensions.AI.Evaluation.Quality (17)
ChatConversationEvaluator.cs (7)
40ChatConfiguration? chatConfiguration = null, 199/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 212ChatConfiguration chatConfiguration, 349/// Invokes the supplied <see cref="ChatConfiguration.ChatClient"/> with the supplied 354/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 358/// The set of messages that are to be sent to the supplied <see cref="ChatConfiguration.ChatClient"/> to perform 368ChatConfiguration chatConfiguration,
CoherenceEvaluator.cs (1)
28/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.)
EquivalenceEvaluator.cs (2)
32/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 56ChatConfiguration? chatConfiguration = null,
FluencyEvaluator.cs (1)
28/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.)
GroundednessEvaluator.cs (2)
32/// results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 56ChatConfiguration? chatConfiguration = null,
RelevanceTruthAndCompletenessEvaluator.cs (2)
42/// produce the best results. (The model to be used can be configured via <see cref="ChatConfiguration.ChatClient"/>.) 126ChatConfiguration chatConfiguration,
SingleNumericMetricEvaluator.cs (1)
62ChatConfiguration chatConfiguration,
Utilities\JsonOutputFixer.cs (1)
36ChatConfiguration 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 33/// Gets a <see cref="Evaluation.ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 37public ChatConfiguration? ChatConfiguration { get; } 106/// A <see cref="Evaluation.ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 138ChatConfiguration? chatConfiguration = null, 192ChatConfiguration? chatConfiguration = ChatConfiguration;
ScenarioRun.cs (3)
83/// Gets a <see cref="Evaluation.ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 87public ChatConfiguration? ChatConfiguration { get; } 104ChatConfiguration? chatConfiguration = null,
Storage\DiskBasedReportingConfiguration.cs (2)
28/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 63ChatConfiguration? chatConfiguration = null,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Storage\AzureStorageReportingConfiguration.cs (2)
32/// A <see cref="ChatConfiguration"/> that specifies the <see cref="IChatClient"/> and the 68ChatConfiguration? chatConfiguration = null,
Microsoft.Extensions.AI.Evaluation.Safety (10)
ContentHarmEvaluator.cs (1)
30ChatConfiguration? chatConfiguration = null,
ContentSafetyEvaluator.cs (1)
47ChatConfiguration? chatConfiguration = null,
ContentSafetyServiceConfigurationExtensions.cs (8)
14/// Returns a <see cref="ChatConfiguration"/> that can be used to communicate with the Azure AI Content Safety 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 Content Safety service for 34public static ChatConfiguration ToChatConfiguration( 36ChatConfiguration? originalChatConfiguration = null) 68/// A <see cref="ChatConfiguration"/> that can be used to communicate with the Azure AI Content Safety service for