mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-06-26 22:00:13 +00:00

* introduce text property and deprecate content * release note * minor test refactoring --------- Co-authored-by: Michele Pangrazzi <xmikex83@gmail.com>
8 lines
407 B
YAML
8 lines
407 B
YAML
---
|
|
deprecations:
|
|
- |
|
|
In Haystack 2.9.0, the `ChatMessage` dataclass will be refactored to make it more flexible and future-proof.
|
|
As part of this change, the `content` attribute will be removed.
|
|
A new `text` property has been introduced to provide access to the textual value of the `ChatMessage`.
|
|
To ensure a smooth transition, start using the `text` property now in place of `content`.
|