langchain-huggingface-1.2.2


توضیحات

An integration package connecting Hugging Face and LangChain.
ویژگی مقدار
سیستم عامل -
نام فایل langchain-huggingface-1.2.2
نام langchain-huggingface
نسخه کتابخانه 1.2.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/langchain-huggingface/
مجوز MIT
# langchain-huggingface [![PyPI - Version](https://img.shields.io/pypi/v/langchain-huggingface?label=%20)](https://pypi.org/project/langchain-huggingface/#history) [![PyPI - License](https://img.shields.io/pypi/l/langchain-huggingface)](https://opensource.org/licenses/MIT) [![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-huggingface)](https://pypistats.org/packages/langchain-huggingface) [![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchain.svg?style=social&label=Follow%20%40LangChain)](https://x.com/langchain) Looking for the JS/TS version? Check out [LangChain.js](https://github.com/langchain-ai/langchainjs). ## Quick Install ```bash 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`: > > ```bash > 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: > > ```bash > 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](https://reference.langchain.com/python/integrations/langchain_huggingface/). For conceptual guides, tutorials, and examples on using these classes, see the [LangChain Docs](https://docs.langchain.com/oss/python/integrations/providers/huggingface). ## 📕 Releases & Versioning See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/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](https://docs.langchain.com/oss/python/contributing/overview).


نیازمندی

مقدار نام
- huggingface-hub<2.0.0,>=0.33.4
- langchain-core<2.0.0,>=1.2.31
- tokenizers<1.0.0,>=0.19.1
xtr sentence-transformers<6.0.0,>=5.2.0;
xtr transformers<6.0.0,>=5.0.0;


زبان مورد نیاز

مقدار نام
<4.0.0,>=3.10.0 Python


نحوه نصب


نصب پکیج whl langchain-huggingface-1.2.2:

    pip install langchain-huggingface-1.2.2.whl


نصب پکیج tar.gz langchain-huggingface-1.2.2:

    pip install langchain-huggingface-1.2.2.tar.gz