@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: *@ @T("Data source") @* ReSharper disable once CSharpWarnings::CS8974 *@ @T("Folder") @T("Select a root directory for this data source.") @T("Files to include") @T("Select the file patterns this data source should index. Audio and video files, e.g., *.mp3 or *.mp4, are transcribed by your transcription provider.") @T("Embedding") @T("Choose an embedding provider to make this data source searchable.") @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.") } @T("Data sharing") @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("Hidden files and folders") @T("Cancel") @if(this.IsEditing) { @T("Update") } else { @T("Add") }