mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
e4d7b1a482
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
11 lines
192 B
Python
11 lines
192 B
Python
from langchain_voyageai import __all__
|
|
|
|
EXPECTED_ALL = [
|
|
"VoyageAIEmbeddings",
|
|
"VoyageAIRerank",
|
|
]
|
|
|
|
|
|
def test_all_imports() -> None:
|
|
assert sorted(EXPECTED_ALL) == sorted(__all__)
|