mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-14 16:54:21 +00:00
Added a common augmentation interface & default implementation (#288)
This commit is contained in:
1 parent
f01cf498e2
commit
96e6372fcd
19 files changed
+249
-62
No files matched your search
@@ -1,6 +1,7 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Settings;
|
||||
using AIStudio.Tools.RAG.AugmentationProcesses;
|
||||
using AIStudio.Tools.RAG.DataSourceSelectionProcesses;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
@@ -106,7 +107,8 @@ public sealed class AISrcSelWithRetCtxVal : IRagProcess
|
||||
//
|
||||
if (proceedWithRAG)
|
||||
{
|
||||
|
||||
var augmentationProcess = new AugmentationOne();
|
||||
chatThread = await augmentationProcess.ProcessAsync(provider, lastPrompt, chatThread, dataContexts, token);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user