mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-04 06:22:57 +00:00
Improved the embedding configuration dialog (#454)
This commit is contained in:
parent
1a4e4781cd
commit
f10d9a5d88
@ -9,7 +9,7 @@
|
|||||||
<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)))
|
@foreach (LLMProviders provider in Enum.GetValues(typeof(LLMProviders)))
|
||||||
{
|
{
|
||||||
if (provider.ProvideEmbeddings())
|
if (provider.ProvideEmbeddings() || provider is LLMProviders.NONE)
|
||||||
{
|
{
|
||||||
<MudSelectItem Value="@provider">
|
<MudSelectItem Value="@provider">
|
||||||
@provider.ToName()
|
@provider.ToName()
|
||||||
@ -32,6 +32,7 @@
|
|||||||
AdornmentIcon="@Icons.Material.Filled.VpnKey"
|
AdornmentIcon="@Icons.Material.Filled.VpnKey"
|
||||||
AdornmentColor="Color.Info"
|
AdornmentColor="Color.Info"
|
||||||
InputType="InputType.Password"
|
InputType="InputType.Password"
|
||||||
|
Immediate="true"
|
||||||
Validation="@this.providerValidation.ValidatingAPIKey"/>
|
Validation="@this.providerValidation.ValidatingAPIKey"/>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
- Added the ability to select the new Google Gemini embeddings in the embedding configuration.
|
- 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 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.
|
Loading…
Reference in New Issue
Block a user