Renamed the settings of AI tasks (#1239)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 12:08:00 +01:00
1 parent d19d3d431b
commit a117074972
109 files changed
+3929 -538

No files matched your search

@@ -75,9 +75,9 @@ public sealed class RetrievalContextValidationOperation(ILogger<RetrievalContext
/// <returns>The preferred provider and the minimum confidence, or none of them while the preselection is switched off.</returns>
public static AIOperationProviderSettings GetProviderSettings(SettingsManager settingsManager)
{
var settings = settingsManager.ConfigurationData.AgentRetrievalContextValidation;
return settings.PreselectAgentOptions
? new(settings.PreselectedAgentProvider, settings.MinimumProviderConfidence)
var settings = settingsManager.ConfigurationData.RetrievalContextValidation;
return settings.PreselectOptions
? new(settings.PreselectedProvider, settings.MinimumProviderConfidence)
: AIOperationProviderSettings.NONE;
}
@@ -87,7 +87,7 @@ public sealed class RetrievalContextValidationOperation(ILogger<RetrievalContext
public override string Id => "Retrieval Context Validation";
/// <inheritdoc />
public override Tools.Components Component => Tools.Components.AGENT_RETRIEVAL_CONTEXT_VALIDATION;
public override Tools.Components Component => Tools.Components.AI_TASK_RETRIEVAL_CONTEXT_VALIDATION;
/// <summary>
/// The model reads the passages, so it has to reach what the chat requires of every provider which reads its data.
@@ -121,8 +121,8 @@ public sealed class RetrievalContextValidationOperation(ILogger<RetrievalContext
return request.RetrievalContexts.Select(retrievalContext => RetrievalContextValidationResult.NotAnswered(retrievalContext, "The last prompt was empty.")).ToList();
}
var settings = this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation;
var numParallelValidations = settings.PreselectAgentOptions ? settings.NumParallelValidations : DEFAULT_PARALLEL_VALIDATIONS;
var settings = this.SettingsManager.ConfigurationData.RetrievalContextValidation;
var numParallelValidations = settings.PreselectOptions ? settings.NumParallelValidations : DEFAULT_PARALLEL_VALIDATIONS;
//
// A semaphore of this call limits the validations running at once. It is local, so that