mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-27 23:39:48 +00:00
32 lines
1.6 KiB
Plaintext
32 lines
1.6 KiB
Plaintext
@using AIStudio.Components.Settings
|
|
@using AIStudio.Settings.DataModel
|
|
@attribute [Route(Routes.SETTINGS)]
|
|
@inherits MSGComponentBase
|
|
|
|
<div class="inner-scrolling-context">
|
|
<MudText Typo="Typo.h3" Class="mb-12">@T("Settings")</MudText>
|
|
|
|
<InnerScrolling>
|
|
<MudExpansionPanels Class="mb-3" MultiExpansion="@false">
|
|
<SettingsPanelProviders @bind-AvailableLLMProviders="@this.availableLLMProviders"/>
|
|
|
|
@if (PreviewFeatures.PRE_RAG_2024.IsEnabled(this.SettingsManager))
|
|
{
|
|
<SettingsPanelEmbeddings AvailableLLMProvidersFunc="() => this.availableLLMProviders" @bind-AvailableEmbeddingProviders="@this.availableEmbeddingProviders"/>
|
|
}
|
|
|
|
<SettingsPanelProfiles AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
<SettingsPanelApp AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
<SettingsPanelChat AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
<SettingsPanelWorkspaces AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
|
|
@if (PreviewFeatures.PRE_RAG_2024.IsEnabled(this.SettingsManager))
|
|
{
|
|
<SettingsPanelAgentDataSourceSelection AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
<SettingsPanelAgentRetrievalContextValidation AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
}
|
|
|
|
<SettingsPanelAgentContentCleaner AvailableLLMProvidersFunc="() => this.availableLLMProviders"/>
|
|
</MudExpansionPanels>
|
|
</InnerScrolling>
|
|
</div> |