langchain-huggingface==1.2.2
📦 langchainView on GitHub →
✨ 1 features🐛 3 fixes🔧 2 symbols
Summary
This release focuses on hardening HuggingFace integrations by improving repository ID validation and optimizing API calls, alongside updating model profile data and dependencies.
Migration Steps
- If you rely on sentence-transformers, note the migration guidance provided in the documentation regarding sentence-transformers>=5.2.0.
✨ New Features
- Added new fields and a Makefile target for model profiles.
🐛 Bug Fixes
- Harden hostname validation in HuggingFace components and reject URLs in repo_id.
- Avoid Hugging Face API calls when using local HuggingFaceEndpoint.
- Added missing ModelProfile fields and introduced a warning for schema drift in core components and model profiles.