1 instantiation of Settings
Microsoft.Extensions.AI.Evaluation.Integration.Tests (1)
Settings.cs (1)
75
return new
Settings
(config);
20 references to Settings
Microsoft.Extensions.AI.Evaluation.Integration.Tests (20)
QualityEvaluatorTests.cs (4)
28
if (
Settings
.Current.Configured)
55
storageRootPath:
Settings
.Current.StorageRootPath,
66
storageRootPath:
Settings
.Current.StorageRootPath,
204
if (!
Settings
.Current.Configured)
ResultsTests.cs (2)
30
storageRootPath:
Settings
.Current.Configured ?
31
Settings
.Current.StorageRootPath :
SafetyEvaluatorTests.cs (8)
27
if (
Settings
.Current.Configured)
52
subscriptionId:
Settings
.Current.AzureSubscriptionId,
53
resourceGroupName:
Settings
.Current.AzureResourceGroupName,
54
projectName:
Settings
.Current.AzureAIProjectName);
70
storageRootPath:
Settings
.Current.StorageRootPath,
87
storageRootPath:
Settings
.Current.StorageRootPath,
101
storageRootPath:
Settings
.Current.StorageRootPath,
430
if (!
Settings
.Current.Configured)
Settings.cs (3)
55
private static
Settings
? _currentSettings;
57
public static
Settings
Current
66
private static
Settings
GetCurrentSettings()
Setup.cs (3)
19
var endpoint = new Uri(
Settings
.Current.Endpoint);
27
IChatClient chatClient = azureClient.GetChatClient(
Settings
.Current.DeploymentName).AsIChatClient();
28
Tokenizer tokenizer = TiktokenTokenizer.CreateForModel(
Settings
.Current.ModelName);