@using AIStudio.Provider @using AIStudio.Settings @inherits SettingsPanelBase @T("Provider Confidence") @T("Do you want to always see how trustworthy your providers are? This way, you stay in control of which provider you send your data to. You can choose a common schema or configure the trust levels for each provider yourself.") @if(this.SettingsManager.ConfigurationData.Confidence.EnforceGlobalMinimumConfidence) { } @if (this.SettingsManager.ConfigurationData.Confidence.ShowProviderConfidence) { @if (this.SettingsManager.ConfigurationData.Confidence.ConfidenceScheme is ConfidenceSchemes.CUSTOM) { @T("Provider") @T("Description") @T("Confidence Level") @context.ToName() @if (this.SettingsManager.IsProviderProhibited(context)) { @T("The use of this provider has been prohibited by your organization. Therefore, it is untrusted, and you cannot change its confidence level.") } @foreach (var confidenceLevel in Enum.GetValues().OrderBy(n => n)) { if(confidenceLevel is ConfidenceLevel.NONE or ConfidenceLevel.UNKNOWN) continue; @confidenceLevel.GetName() } } }