langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Fix documentation for 'model' parameter in CohereEmbeddings

Open ephe-meral opened this issue 2 years ago • 0 comments

Currently, the class parameter 'model_name' of the CohereEmbeddings class is not supported, but 'model' is. The class documentation is inconsistent with this, though, so I propose to either fix the documentation (this PR right now) or fix the parameter.

It will create the following error:

ValidationError: 1 validation error for CohereEmbeddings
model_name
  extra fields not permitted (type=value_error.extra)

ephe-meral avatar Jan 29 '23 17:01 ephe-meral