mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-25 16:13:25 +00:00
voyageai[patch]: top level reranker import (#19645)
The previous version didn't had Voyage rerank in the init file - [ ] **PR title**: langchain_voyageai reranker is not working - [ ] **PR message**: - **Description:** This fix let you run reranker from voyage - **Issue:** Was not able to run reranker from voyage @efriis
This commit is contained in:
parent
26eed70c11
commit
e4d7b1a482
@ -1,5 +1,4 @@
|
|||||||
from langchain_voyageai.embeddings import VoyageAIEmbeddings
|
from langchain_voyageai.embeddings import VoyageAIEmbeddings
|
||||||
|
from langchain_voyageai.rerank import VoyageAIRerank
|
||||||
|
|
||||||
__all__ = [
|
__all__ = ["VoyageAIEmbeddings", "VoyageAIRerank"]
|
||||||
"VoyageAIEmbeddings",
|
|
||||||
]
|
|
||||||
|
@ -2,6 +2,7 @@ from langchain_voyageai import __all__
|
|||||||
|
|
||||||
EXPECTED_ALL = [
|
EXPECTED_ALL = [
|
||||||
"VoyageAIEmbeddings",
|
"VoyageAIEmbeddings",
|
||||||
|
"VoyageAIRerank",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user