AI-Studio/app/MindWork AI Studio/Tools/ConfidenceSchemesExtensions.cs

16 lines
643 B
C#
Raw Normal View History

2024-09-11 21:08:02 +00:00
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"
};
}