This commit is contained in:
timothycarambat 2024-11-21 15:49:59 -08:00
parent 56793ed9a0
commit e4f47c1abf
4 changed files with 5 additions and 9 deletions
frontend/src
components/EmbeddingSelection/MistralAiOptions
locales
server/utils/EmbeddingEngines/mistral

View file

@ -28,9 +28,7 @@ export default function MistralAiOptions({ settings }) {
className="bg-theme-settings-input-bg border-gray-500 text-white text-sm rounded-lg block w-full p-2.5"
>
<optgroup label="Available embedding models">
{[
"mistral-embed",
].map((model) => {
{["mistral-embed"].map((model) => {
return (
<option key={model} value={model}>
{model}

View file

@ -25,7 +25,7 @@ import Italian from "./it/common.js";
import Portuguese from "./pt_BR/common.js";
import Hebrew from "./he/common.js";
import Dutch from "./nl/common.js";
import Vietnamese from "./vn/common.js";
import Vietnamese from "./vn/common.js";
import TraditionalChinese from "./zh_TW/common.js";
export const defaultNS = "common";
@ -66,8 +66,7 @@ export const resources = {
nl: {
common: Dutch,
},
vi: {
vi: {
common: Vietnamese,
},
};

View file

@ -58,8 +58,7 @@ const TRANSLATIONS = {
},
"password-reset": {
title: "Mật khẩu Đặt lại",
description:
"Cung cấp thông tin cần thiết dưới đây để đặt lại mật khẩu.",
description: "Cung cấp thông tin cần thiết dưới đây để đặt lại mật khẩu.",
"recovery-codes": "Mã khôi phục",
"recovery-code": "Mã khôi phục {{index}}",
"back-to-login": "Back to Đăng nhập",

View file

@ -40,4 +40,4 @@ class MistralEmbedder {
module.exports = {
MistralEmbedder,
};
};