mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 15:39:46 +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;
|
var numTotalRetrievalContexts = retrievalContexts.Count;
|
||||||
|
|
||||||
// Want the user to validate all retrieval contexts?
|
// 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:
|
// Let's get the validation agent & set up its provider:
|
||||||
var validationAgent = Program.SERVICE_PROVIDER.GetService<AgentRetrievalContextValidation>()!;
|
var validationAgent = Program.SERVICE_PROVIDER.GetService<AgentRetrievalContextValidation>()!;
|
||||||
|
Loading…
Reference in New Issue
Block a user