Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: HuggingFaceEndpoint documentation incorrect for importing #20977

Open
2 tasks done
hdvsarm opened this issue Apr 27, 2024 · 1 comment
Open
2 tasks done

DOC: HuggingFaceEndpoint documentation incorrect for importing #20977

hdvsarm opened this issue Apr 27, 2024 · 1 comment
Labels
🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder 🔌: huggingface Primarily related to HuggingFace integrations

Comments

@hdvsarm
Copy link

hdvsarm commented Apr 27, 2024

Checklist

  • I added a very descriptive title to this issue.
  • I included a link to the documentation page I am referring to (if applicable).

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

@hdvsarm hdvsarm changed the title DOC: <Please write a comprehensive title after the 'DOC: ' prefix> HuggingFaceHub documentation incorrect for importing DOC: HuggingFaceEndpoint documentation incorrect for importing Apr 27, 2024
@dosubot dosubot bot added 🔌: huggingface Primarily related to HuggingFace integrations 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels Apr 27, 2024
@jandevel
Copy link

@hdvsarm please, close the issue.
The import is correct, check the discussion for the related PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder 🔌: huggingface Primarily related to HuggingFace integrations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants