You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
Abhishek Jain 37e1275f9e
community[patch]: Fixed the 'aembed' method of 'CohereEmbeddings'. (#16497)
**Description:**
- The existing code was trying to find a `.embeddings` property on the
`Coroutine` returned by calling `cohere.async_client.embed`.
- Instead, the `.embeddings` property is present on the value returned
by the `Coroutine`.
- Also, it seems that the original cohere client expects a value of
`max_retries` to not be `None`. Hence, setting the default value of
`max_retries` to `3`.

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
8 months ago
..
cli infra: make `.gitignore` consistent with standard python gitignore (#16828) 8 months ago
community community[patch]: Fixed the 'aembed' method of 'CohereEmbeddings'. (#16497) 8 months ago
core core[patch]: Support .yml extension for YAML (#16783) 8 months ago
experimental core[patch]: Support .yml extension for YAML (#16783) 8 months ago
langchain community[minor], langchian[minor]: Add Neptune Rdf graph and chain (#16650) 8 months ago
partners google-genai[minor]: add safety settings (#16836) 8 months ago