haystack/releasenotes/notes/hf-tei-bug-fix-07732c672600aadd.yaml
Ashwin Mathur 8d7a58347d
fix: HuggingFaceTEITextEmbedder returning embedding of incorrect shape when used with Docker endpoint (#7319)
* Fix HuggingFaceTEITextEmbedder

* Update haystack/components/embedders/hugging_face_tei_text_embedder.py

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>

* Improve imports; Add additional tests

---------

Co-authored-by: Stefano Fiorucci <stefanofiorucci@gmail.com>
2024-03-07 16:23:57 +01:00

6 lines
176 B
YAML

---
fixes:
- |
Fixes `HuggingFaceTEITextEmbedder` returning an embedding of incorrect shape when used with a
Text-Embedding-Inference endpoint deployed using Docker.