@using AIStudio.Settings.DataModel @using AIStudio.Tools.Validation @using AIStudio.Provider @inherits MSGComponentBase @* A drop anywhere in this dialog belongs to the dialog, not to the page behind it: *@ @* ReSharper disable once CSharpWarnings::CS8974 *@ @T("Select a root directory for this data source.") @if (!this.CanChangeSource) { @T("The documents of this data source are already prepared, so its folder cannot be changed. Another folder holds other documents, which makes it another data source: please add one for it. The embedding provider below can be changed.") } @if (this.CanChangeSource) { } else { } @T("Select the file patterns this data source should index.") @T("In order for the AI to be able to determine the appropriate data at any time, you must choose an embedding provider.") @foreach (var provider in this.SettingsManager.GetAllEmbeddingProviders()) { } @if (this.CurrentCloudProcessing is not CloudProcessing.NONE) { } else if (!string.IsNullOrWhiteSpace(this.dataEmbeddingId)) { @T("The embedding you selected runs locally or in your organization. Your data is not sent to the cloud.") } @foreach (var level in this.ConfidenceLevels) { @level.Name } @if (this.MediaTranscriptionHint is { } mediaTranscriptionHint) { @mediaTranscriptionHint } @(this.showExpertSettings ? T("Hide Expert Settings") : T("Show Expert Settings")) @T("Cancel") @if(this.IsEditing) { @T("Update") } else { @T("Add") }