using AIStudio.Provider;
namespace AIStudio.AIOperations;
///
/// The confidence levels which a provider has to reach for an AI operation.
///
/// The global minimum, when the user or the organization enforces one. It applies to every candidate.
/// The minimum of the operation itself, from its settings.
/// What the content of the request requires, e.g., its data sources. It applies to every candidate.
/// Whether the minimum of the operation applies to the fallbacks as well, not only to its preferred provider.
public sealed record AIOperationProviderRules(ConfidenceLevel GlobalMinimumConfidence, ConfidenceLevel OwnMinimumConfidence, ConfidenceLevel RequiredConfidence, bool OwnMinimumAppliesToFallbacks);