namespace AIStudio.Settings.DataModel; /// /// How the data sources of a chat are searched. /// public enum DataSourceRetrievalMode { /// /// 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. /// SEMANTIC_SEARCH, /// /// 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. /// EVERY_MESSAGE, }