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/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>
5 months ago
..
__init__.py community[minor]: Add Baichuan Text Embedding Model and Baichuan Inc introduction (#16568) 5 months ago
aleph_alpha.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
awa.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
azure_openai.py community[patch]: more deprecations (#15782) 6 months ago
baichuan.py infra: add print rule to ruff (#16221) 5 months ago
baidu_qianfan_endpoint.py community:qianfan endpoint support init params & remove useless params definietion (#15381) 6 months ago
bedrock.py community: normalize bedrock embeddings (#15103) 5 months ago
bookend.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
clarifai.py Community : Modified doc strings and example notebook for Clarifai (#15816) 6 months ago
cloudflare_workersai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
cohere.py community[patch]: Fixed the 'aembed' method of 'CohereEmbeddings'. (#16497) 5 months ago
dashscope.py Fixing the Issue with DashScopeEmbeddings Handling More than 25 Rows of Data (#14662) 6 months ago
databricks.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
deepinfra.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
edenai.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
elasticsearch.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
embaas.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
ernie.py community[patch]: deprecate ErnieBotChat and ErnieEmbeddings classes (#15862) 6 months ago
fake.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
fastembed.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
google_palm.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
gpt4all.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
gradient_ai.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
huggingface.py community[patch]: Add Progress bar to HuggingFaceEmbeddings (#16758) 5 months ago
huggingface_hub.py community[patch]: Fixed 'coroutine' object is not subscriptable error (#15986) 6 months ago
infinity.py community[patch]: infinity embeddings update incorrect default url (#16759) 5 months ago
javelin_ai_gateway.py infra: add print rule to ruff (#16221) 5 months ago
jina.py Refactor: use SecretStr for jina embeddings (#15068) 6 months ago
johnsnowlabs.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
llamacpp.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
llm_rails.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
localai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
minimax.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
mlflow.py community[patch]: docstrings (#16810) 5 months ago
mlflow_gateway.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
modelscope_hub.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
mosaicml.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
nlpcloud.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
oci_generative_ai.py community[patch]: docstrings (#16810) 5 months ago
octoai_embeddings.py community[patch]: octoai embeddings bug fix (#17216) 5 months ago
ollama.py community[patch]: fix top_p type hint (#15452) 6 months ago
openai.py community[patch]: more deprecations (#15782) 6 months ago
sagemaker_endpoint.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
self_hosted.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
self_hosted_hugging_face.py docs: Update documentation to use 'model_id' rather than 'model_name' to match actual API (#16615) 5 months ago
sentence_transformer.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
spacy_embeddings.py infra: add -p to mkdir in lint steps (#17013) 5 months ago
tensorflow_hub.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
vertexai.py Adds progress bar to VertexAIEmbeddings (#14542) 5 months ago
volcengine.py Feat add volcano embedding (#14693) 6 months ago
voyageai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
xinference.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 7 months ago
yandex.py infra: add -p to mkdir in lint steps (#17013) 5 months ago