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