@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 file for this data source. The content of this file will be processed for the data source. An audio or video file is transcribed by your transcription provider first.") @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")) @if (!string.IsNullOrWhiteSpace(this.dataEmbeddingId)) { } @T("Optional expert settings for how this data source is split before embedding.") @T("Cancel") @if(this.IsEditing) { @T("Update") } else { @T("Add") }