@using AIStudio.Settings.DataModel @using AIStudio.Provider @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.") @if (!this.CanChangeSourceAndEmbedding) { @T("This data source already has indexed embeddings. Delete and recreate it to change the file path or embedding model.") } @if (this.CanChangeSourceAndEmbedding) { } else { } @T("In order for the AI to be able to determine the appropriate data at any time, you must choose an embedding method.") @if (this.CanChangeSourceAndEmbedding) { @foreach (var embedding in this.AvailableEmbeddings) { @embedding.Name } } else { } @if (!string.IsNullOrWhiteSpace(this.dataEmbeddingId)) { if (this.SelectedCloudEmbedding) { } else { @T("The embedding you selected runs locally or in your organization. Your data is not sent to the cloud.") } } @foreach (var level in this.ComplianceLevels) { @level.Name } @(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") }