Added options to enforce minimum confidence levels for each assistant (#147)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2024-09-14 19:20:33 +02:00
1 parent 4175387a93
commit 0ad7b8d4dd
36 files changed
+321 -144

No files matched your search

@@ -1,4 +1,5 @@
using AIStudio.Assistants.TextSummarizer;
using AIStudio.Provider;
namespace AIStudio.Settings.DataModel;
@@ -45,6 +46,11 @@ public sealed class DataTextSummarizer
/// </summary>
public string PreselectedExpertInField { get; set; } = string.Empty;
/// <summary>
/// The minimum confidence level required for a provider to be considered.
/// </summary>
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
/// <summary>
/// Preselect a text summarizer provider?
/// </summary>