Skip to content

fix: set chunk_size=32000 and fix input format for contextualizedembeddings#22144

Open
fzowl wants to merge 3 commits into
run-llama:mainfrom
fzowl:feat/embedding-model-voyage-context-4
Open

fix: set chunk_size=32000 and fix input format for contextualizedembeddings#22144
fzowl wants to merge 3 commits into
run-llama:mainfrom
fzowl:feat/embedding-model-voyage-context-4

Conversation

@fzowl

@fzowl fzowl commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Add voyage-context-4 embedding model support with chunk_size=32000 for optimal contextualized embeddings.

fzowl added 2 commits June 24, 2026 21:43
Add voyage-context-4 to the contextualized embedding models with a 120K
batch token limit. Update README model list and batch token table, bump
version to 0.6.1, and add unit and integration test coverage.
@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jun 25, 2026
@fzowl fzowl force-pushed the feat/embedding-model-voyage-context-4 branch from f5eff18 to b4a9826 Compare June 25, 2026 16:07
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Jun 25, 2026
@fzowl fzowl force-pushed the feat/embedding-model-voyage-context-4 branch 2 times, most recently from bb89448 to 7933419 Compare June 25, 2026 16:14
…contextualized embeddings

The pinned voyageai SDK (>=0.3.6,<0.4.0) contextualized_embed expects
inputs as List[List[str]] and does not accept a chunk_size argument.
Restore the working voyage-context-3 call pattern for voyage-context-4.
@fzowl fzowl force-pushed the feat/embedding-model-voyage-context-4 branch from 7933419 to cd18b75 Compare June 25, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant