AI-Studio/app/MindWork AI Studio/Tools/ConfidenceSchemesExtensions.cs
2024-09-11 23:08:02 +02:00

16 lines
643 B
C#

namespace AIStudio.Tools;
public static class ConfidenceSchemesExtensions
{
public static string GetListDescription(this ConfidenceSchemes scheme) => scheme switch
{
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",
ConfidenceSchemes.LOCAL_TRUST_ONLY => "Trust only local LLM providers",
ConfidenceSchemes.CUSTOM => "Configure your own confidence scheme",
_ => "Unknown confidence scheme"
};
}