mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 04:55:14 +00:00
community[patch]: deprecate all HF classes (#22444)
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user