mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 11:39:03 +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
|
from langchain.embeddings import ClarifaiEmbeddings
|
||||||
clarifai = 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
|
from langchain.embeddings import CohereEmbeddings
|
||||||
cohere = 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