diff --git a/frontend/src/components/EmbeddingSelection/MistralAiOptions/index.jsx b/frontend/src/components/EmbeddingSelection/MistralAiOptions/index.jsx index 6012b31922898dd6448db9a245049722a79566ab..77cdd167617c7e6d2e4db6972eb10e3a79298390 100644 --- a/frontend/src/components/EmbeddingSelection/MistralAiOptions/index.jsx +++ b/frontend/src/components/EmbeddingSelection/MistralAiOptions/index.jsx @@ -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} diff --git a/frontend/src/locales/resources.js b/frontend/src/locales/resources.js index 2858ed5155464fb768820b2a850f28569eae8f40..89c757e3f1fa4ec385b7c74c6fdba152aac915fd 100644 --- a/frontend/src/locales/resources.js +++ b/frontend/src/locales/resources.js @@ -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, }, - }; diff --git a/frontend/src/locales/vn/common.js b/frontend/src/locales/vn/common.js index dd8d8c4627b277891df5a3d3f4b88e8040affac5..1901d89fdb84650143d346834aec6d3f61310a02 100644 --- a/frontend/src/locales/vn/common.js +++ b/frontend/src/locales/vn/common.js @@ -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", diff --git a/server/utils/EmbeddingEngines/mistral/index.js b/server/utils/EmbeddingEngines/mistral/index.js index 1d4f7351462d47553a51227614c7fc3227e55dce..23f4ddc8a99e6b152d261d4a57b0757f9dc9fc3d 100644 --- a/server/utils/EmbeddingEngines/mistral/index.js +++ b/server/utils/EmbeddingEngines/mistral/index.js @@ -40,4 +40,4 @@ class MistralEmbedder { module.exports = { MistralEmbedder, -}; \ No newline at end of file +};