@using AIStudio.Settings @if (this.SelectionMode is DataSourceSelectionMode.SELECTION_MODE) {
@if (this.PopoverTriggerMode is PopoverTriggerMode.ICON) { } else { Select data } Data Source Selection @if (this.waitingForDataSources) { } else if (this.SettingsManager.ConfigurationData.DataSources.Count == 0) { You haven't configured any data sources. To grant the AI access to your data, you need to add such a source. However, if you wish to use data from your device, you first have to set up a so-called embedding. This embedding is necessary so the AI can effectively search your data, find and retrieve the correct information required for each task. In addition to local data, you can also incorporate your company's data. To do so, your company must provide the data through an ERI (External Retrieval Interface). Manage Data Sources Read more about ERI } else if (this.showDataSourceSelection) { @if (this.areDataSourcesEnabled) { @if (this.SettingsManager.ConfigurationData.AgentRetrievalContextValidation.EnableRetrievalContextValidation) { } @if (this.aiBasedSourceSelection is false || this.DataSourcesAISelected.Count == 0) { @foreach (var source in this.availableDataSources) { @source.Name } } else { @foreach (var source in this.availableDataSources) { @source.Name } @foreach (var source in this.DataSourcesAISelected) { @source.DataSource.Name @this.GetAIReasoning(source) } } } } Close
} else if (this.SelectionMode is DataSourceSelectionMode.CONFIGURATION_MODE) { Data Source Selection @if (!string.IsNullOrWhiteSpace(this.ConfigurationHeaderMessage)) { @this.ConfigurationHeaderMessage } @if (this.areDataSourcesEnabled) { @foreach (var source in this.availableDataSources) { @source.Name } } }