diff --git a/frontend/src/components/EmbeddingSelection/VoyageAiOptions/index.jsx b/frontend/src/components/EmbeddingSelection/VoyageAiOptions/index.jsx index ca5b53f31..252cb0a7b 100644 --- a/frontend/src/components/EmbeddingSelection/VoyageAiOptions/index.jsx +++ b/frontend/src/components/EmbeddingSelection/VoyageAiOptions/index.jsx @@ -30,6 +30,8 @@ export default function VoyageAiOptions({ settings }) { {[ "voyage-large-2-instruct", + "voyage-finance-2", + "voyage-multilingual-2", "voyage-law-2", "voyage-code-2", "voyage-large-2", diff --git a/server/utils/EmbeddingEngines/voyageAi/index.js b/server/utils/EmbeddingEngines/voyageAi/index.js index 65126613b..7f284fb49 100644 --- a/server/utils/EmbeddingEngines/voyageAi/index.js +++ b/server/utils/EmbeddingEngines/voyageAi/index.js @@ -21,6 +21,9 @@ class VoyageAiEmbedder { // https://docs.voyageai.com/docs/embeddings #getMaxEmbeddingLength() { switch (this.model) { + case "voyage-finance-2": + case "voyage-multilingual-2": + return 32_000; case "voyage-large-2-instruct": case "voyage-law-2": case "voyage-code-2":