fix:empty default cohere rerank config

This commit is contained in:
Tadashi 2024-10-01 16:12:24 +07:00
parent a424a630f2
commit 8d3a752710
No known key found for this signature in database
GPG Key ID: 399380A00CC9028D

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,
}