haystack/releasenotes/notes/hflocalchat-fixes-ddf71e8c4c73e566.yaml
Stefano Fiorucci f4d9c2bb91
fix: Make the HuggingFaceLocalChatGenerator compatible with the new ChatMessage; serialize chat_template (#8663)
* message conversion function

* hfapi w tools

* right test file + hf_hub version

* release note

* fix for new chatmessage; serialize chat_template

* feedback
2024-12-19 15:12:12 +01:00

8 lines
219 B
YAML

---
fixes:
- |
Make the HuggingFaceLocalChatGenerator compatible with the new ChatMessage format, by converting the messages to
the format expected by Hugging Face.
Serialize the chat_template parameter.