langchain/libs/partners/huggingface
Manuel af2e0a7ede
partners: add 'model' alias for consistency in embedding classes (#28374)
**Description:** This PR introduces a `model` alias for the embedding
classes that contain the attribute `model_name`, to ensure consistency
across the codebase, as suggested by a moderator in a previous PR. The
change aligns the usage of attribute names across the project (see for
example
[here](65deeddd5d/libs/partners/groq/langchain_groq/chat_models.py (L304))).
**Issue:** This PR addresses the suggestion from the review of issue
#28269.
**Dependencies:**  None

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-12-13 22:30:00 +00:00
..
langchain_huggingface partners: add 'model' alias for consistency in embedding classes (#28374) 2024-12-13 22:30:00 +00:00
scripts multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
tests huggingface: fix standard test lint (#28714) 2024-12-13 22:18:54 +00:00
.gitignore huggingface: init package (#21097) 2024-05-13 20:53:15 +00:00
LICENSE huggingface: init package (#21097) 2024-05-13 20:53:15 +00:00
Makefile standard-tests[patch]: add Ser/Des test 2024-09-04 10:24:06 -07:00
poetry.lock multiple: langchain-standard-tests -> langchain-tests (#28139) 2024-11-15 11:32:04 -08:00
pyproject.toml multiple: langchain-standard-tests -> langchain-tests (#28139) 2024-11-15 11:32:04 -08:00
README.md huggingface: init package (#21097) 2024-05-13 20:53:15 +00:00

langchain-huggingface

This package contains the LangChain integrations for huggingface related classes.

Installation and Setup

  • Install the LangChain partner package
pip install langchain-huggingface