DOC: HuggingFaceEndpoint documentation incorrect for importing #20977
Labels
🤖:docs
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
🔌: huggingface
Primarily related to HuggingFace integrations
Checklist
Issue with current documentation:
The documentation here: https://python.langchain.com/docs/integrations/llms/huggingface_endpoint/ has incorrect import code (not sure if recent change caused it to not work).
Currently states: from langchain_community.llms import HuggingFaceEndpoint
Correct: from langchain_community.llms**.huggingface_endpoint** import HuggingFaceEndpoint
Found while trying to follow the documentation
Idea or request for content:
A minor change needs to be made to first code block on page
The text was updated successfully, but these errors were encountered: