Repository navigation
Conversation
|
@fzowl is attempting to deploy a commit to the Sim Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryAdds ten Voyage AI models to the Embeddings block.
|
fzowl
force-pushed
the
feat/voyageai-embeddings
branch
3 times, most recently
from
November 13, 2026 08:17
c0de2d2 to
919f204
Compare
fzowl
force-pushed
the
feat/voyageai-embeddings
branch
3 times, most recently
from
November 13, 2026 09:11
596e426 to
8531f1a
Compare
…ddings and rerank Adds a voyage provider to the embedding catalog (voyage-4-large, voyage-4, voyage-4-lite, voyage-code-4, voyage-finance-2, voyage-law-2 and the voyage-3.x generation) with an adapter for /v1/embeddings, the embeddings_voyage tool, BYOK key support, VOYAGE_API_KEY for hosted use and per-model pricing. Adds a Voyage AI block with contextualized embeddings (list of chunk lists per document) and rerank tools, with hosted-key billing and a string detail error extractor.
fzowl
force-pushed
the
feat/voyageai-embeddings
branch
from
November 13, 2026 09:41
8531f1a to
022f601
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The Embeddings block offers OpenAI, OpenRouter, Gemini, Cohere, Mistral and Ollama, but not Voyage AI, and Sim has no way to use Voyage's contextualized embeddings or rerankers.
POST /v1/embeddings(input_typefrom the task type,output_dimensionfor Matryoshka sizes), anembeddings_voyagetool, a BYOKvoyagekey,VOYAGE_API_KEYfor hosted use, and per-model pricing. These models are not selectable for knowledge bases yet, as with Cohere and Mistral.voyage-context-4,voyage-context-3), so each chunk vector reflects its document. Rerank orders texts against a query (rerank-2.5,rerank-2.5-lite). Both use the same hosted key and BYOK key, with usage-based pricing. Avoyage-errorsextractor surfaces Voyage's{"detail": "..."}messages.Knowledge-base search reranking stays on Cohere.
Product update (if relevant)
Anyone building agents can embed with Voyage models, index chunked documents with contextualized embeddings, and rerank retrieved results, using their own key (Settings > BYOK) or a deployment-wide
VOYAGE_API_KEY.Type of Change
Testing
Called the real Voyage API with the adapter's and the tools' own requests and compared the embeddings with the official
voyageainpm SDK (0.6.0): vectors and token counts are identical. The new tools were run end to end for contextualized embeddings (both models, 256 and 1024 dimensions, document and query) and rerank, including a rejected dimension. Lint, type-check,check:audits, the block registry check and the embedding, tool and block tests pass. Reviewers: the model limits and prices inlib/embeddings/catalog.ts,providers/models.tsandtools/voyageai/are taken from Voyage's docs and pricing page.Checklist