using AIStudio.Settings.DataModel; namespace AIStudio.Tools.ToolCallingSystem; /// /// How the data sources of a chat are actually searched, and whether Semantic Search could be used /// there at all. /// /// How the data sources are searched. /// Why Semantic Search cannot be offered in this chat, whatever the user prefers. ToolOfferBlockReason.NONE when it can; the chat then searches the way the user wants. public readonly record struct EffectiveRetrievalMode(DataSourceRetrievalMode Mode, ToolOfferBlockReason SemanticSearchBlockReason);