haystack/releasenotes/notes/tool-dataclass-12756077bbfea3a1.yaml
Stefano Fiorucci 96b4a1d2fd
feat: Tool dataclass - unified abstraction to represent tools (#8652)
* draft

* del HF token in tests

* adaptations

* progress

* fix type

* import sorting

* more control on deserialization

* release note

* improvements

* support name field

* fix chatpromptbuilder test

* port Tool from experimental

* release note

* docs upd

* Update tool.py

---------

Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
2024-12-18 11:36:44 +00:00

9 lines
398 B
YAML

---
highlights: >
We are introducing the `Tool` dataclass: a simple and unified abstraction to represent tools throughout the framework.
By building on this abstraction, we will enable support for tools in Chat Generators,
providing a consistent experience across models.
features:
- |
Added a new `Tool` dataclass to represent a tool for which Language Models can prepare calls.