mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
e26e1f8b37
**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> |
||
---|---|---|
.. | ||
__init__.py | ||
aleph_alpha.py | ||
awa.py | ||
azure_openai.py | ||
baidu_qianfan_endpoint.py | ||
bedrock.py | ||
bookend.py | ||
clarifai.py | ||
cloudflare_workersai.py | ||
cohere.py | ||
dashscope.py | ||
databricks.py | ||
deepinfra.py | ||
edenai.py | ||
elasticsearch.py | ||
embaas.py | ||
ernie.py | ||
fake.py | ||
fastembed.py | ||
google_palm.py | ||
gpt4all.py | ||
gradient_ai.py | ||
huggingface_hub.py | ||
huggingface.py | ||
infinity.py | ||
javelin_ai_gateway.py | ||
jina.py | ||
johnsnowlabs.py | ||
llamacpp.py | ||
llm_rails.py | ||
localai.py | ||
minimax.py | ||
mlflow_gateway.py | ||
mlflow.py | ||
modelscope_hub.py | ||
mosaicml.py | ||
nlpcloud.py | ||
octoai_embeddings.py | ||
ollama.py | ||
openai.py | ||
sagemaker_endpoint.py | ||
self_hosted_hugging_face.py | ||
self_hosted.py | ||
sentence_transformer.py | ||
spacy_embeddings.py | ||
tensorflow_hub.py | ||
vertexai.py | ||
volcengine.py | ||
voyageai.py | ||
xinference.py | ||
yandex.py |