mirror of https://github.com/hwchase17/langchain
Update Cohere Reranker (#4180)
The forward ref annotations don't get updated if we only iimport with type checking --------- Co-authored-by: Abhinav Verma <abhinav_win12@yahoo.co.in>pull/4183/head
parent
d84bb02881
commit
84cfa76e00
@ -0,0 +1,8 @@
|
||||
"""Test the cohere reranker."""
|
||||
|
||||
from langchain.retrievers.document_compressors.cohere_rerank import CohereRerank
|
||||
|
||||
|
||||
def test_cohere_reranker_init() -> None:
|
||||
"""Test the cohere reranker initializes correctly."""
|
||||
CohereRerank()
|
Loading…
Reference in New Issue