feat(components): add newer Voyage AI embedding and reranker models#6291
feat(components): add newer Voyage AI embedding and reranker models#6291deepak0x wants to merge 2 commits intoFlowiseAI:mainfrom
Conversation
Add missing Voyage AI models to the embeddings model list and reranker node options. New embedding models: voyage-3.5, voyage-3.5-lite, voyage-multimodal-3, voyage-multimodal-3.5, voyage-3-large, voyage-code-3. New reranker models: rerank-2.5, rerank-2.5-lite, rerank-2-lite. Updated reranker default to rerank-2.5.
There was a problem hiding this comment.
Code Review
This pull request updates the supported Voyage AI models by adding several new embedding models to models.json and refreshing the rerank model options in VoyageAIRerankRetriever.ts. A potential breaking change was identified regarding the removal of the rerank-lite-2 model option, which could disrupt existing chatflows that rely on that specific identifier. It is recommended to implement a mapping or deprecation strategy to maintain backward compatibility.
|
@HenryHengZJ — the Voyage AI nodes were pretty outdated, missing most of their v3+ models. I went through their docs and added what was missing. Embeddings: voyage-3.5, voyage-3.5-lite, voyage-multimodal-3, voyage-multimodal-3.5, voyage-3-large, voyage-code-3. No logic changes, just the model lists. |
Existing chatflows may reference rerank-lite-2. Removing it from the dropdown would cause those flows to send an invalid model name to the API. Added it back to the options list.
Proposed changes
The Voyage AI embedding and reranker nodes were missing several newer models. The embeddings list in models.json didn't have voyage-multimodal-3, voyage-3.5, voyage-code-3, or voyage-3-large. The reranker dropdown was stuck on older models and missing rerank-2.5 entirely. This adds all current Voyage AI models to both nodes and bumps the reranker default to rerank-2.5.
Issue(s)
Closes #3442
How to test or reproduce
pnpm build && pnpm startTypes of changes
Checklist