Skip to main content

langchain-huggingface

PyPI - Version PyPI - License PyPI - Downloads Twitter

Looking for the JS/TS version? Check out LangChain.js.

Quick Install

uv add langchain-huggingface

Note: The base install does not include sentence-transformers or transformers. If you plan to use HuggingFaceEmbeddings or HuggingFacePipeline for local inference, install the [full] extra which includes sentence-transformers>=5.2.0 and transformers>=5.0.0:

uv add "langchain-huggingface[full]"

Migrating from langchain-community? Note that langchain-community accepted sentence-transformers>=2.2.0, but langchain-huggingface[full] requires >=5.2.0. If your project pins an older version, upgrade it:

uv add "sentence-transformers>=5.2.0"

🤔 What is this?

This package contains the LangChain integrations for Hugging Face related classes.

📖 Documentation

For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.

📕 Releases & Versioning

See our Releases and Versioning policies.

💁 Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

For detailed information on how to contribute, see the Contributing Guide.

Resources

  • LangChain Academy — comprehensive, free courses on LangChain libraries and products, made by the LangChain team
  • Code of Conduct — community guidelines and standards

Metadata

Release files for langchain-huggingface 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-huggingface 1.2.3
File Size Uploaded
langchain_huggingface-1.2.3.tar.gz 282.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-huggingface 1.2.3
File Interpreter ABI Platform
langchain_huggingface-1.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 317.2 kB

Release files / langchain_huggingface-1.2.3.tar.gz

Download URL langchain_huggingface-1.2.3.tar.gz
Size 282.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9848339ce197d48dd95668c2aac32a4523ca879840a31ebcef59a5b616315826
BLAKE2b-256 checksum
How to use checksums
fd3517f59f4a1202de947797b76a1b898a0e040dd3ee7060255d0efbeebeb0b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / langchain_huggingface-1.2.3-py3-none-any.whl

Download URL langchain_huggingface-1.2.3-py3-none-any.whl
Size 34.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d687cd9554a20edb6af86aceae2465b4d0f73557acfb9b9c6778cb0e6d5929a7
BLAKE2b-256 checksum
How to use checksums
66f8222ada54c99a512bd497f3526f6c14a55f6c0bc39ba9a05a4170ebbfe561
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page