Skip to content

Commit

Permalink
Add reno note
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Jan 9, 2025
1 parent 429a73f commit dc0abe5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/tools/component_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ComponentTool(Tool):
"""
A Tool that wraps Haystack components, allowing them to be used as tools by LLMs.
ComponentTool automatically generates OpenAI-compatible function schemas from Component input sockets,
ComponentTool automatically generates LLM-compatible tool schemas from Component input sockets,
which are derived from the component's `run` method signature and type hints.
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/add-component-tool-ffe9f9911ea055a6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
Introduced the ComponentTool, a new tool that wraps Haystack components allowing them to be utilized as tools for LLMs (various ChatGenerators). This tool supports automatic function schema generation, input type validation, and offers enhanced integration with various data types.

0 comments on commit dc0abe5

Please sign in to comment.