mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-07-22 08:21:24 +00:00

* add ChatMessage.from_openai_dict_format * remove print * release note * improve docstring * separate validation logic * rm obvious comment
6 lines
210 B
YAML
6 lines
210 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Add the `from_openai_dict_format` class method to the `ChatMessage` class. It allows you to create a `ChatMessage`
|
|
from a dictionary in the format expected by OpenAI's Chat API.
|