Improved the embedding configuration dialog (#454)

This commit is contained in:
Thorsten Sommer 2025-05-11 15:35:19 +02:00 committed by GitHub
parent 1a4e4781cd
commit f10d9a5d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -6,10 +6,10 @@
<MudForm @ref="@this.form" @bind-IsValid="@this.dataIsValid" @bind-Errors="@this.dataIssues">
<MudStack Row="@true" AlignItems="AlignItems.Center">
@* ReSharper disable once CSharpWarnings::CS8974 *@
<MudSelect @bind-Value="@this.DataLLMProvider" Label="Provider" Class="mb-3" OpenIcon="@Icons.Material.Filled.AccountBalance" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.providerValidation.ValidatingProvider">
<MudSelect @bind-Value="@this.DataLLMProvider" Label="Provider" Class="mb-3" OpenIcon="@Icons.Material.Filled.AccountBalance" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.providerValidation.ValidatingProvider">
@foreach (LLMProviders provider in Enum.GetValues(typeof(LLMProviders)))
{
if (provider.ProvideEmbeddings())
if (provider.ProvideEmbeddings() || provider is LLMProviders.NONE)
{
<MudSelectItem Value="@provider">
@provider.ToName()
@ -32,6 +32,7 @@
AdornmentIcon="@Icons.Material.Filled.VpnKey"
AdornmentColor="Color.Info"
InputType="InputType.Password"
Immediate="true"
Validation="@this.providerValidation.ValidatingAPIKey"/>
}

View File

@ -1,4 +1,5 @@
# v0.9.43, build 218 (2025-05-xx xx:xx UTC)
- Added the ability to select the new Google Gemini embeddings in the embedding configuration.
- Improved the automatic German translation; thanks Peer (`peerschuett`) for contributing.
- Improved Google Gemini LLM model selection by filtering out the new embedding models.
- Improved Google Gemini LLM model selection by filtering out the new embedding models.
- Improved the dialog for configuring embeddings: the API key is applied immediately, and provider formatting was enhanced.