2026-09-27 16:26:52 +02:00
|
|
|
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
|
2026-11-21 19:47:10 +01:00
|
|
|
/// question calls for it. No AI operation takes part: the chat model picks the data sources and
|
2026-09-27 16:26:52 +02:00
|
|
|
/// judges what it found.
|
|
|
|
|
/// </summary>
|
|
|
|
|
SEMANTIC_SEARCH,
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// AI Studio searches the data sources with every message, before the model answers. This is
|
2026-11-21 19:47:10 +01:00
|
|
|
/// the classic RAG process, with its AI operations for selecting data sources and for validating what
|
2026-09-27 16:26:52 +02:00
|
|
|
/// was found.
|
|
|
|
|
/// </summary>
|
|
|
|
|
EVERY_MESSAGE,
|
|
|
|
|
}
|