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

pip install 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:

pip install 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:

pip install "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.

Release files for langchain-huggingface 1.2.2

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.2
File Size Uploaded
langchain_huggingface-1.2.2.tar.gz 255.5 kB Details

Built distribution (wheel)

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

Total release size: 287.4 kB

Release files / langchain_huggingface-1.2.2.tar.gz

Download URL langchain_huggingface-1.2.2.tar.gz
Size 255.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1dd91ec415190d2704e93ec149618e3145075863ba37e74afc9080d685dc2743
BLAKE2b-256 checksum
How to use checksums
2ce84068ad02179253f55958e59e442e5b6e8cb95ffc5e805cc4db0b1ef61d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL langchain_huggingface-1.2.2-py3-none-any.whl
Size 31.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f94944b0c0d5afc687568d426c87ed5236907464c41e72108ed76eee1a690f6d
BLAKE2b-256 checksum
How to use checksums
0aed648b87f9b67153ade616f360bf4145b76ed428b4adb89525938f611e9828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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