mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-05 14:49:40 +00:00
Count the agents only where the classic RAG process runs them
This commit is contained in:
6 files changed
+116
-16
No files matched your search
@@ -0,0 +1,21 @@
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
/// <summary>
|
||||
/// How the data sources of a chat are searched.
|
||||
/// </summary>
|
||||
public enum DataSourceRetrievalMode
|
||||
{
|
||||
/// <summary>
|
||||
/// The model searches the data sources itself, through the tool semantic_search, whenever a
|
||||
/// question calls for it. No agent takes part: the chat model picks the data sources and
|
||||
/// judges what it found.
|
||||
/// </summary>
|
||||
SEMANTIC_SEARCH,
|
||||
|
||||
/// <summary>
|
||||
/// AI Studio searches the data sources with every message, before the model answers. This is
|
||||
/// the classic RAG process, with its agents for selecting data sources and for validating what
|
||||
/// was found.
|
||||
/// </summary>
|
||||
EVERY_MESSAGE,
|
||||
}
|
||||
Reference in new issue
Block a user