Commit f5eff18
committed
fix(voyageai): use nested inputs and drop unsupported chunk_size for 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.1 parent ccbfbb0 commit f5eff18
1 file changed
Lines changed: 2 additions & 4 deletions
File tree
- llama-index-integrations/embeddings/llama-index-embeddings-voyageai/llama_index/embeddings/voyageai
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | | - | |
401 | 400 | | |
402 | 401 | | |
403 | 402 | | |
| |||
428 | 427 | | |
429 | 428 | | |
430 | 429 | | |
431 | | - | |
| 430 | + | |
432 | 431 | | |
433 | 432 | | |
434 | 433 | | |
435 | 434 | | |
436 | | - | |
437 | 435 | | |
438 | 436 | | |
439 | 437 | | |
| |||
0 commit comments