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/tests/integration_tests
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>
8 months ago
..
adapters community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
callbacks core[patch], langchain[patch], community[patch]: Revert #15326 (#15546) 9 months ago
chat_message_histories community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
chat_models feat: Implement `stream` interface (#15875) 8 months ago
document_loaders Add AstraDB document loader (#14747) 9 months ago
embeddings community: Added functions to make async calls to HuggingFaceHub's embedding endpoint in HuggingFaceHubEmbeddings class (#15737) 8 months ago
examples community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
graphs langchain[patch]: remove unused imports (#14680) 9 months ago
llms openai[minor]: implement langchain-openai package (#15503) 9 months ago
retrievers community[minor]: Qdrant sparse vector retriever (#14814) 9 months ago
storage Add a BaseStore backed by AstraDB (#15812) 8 months ago
tools community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
utilities community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
vectorstores Fix AstraDB logical operator filtering (#15699) 9 months ago
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago
test_compile.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 10 months ago