mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-29 02:58:06 +00:00
Upgrade cohere embedding model to v3 (#13219)
Just updates API docs, doesn't change default param from 2.0 (could be breaking change)
This commit is contained in:
parent
180657ca7a
commit
9c7afa8adb
@ -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"
|
||||
)
|
||||
"""
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user