@using AIStudio.Settings.DataModel @using AIStudio.Provider @inherits MSGComponentBase @* ReSharper disable once CSharpWarnings::CS8974 *@ @T("Select a root directory for this data source. All data in this directory and all its subdirectories will be processed for this data source.") @if (!this.CanChangeSourceAndEmbedding) { @T("This data source already has indexed embeddings. Delete and recreate it to change the folder 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.") } @(this.showExpertSettings ? T("Hide Expert Settings") : T("Show Expert Settings")) @T("Optional expert settings for how this data source is split before embedding.") } @foreach (var policy in Enum.GetValues()) { @policy.ToSelectionText() } @foreach (var level in this.ComplianceLevels) { @level.Name } @T("Cancel") @if(this.IsEditing) { @T("Update") } else { @T("Add") }