fix: update default cohere embedding models bump:patch

This commit is contained in:
Tadashi 2024-09-25 11:10:09 +07:00
parent 87f4d0f117
commit 79b309396b
No known key found for this signature in database
GPG Key ID: 399380A00CC9028D
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ KH_LLMS["cohere"] = {
KH_EMBEDDINGS["cohere"] = { KH_EMBEDDINGS["cohere"] = {
"spec": { "spec": {
"__type__": "kotaemon.embeddings.LCCohereEmbeddings", "__type__": "kotaemon.embeddings.LCCohereEmbeddings",
"model": "embed-multilingual-v2.0", "model": "embed-multilingual-v3.0",
"cohere_api_key": "your-key", "cohere_api_key": "your-key",
"user_agent": "default", "user_agent": "default",
}, },

View File

@ -180,7 +180,7 @@ class SetupPage(BasePage):
name="cohere", name="cohere",
spec={ spec={
"__type__": "kotaemon.embeddings.LCCohereEmbeddings", "__type__": "kotaemon.embeddings.LCCohereEmbeddings",
"model": "embed-multilingual-v2.0", "model": "embed-multilingual-v3.0",
"cohere_api_key": cohere_api_key, "cohere_api_key": cohere_api_key,
"user_agent": "default", "user_agent": "default",
}, },