fix:empty default cohere rerank config

This commit is contained in:
Tadashi
2024-10-01 16:12:24 +07:00
parent a424a630f2
commit 8d3a752710

View File

@@ -241,7 +241,7 @@ KH_RERANKINGS["cohere"] = {
"spec": {
"__type__": "kotaemon.rerankings.CohereReranking",
"model_name": "rerank-multilingual-v2.0",
"cohere_api_key": config("COHERE_API_KEY", default="your-key"),
"cohere_api_key": config("COHERE_API_KEY", default=""),
},
"default": True,
}