[GH-ISSUE #514] [langchain]: Missing docs on Huggingface inference #73

Open
opened 2026-02-17 17:19:07 -05:00 by yindo · 0 comments
Owner

Originally created by @christian-bromann on GitHub (Sep 12, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/514

Type of issue

request for content

Language

JavaScript

Description

There is not enough information about how to use HuggingFaceInference to chat with LLM. Also, there is no information available about how to use locally hosted Hugging Face models in LangChain.js.

Originally posted in https://github.com/langchain-ai/langchainjs/issues/8940


A related issue has been raised in https://github.com/langchain-ai/langchainjs/issues/7725:

Issue with current documentation:

Reference: /docs/integrations/text_embedding/transformers/
There is an issue with the @huggingface/transformers integration in @langchain/community. The documentation does not clearly outline the required dependencies and setup steps needed to use HuggingFaceTransformersEmbeddings correctly.

Idea or request for content:

Missing Required Dependencies:

The documentation does not mention that @huggingface/transformers must be installed separately.
Users may encounter errors such as:

Module not found: Can't resolve '@huggingface/transformers'
Incomplete Installation Instructions:

Currently, the documentation suggests using @langchain/community, but does not specify that @huggingface/transformers is a required dependency.

Originally created by @christian-bromann on GitHub (Sep 12, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/514 ### Type of issue request for content ### Language JavaScript ### Description There is not enough information about how to use HuggingFaceInference to chat with LLM. Also, there is no information available about how to use locally hosted Hugging Face models in LangChain.js. Originally posted in https://github.com/langchain-ai/langchainjs/issues/8940 --- A related issue has been raised in https://github.com/langchain-ai/langchainjs/issues/7725: ### Issue with current documentation: Reference: /docs/integrations/text_embedding/transformers/ There is an issue with the @huggingface/transformers integration in @langchain/community. The documentation does not clearly outline the required dependencies and setup steps needed to use HuggingFaceTransformersEmbeddings correctly. ### Idea or request for content: Missing Required Dependencies: The documentation does not mention that @huggingface/transformers must be installed separately. Users may encounter errors such as: Module not found: Can't resolve '@huggingface/transformers' Incomplete Installation Instructions: Currently, the documentation suggests using @langchain/community, but does not specify that @huggingface/transformers is a required dependency.
yindo added the langchaininternal labels 2026-02-17 17:19:07 -05:00
yindo changed title from [langchain]: Missing docs on Huggingface inference to [GH-ISSUE #514] [langchain]: Missing docs on Huggingface inference 2026-06-05 17:24:55 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#73