langchain/libs/community/tests/integration_tests
Aymeric Roucher 0d294760e7
Community: Fuse HuggingFace Endpoint-related classes into one (#17254)
## Description
Fuse HuggingFace Endpoint-related classes into one:
-
[HuggingFaceHub](5ceaf784f3/libs/community/langchain_community/llms/huggingface_hub.py)
-
[HuggingFaceTextGenInference](5ceaf784f3/libs/community/langchain_community/llms/huggingface_text_gen_inference.py)
- and
[HuggingFaceEndpoint](5ceaf784f3/libs/community/langchain_community/llms/huggingface_endpoint.py)

Are fused into
- HuggingFaceEndpoint

## Issue
The deduplication of classes was creating a lack of clarity, and
additional effort to develop classes leads to issues like [this
hack](5ceaf784f3/libs/community/langchain_community/llms/huggingface_endpoint.py (L159)).

## Dependancies

None, this removes dependancies.

## Twitter handle

If you want to post about this: @AymericRoucher

---------

Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-02-19 10:33:15 -08:00
..
adapters
callbacks infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
chat_message_histories infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
chat_models community[minor]: integrate chat models with Yuan2.0 (#16575) 2024-02-13 10:55:14 -08:00
document_loaders community[patch]: Use astrapy built-in pagination prefetch in AstraDBLoader (#17569) 2024-02-15 09:52:56 -05:00
embeddings infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
examples infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
graphs community[patch]: Resolve KuzuQAChain API Changes (#16885) 2024-02-15 10:18:37 -08:00
llms Community: Fuse HuggingFace Endpoint-related classes into one (#17254) 2024-02-19 10:33:15 -08:00
retrievers infra: fix breebs test lint (#17075) 2024-02-05 16:09:48 -08:00
storage community[minor]: Add async methods to the AstraDB BaseStore (#16872) 2024-02-19 10:11:49 -08:00
tools community[minor]: Connery Tool and Toolkit (#14506) 2024-01-29 12:45:03 -08:00
utilities community[patch]: Fix github search issues and PRs PaginatedList has no len() error (#16806) 2024-02-12 19:50:59 -08:00
vectorstores community[patch]: LanceDB integration improvements/fixes (#16173) 2024-02-19 10:22:02 -08:00
__init__.py
.env.example community[minor]: Add Cassandra document loader (#16215) 2024-01-18 18:49:02 -08:00
conftest.py infra: Use dotenv in langchain-community's integration tests (#16137) 2024-01-17 18:18:26 -08:00
test_compile.py