2024-09-11 21:08:02 +00:00
|
|
|
namespace AIStudio.Tools;
|
|
|
|
|
|
|
|
public static class ConfidenceSchemesExtensions
|
|
|
|
{
|
|
|
|
public static string GetListDescription(this ConfidenceSchemes scheme) => scheme switch
|
|
|
|
{
|
2025-02-27 11:43:19 +00:00
|
|
|
ConfidenceSchemes.TRUST_ALL => "Trust all LLM providers",
|
2024-09-11 21:08:02 +00:00
|
|
|
ConfidenceSchemes.TRUST_USA_EUROPE => "Trust LLM providers from the USA and Europe",
|
|
|
|
ConfidenceSchemes.TRUST_USA => "Trust LLM providers from the USA",
|
|
|
|
ConfidenceSchemes.TRUST_EUROPE => "Trust LLM providers from Europe",
|
2025-02-27 11:43:19 +00:00
|
|
|
ConfidenceSchemes.TRUST_ASIA => "Trust LLM providers from Asia",
|
2024-09-11 21:08:02 +00:00
|
|
|
ConfidenceSchemes.LOCAL_TRUST_ONLY => "Trust only local LLM providers",
|
|
|
|
|
|
|
|
ConfidenceSchemes.CUSTOM => "Configure your own confidence scheme",
|
|
|
|
|
|
|
|
_ => "Unknown confidence scheme"
|
|
|
|
};
|
|
|
|
}
|