langchain/libs/partners/huggingface/langchain_huggingface/embeddings
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
..
__init__.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
huggingface_endpoint.py huggingface[fix]: HuggingFaceEndpointEmbeddings model parameter passing error when async embed (#27953) 2024-11-20 19:08:56 +00:00
huggingface.py partners: add 'model' alias for consistency in embedding classes (#28374) 2024-12-13 22:30:00 +00:00