mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 07:53:48 +00:00
16 lines
718 B
C#
16 lines
718 B
C#
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);
|
|
} |