community[patch]: deprecate all HF classes (#22444)

This commit is contained in:
Bagatur
2024-06-04 09:48:25 -07:00
committed by GitHub
parent 58b118544e
commit 17c127531a
7 changed files with 25 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ VALID_TASKS = (
@deprecated(
since="0.0.37",
removal="0.3",
alternative_import="from langchain_huggingface.llms import HuggingFaceEndpoint",
alternative_import="from langchain_huggingface import HuggingFaceEndpoint",
)
class HuggingFaceEndpoint(LLM):
"""