mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-24 17:30:38 +00:00

* Refactor answer dataclasses * Add release notes * Fix tests * Fix end to end tests * Enhance ExtractiveReader
9 lines
381 B
YAML
9 lines
381 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Refactor `Answer` dataclass and classes that inherited it.
|
|
Now `Answer` is a Protocol, classes that used to inherit it now respect that interface.
|
|
We also added a new `ExtractiveTableAnswer` to be used for table question answering.
|
|
|
|
All classes now are easily serializable using `to_dict()` and `from_dict()` like `Document` and components.
|