langchain/libs/community/langchain_community/embeddings
Raunak e26e1f8b37
community: Added functions to make async calls to HuggingFaceHub's embedding endpoint in HuggingFaceHubEmbeddings class (#15737)
**Description:**
Added aembed_documents() and aembed_query() async functions in
HuggingFaceHubEmbeddings class in
langchain_community\embeddings\huggingface_hub.py file. It will support
to make async calls to HuggingFaceHub's
embedding endpoint and generate embeddings asynchronously.

Test Cases: Added test_huggingfacehub_embedding_async_documents() and
test_huggingfacehub_embedding_async_query()
functions in test_huggingface_hub.py file to test the two async
functions created in HuggingFaceHubEmbeddings class.

Documentation: Updated huggingfacehub.ipynb with steps to install
huggingface_hub package and use
HuggingFaceHubEmbeddings.

**Dependencies:** None,
**Twitter handle:** I do not have a Twitter account

---------

Co-authored-by: H161961 <Raunak.Raunak@Honeywell.com>
2024-01-11 21:52:55 -08:00
..
__init__.py Refactor: use SecretStr for llm_rails embeddings (#15090) 2024-01-01 15:24:50 -08:00
aleph_alpha.py
awa.py
azure_openai.py community[patch]: more deprecations (#15782) 2024-01-09 20:36:16 -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 Propagate context vars in all classes/methods 2023-12-29 12:34:03 -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
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 Refactor: use SecretStr for edenai embeddings (#15092) 2024-01-01 15:22:51 -08:00
elasticsearch.py
embaas.py Refactor: use SecretStr for embaas embeddings (#15091) 2024-01-01 15:24:00 -08:00
ernie.py Propagate context vars in all classes/methods 2023-12-29 12:34:03 -08:00
fake.py
fastembed.py
google_palm.py
gpt4all.py
gradient_ai.py community[patch]: update Gradient embeddings (#14846) 2023-12-19 11:46:33 -05:00
huggingface_hub.py community: Added functions to make async calls to HuggingFaceHub's embedding endpoint in HuggingFaceHubEmbeddings class (#15737) 2024-01-11 21:52:55 -08:00
huggingface.py
infinity.py
javelin_ai_gateway.py
jina.py Refactor: use SecretStr for jina embeddings (#15068) 2023-12-22 11:42:29 -08:00
johnsnowlabs.py
llamacpp.py
llm_rails.py Refactor: use SecretStr for llm_rails embeddings (#15090) 2024-01-01 15:24:50 -08:00
localai.py
minimax.py Refactor: use SecretStr for minimax embeddings (#15067) 2023-12-22 11:43:23 -08:00
mlflow_gateway.py
mlflow.py
modelscope_hub.py
mosaicml.py
nlpcloud.py
octoai_embeddings.py
ollama.py
openai.py community[patch]: more deprecations (#15782) 2024-01-09 20:36:16 -08:00
sagemaker_endpoint.py
self_hosted_hugging_face.py
self_hosted.py
sentence_transformer.py
spacy_embeddings.py
tensorflow_hub.py
vertexai.py community[patch]: more deprecations (#15782) 2024-01-09 20:36:16 -08:00
volcengine.py Feat add volcano embedding (#14693) 2024-01-01 14:37:35 -08:00
voyageai.py
xinference.py
yandex.py community[minor]: Add YandexGPT embeddings (#14767) 2023-12-20 01:11:07 -05:00