File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ from rerankers import Reranker
123123# Example remote API-based reranker:
124124my_config = RAGLiteConfig(
125125 db_url = " postgresql://my_username:my_password@my_host:5432/my_database"
126- reranker = Reranker(" cohere " , lang = " en " , api_key = COHERE_API_KEY )
126+ reranker = Reranker(" rerank-v3.5 " , model_type = " cohere " , api_key = COHERE_API_KEY ) # Multilingual
127127)
128128
129129# Example local cross-encoder reranker per language (this is the default):
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ dependencies = [
2828 " pydantic (>=2.7.0)" ,
2929 # Reranking:
3030 " langdetect (>=1.0.9)" ,
31- " rerankers[flashrank] (>=0.6 .0)" ,
31+ " rerankers[api, flashrank] (>=0.10 .0)" ,
3232 # Storage:
3333 " duckdb (>=1.1.3)" ,
3434 " duckdb-engine (>=0.16.0)" ,
You can’t perform that action at this time.
0 commit comments