mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +00:00
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>
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user