mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 09:13:48 +00:00
Moved the background agents to AI operations (#1215)
This commit is contained in:
1 parent
8a4a26503b
commit
c50a93cd17
139 files changed
+4069
-2340
No files matched your search
@@ -0,0 +1,16 @@
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.AIOperations;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of an AI operation which decide its provider.
|
||||
/// </summary>
|
||||
/// <param name="PreferredProviderId">The ID of the provider picked for the operation; empty when nobody picked one or when the preselection is switched off.</param>
|
||||
/// <param name="MinimumConfidence">The minimum confidence level of the operation itself.</param>
|
||||
public sealed record AIOperationProviderSettings(string PreferredProviderId, ConfidenceLevel MinimumConfidence)
|
||||
{
|
||||
/// <summary>
|
||||
/// No provider of its own and no minimum.
|
||||
/// </summary>
|
||||
public static readonly AIOperationProviderSettings NONE = new(string.Empty, ConfidenceLevel.NONE);
|
||||
}
|
||||
Reference in new issue
Block a user