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
pull/18556/head
Jaid 5 months ago committed by GitHub
parent 26eed70c11
commit e4d7b1a482
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,5 +1,4 @@
from langchain_voyageai.embeddings import VoyageAIEmbeddings
from langchain_voyageai.rerank import VoyageAIRerank
__all__ = [
"VoyageAIEmbeddings",
]
__all__ = ["VoyageAIEmbeddings", "VoyageAIRerank"]

@ -2,6 +2,7 @@ from langchain_voyageai import __all__
EXPECTED_ALL = [
"VoyageAIEmbeddings",
"VoyageAIRerank",
]

Loading…
Cancel
Save