1 instantiation of Settings
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
Settings.cs (1)
71
return new
Settings
(config);
28 references to Settings
Microsoft.Extensions.AI.Evaluation.Integration.Tests (28)
AgentQualityEvaluatorTests.cs (4)
28
if (
Settings
.Current.Configured)
67
storageRootPath:
Settings
.Current.StorageRootPath,
75
storageRootPath:
Settings
.Current.StorageRootPath,
270
Assert.SkipUnless(
Settings
.Current.Configured, "Test is not configured");
NLPEvaluatorTests.cs (3)
22
if (
Settings
.Current.Configured)
36
storageRootPath:
Settings
.Current.StorageRootPath,
151
Assert.SkipUnless(
Settings
.Current.Configured, "Test is not configured");
QualityEvaluatorTests.cs (4)
26
if (
Settings
.Current.Configured)
55
storageRootPath:
Settings
.Current.StorageRootPath,
68
storageRootPath:
Settings
.Current.StorageRootPath,
284
Assert.SkipUnless(
Settings
.Current.Configured, "Test is not configured");
ResultsTests.cs (2)
29
storageRootPath:
Settings
.Current.Configured ?
30
Settings
.Current.StorageRootPath :
SafetyEvaluatorTests.cs (11)
31
if (
Settings
.Current.Configured)
53
endpointUrl:
Settings
.Current.AzureAIProjectEndpoint);
77
storageRootPath:
Settings
.Current.StorageRootPath,
94
storageRootPath:
Settings
.Current.StorageRootPath,
108
storageRootPath:
Settings
.Current.StorageRootPath,
119
storageRootPath:
Settings
.Current.StorageRootPath,
128
subscriptionId:
Settings
.Current.AzureSubscriptionId,
129
resourceGroupName:
Settings
.Current.AzureResourceGroupName,
130
projectName:
Settings
.Current.AzureAIProjectName);
142
storageRootPath:
Settings
.Current.StorageRootPath,
624
Assert.SkipUnless(
Settings
.Current.Configured, "Test is not configured");
Settings.cs (2)
60
public static
Settings
Current => field ??= GetCurrentSettings();
62
private static
Settings
GetCurrentSettings()
Setup.cs (2)
29
Endpoint = new Uri(new Uri(
Settings
.Current.Endpoint), "/openai/v1")
42
return client.GetChatClient(
Settings
.Current.DeploymentName);