Moved the background agents to AI operations (#1215)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-21 19:47:10 +01:00
1 parent 8a4a26503b
commit c50a93cd17
139 files changed
+4069 -2340

No files matched your search

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