@using AIStudio.Settings.DataModel @inherits MSGComponentBase @* 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.") @T("In order for the AI to be able to determine the appropriate data at any time, you must choose an embedding method.") @foreach (var embedding in this.AvailableEmbeddings) { @embedding.Name } @if (!string.IsNullOrWhiteSpace(this.dataEmbeddingId)) { if (this.SelectedCloudEmbedding) { @if (string.IsNullOrWhiteSpace(this.dataFilePath)) { @T("Please note: the embedding you selected runs in the cloud. All your data will be sent to the cloud. Please confirm that you have read and understood this.") } else { @string.Format(T("Please note: the embedding you selected runs in the cloud. All your data within the file '{0}' will be sent to the cloud. Please confirm that you have read and understood this."), this.dataFilePath) } } else { @T("The embedding you selected runs locally or in your organization. Your data is not sent to the cloud.") } } @foreach (var policy in Enum.GetValues()) { @policy.ToSelectionText() } @T("Cancel") @if(this.IsEditing) { @T("Update") } else { @T("Add") }