2025-01-05 15:11:15 +01:00
|
|
|
@using AIStudio.Components.Settings
|
2025-02-22 20:51:06 +01:00
|
|
|
@using AIStudio.Settings.DataModel
|
2025-04-24 13:50:14 +02:00
|
|
|
@attribute [Route(Routes.SETTINGS)]
|
|
|
|
|
@inherits MSGComponentBase
|
2024-04-19 21:25:44 +02:00
|
|
|
|
2025-01-21 13:40:47 +01:00
|
|
|
<div class="inner-scrolling-context">
|
2025-04-24 13:50:14 +02:00
|
|
|
<MudText Typo="Typo.h3" Class="mb-12">@T("Settings")</MudText>
|
2024-04-19 21:25:44 +02:00
|
|
|
|
2025-01-21 13:40:47 +01:00
|
|
|
<InnerScrolling>
|
|
|
|
|
<MudExpansionPanels Class="mb-3" MultiExpansion="@false">
|
2026-06-21 11:52:02 +02:00
|
|
|
<SettingsPanelConfidence/>
|
2025-03-12 11:31:01 +01:00
|
|
|
<SettingsPanelProviders @bind-AvailableLLMProviders="@this.availableLLMProviders"/>
|
|
|
|
|
|
2025-02-22 20:51:06 +01:00
|
|
|
@if (PreviewFeatures.PRE_RAG_2024.IsEnabled(this.SettingsManager))
|
|
|
|
|
{
|
2026-01-09 09:52:31 +01:00
|
|
|
<SettingsPanelEmbeddings AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)" @bind-AvailableEmbeddingProviders="@this.availableEmbeddingProviders"/>
|
2025-02-22 20:51:06 +01:00
|
|
|
}
|
2026-09-04 15:48:07 +02:00
|
|
|
|
2026-01-09 12:45:21 +01:00
|
|
|
@if (PreviewFeatures.PRE_SPEECH_TO_TEXT_2026.IsEnabled(this.SettingsManager))
|
|
|
|
|
{
|
|
|
|
|
<SettingsPanelTranscription AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)" @bind-AvailableTranscriptionProviders="@this.availableTranscriptionProviders"/>
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-09 09:52:31 +01:00
|
|
|
<SettingsPanelApp AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)"/>
|
2025-03-12 11:31:01 +01:00
|
|
|
|
2026-09-04 15:48:07 +02:00
|
|
|
<SettingsPanelTools />
|
2026-09-09 18:43:37 +02:00
|
|
|
@if (PreviewFeatures.PRE_RAG_2024.IsEnabled(this.SettingsManager))
|
|
|
|
|
{
|
|
|
|
|
<SettingsPanelDataSources/>
|
|
|
|
|
}
|
2026-09-04 15:48:07 +02:00
|
|
|
|
2025-02-22 20:51:06 +01:00
|
|
|
@if (PreviewFeatures.PRE_RAG_2024.IsEnabled(this.SettingsManager))
|
|
|
|
|
{
|
2026-01-09 09:52:31 +01:00
|
|
|
<SettingsPanelAgentDataSourceSelection AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)"/>
|
|
|
|
|
<SettingsPanelAgentRetrievalContextValidation AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)"/>
|
2025-02-22 20:51:06 +01:00
|
|
|
}
|
2025-03-12 11:31:01 +01:00
|
|
|
|
2026-01-09 09:52:31 +01:00
|
|
|
<SettingsPanelAgentContentCleaner AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)"/>
|
2026-04-09 10:01:24 +02:00
|
|
|
<SettingsPanelAgentAssistantAudit AvailableLLMProvidersFunc="@(() => this.availableLLMProviders)"/>
|
2025-01-21 13:40:47 +01:00
|
|
|
</MudExpansionPanels>
|
|
|
|
|
</InnerScrolling>
|
2026-09-09 18:43:37 +02:00
|
|
|
</div>
|