Skip to content

Commit

Permalink
Upgrade cohere embedding model to v3 (langchain-ai#13219)
Browse files Browse the repository at this point in the history
Just updates API docs, doesn't change default param from 2.0 (could be
breaking change)
  • Loading branch information
efriis authored Nov 11, 2023
1 parent 180657c commit 9c7afa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/langchain/langchain/embeddings/clarifai.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ClarifaiEmbeddings(BaseModel, Embeddings):
from langchain.embeddings import ClarifaiEmbeddings
clarifai = ClarifaiEmbeddings(
model="embed-english-light-v2.0", clarifai_api_key="my-api-key"
model="embed-english-light-v3.0", clarifai_api_key="my-api-key"
)
"""

Expand Down
2 changes: 1 addition & 1 deletion libs/langchain/langchain/embeddings/cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class CohereEmbeddings(BaseModel, Embeddings):
from langchain.embeddings import CohereEmbeddings
cohere = CohereEmbeddings(
model="embed-english-light-v2.0", cohere_api_key="my-api-key"
model="embed-english-light-v3.0", cohere_api_key="my-api-key"
)
"""

Expand Down

0 comments on commit 9c7afa8

Please sign in to comment.