fix:empty default cohere rerank config
This commit is contained in:
parent
a424a630f2
commit
8d3a752710
|
@ -241,7 +241,7 @@ KH_RERANKINGS["cohere"] = {
|
||||||
"spec": {
|
"spec": {
|
||||||
"__type__": "kotaemon.rerankings.CohereReranking",
|
"__type__": "kotaemon.rerankings.CohereReranking",
|
||||||
"model_name": "rerank-multilingual-v2.0",
|
"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,
|
"default": True,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user