haystack/releasenotes/notes/add-dataframe-to-legacy-fields-0f2c9abc00c67aa5.yaml
Stefano Fiorucci 4c1facdfab
fix: add dataframe to legacy fields for Document (#9026)
* fix: add dataframe to legacy fields for Document

* fmt

* small fixes
2025-03-12 13:01:03 +01:00

7 lines
279 B
YAML

---
fixes:
- |
Add dataframe to legacy fields for the Document dataclass.
This fixes a bug where Document.from_dict() in haystack-ai>=2.11.0 could not properly deserialize a Document
dictionary obtained with document.to_dict(flatten=False) in haystack-ai<=2.10.0.