mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:39:48 +00:00
Evaluate also the data source options
This commit is contained in:
parent
7cfcb6f68d
commit
f06487b6d7
@ -35,7 +35,7 @@ public sealed class AugmentationOne : IAugmentationProcess
|
||||
var numTotalRetrievalContexts = retrievalContexts.Count;
|
||||
|
||||
// Want the user to validate all retrieval contexts?
|
||||
if (settings.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation)
|
||||
if (settings.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation && chatThread.DataSourceOptions.AutomaticValidation)
|
||||
{
|
||||
// Let's get the validation agent & set up its provider:
|
||||
var validationAgent = Program.SERVICE_PROVIDER.GetService<AgentRetrievalContextValidation>()!;
|
||||
|
Loading…
Reference in New Issue
Block a user