Files
langchain/docs
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
..
2023-12-15 17:46:12 -08:00
2024-01-05 09:15:00 -08:00
2023-10-10 12:55:19 -07:00
2023-10-10 12:55:19 -07:00
2023-12-17 12:55:49 -08:00
2023-10-10 12:55:19 -07:00
2024-01-08 08:38:14 -08:00
2024-01-08 08:38:14 -08:00
2024-01-10 17:39:06 -05:00

LangChain Documentation

For more information on contributing to our documentation, see the Documentation Contributing Guide