mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-27 18:13:38 +00:00
21 lines
710 B
C#
21 lines
710 B
C#
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,
|
|
} |