langchain/libs/partners/voyageai/tests/unit_tests
Omri Eliyahu Levy f8883a1321
partners/voyageai: enable setting output dimension (#28740)
Voyage has introduced voyage-3-large and voyage-code-3, which feature
different output dimensions by leveraging a technique called "Matryoshka
Embeddings" (see blog -
https://blog.voyageai.com/2024/12/04/voyage-code-3/).
These two models are available in various sizes: [256, 512, 1024, 2048]
(https://docs.voyageai.com/docs/embeddings#model-choices).

This PR adds the option to set the required output dimension.
2024-12-17 10:02:00 -05:00
..
__init__.py voyageai[patch]: init package (#19098) 2024-03-15 00:56:10 +00:00
test_embeddings.py partners/voyageai: enable setting output dimension (#28740) 2024-12-17 10:02:00 -05:00
test_imports.py voyageai[patch]: top level reranker import (#19645) 2024-03-28 06:37:55 +00:00
test_rerank.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00