langchain/libs/community/langchain_community/embeddings
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>
2024-02-12 21:57:27 -08:00
..
__init__.py community[minor]: Add Baichuan Text Embedding Model and Baichuan Inc introduction (#16568) 2024-01-26 12:57:26 -08:00
aleph_alpha.py
awa.py
azure_openai.py community[patch]: more deprecations (#15782) 2024-01-09 20:36:16 -08:00
baichuan.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
baidu_qianfan_endpoint.py community:qianfan endpoint support init params & remove useless params definietion (#15381) 2024-01-01 13:12:31 -08:00
bedrock.py community: normalize bedrock embeddings (#15103) 2024-01-23 17:05:24 -08:00
bookend.py
clarifai.py Community : Modified doc strings and example notebook for Clarifai (#15816) 2024-01-10 19:33:10 -08:00
cloudflare_workersai.py
cohere.py community[patch]: Fixed the 'aembed' method of 'CohereEmbeddings'. (#16497) 2024-02-12 21:57:27 -08:00
dashscope.py Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data (#14662) 2024-01-01 16:50:13 -08:00
databricks.py
deepinfra.py
edenai.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
elasticsearch.py
embaas.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
ernie.py community[patch]: deprecate ErnieBotChat and ErnieEmbeddings classes (#15862) 2024-01-15 11:14:44 -08:00
fake.py
fastembed.py
google_palm.py
gpt4all.py
gradient_ai.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
huggingface_hub.py community[patch]: Fixed 'coroutine' object is not subscriptable error (#15986) 2024-01-15 10:34:10 -08:00
huggingface.py community[patch]: Add Progress bar to HuggingFaceEmbeddings (#16758) 2024-02-05 14:33:34 -08:00
infinity.py community[patch]: infinity embeddings update incorrect default url (#16759) 2024-02-12 20:05:08 -08:00
javelin_ai_gateway.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
jina.py Refactor: use SecretStr for jina embeddings (#15068) 2023-12-22 11:42:29 -08:00
johnsnowlabs.py
llamacpp.py
llm_rails.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
localai.py
minimax.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
mlflow_gateway.py
mlflow.py community[patch]: docstrings (#16810) 2024-02-09 12:48:57 -08:00
modelscope_hub.py
mosaicml.py
nlpcloud.py
oci_generative_ai.py community[patch]: docstrings (#16810) 2024-02-09 12:48:57 -08:00
octoai_embeddings.py community[patch]: octoai embeddings bug fix (#17216) 2024-02-07 22:25:52 -05:00
ollama.py community[patch]: fix top_p type hint (#15452) 2024-01-15 11:59:39 -08:00
openai.py community[patch]: more deprecations (#15782) 2024-01-09 20:36:16 -08:00
sagemaker_endpoint.py
self_hosted_hugging_face.py docs: Update documentation to use 'model_id' rather than 'model_name' to match actual API (#16615) 2024-01-26 15:01:12 -08:00
self_hosted.py
sentence_transformer.py
spacy_embeddings.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
tensorflow_hub.py
vertexai.py Adds progress bar to VertexAIEmbeddings (#14542) 2024-01-24 11:16:16 -07:00
volcengine.py Feat add volcano embedding (#14693) 2024-01-01 14:37:35 -08:00
voyageai.py
xinference.py
yandex.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00