mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-12 08:13:48 +00:00
Improved data security by enforcing provider filtering (#290)
This commit is contained in:
1 parent
bfc9f2ea1d
commit
9bd79bd3a0
22 files changed
+370
-41
No files matched your search
@@ -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>()!;
|
||||
|
||||
Reference in new issue
Block a user