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

* Add outputs_to_string to Tool and ComponentTool * Doc string and fix tests * Add reno * Fix mypy
6 lines
375 B
YAML
6 lines
375 B
YAML
---
|
|
features:
|
|
- |
|
|
Adds outputs_to_string to Tool and ComponentTool to allow users to customize how the output of a Tool should be converted into a string so that it can be provided back to the ChatGenerator in a ChatMessage.
|
|
If outputs_to_string is not provided a default converter is used within ToolInvoker. The default handler uses the current default behavior.
|