mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-15 01:48:27 +00:00
Improved how AI Studio saves its files (#1201)
This commit is contained in:
1 parent
b7255694cd
commit
dc97db256e
24 files changed
+626
-258
No files matched your search
@@ -1,3 +1,5 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
@@ -29,4 +31,17 @@ public partial class ProviderSelectionWithConfidence : MSGComponentBase
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public Func<AIStudio.Settings.Provider, string?> ValidateProvider { get; set; } = _ => null;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the confidence a provider needs at least to be offered, when it is higher than the minimum of the
|
||||
/// component, see ProviderSelection.ExplicitMinimumConfidence.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public ConfidenceLevel ExplicitMinimumConfidence { get; set; } = ConfidenceLevel.UNKNOWN;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether the selection is disabled, see ProviderSelection.Disabled.
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public bool Disabled { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user