langchain/libs/partners/huggingface/langchain_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
..
chat_models huggingface: fix tool argument serialization in _convert_TGI_message_to_LC_message (#26075) 2024-12-11 18:34:32 -08:00
embeddings partners: add 'model' alias for consistency in embedding classes (#28374) 2024-12-13 22:30:00 +00:00
llms partners/huggingface[patch]: fix HuggingFacePipeline model_id parameter (#27514) 2024-10-29 14:34:46 +00:00
tests
__init__.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
py.typed