From e122bf3b044851e9c6c41a7a882d8cd9dc40e96c Mon Sep 17 00:00:00 2001 From: Vladimir Blagojevic Date: Fri, 10 Jan 2025 15:07:28 +0100 Subject: [PATCH] Update haystack/tools/component_tool.py Co-authored-by: Daria Fokina --- haystack/tools/component_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/tools/component_tool.py b/haystack/tools/component_tool.py index 08f8d0fc76..b6b83b074c 100644 --- a/haystack/tools/component_tool.py +++ b/haystack/tools/component_tool.py @@ -44,7 +44,7 @@ class ComponentTool(Tool): - Basic types (str, int, float, bool, dict) - Lists of basic types - Automatic name generation from component class name - - Description extraction from Component docstrings + - Description extraction from component docstrings To use ComponentTool, you first need a Haystack component - either an existing one or a new one you create. We can create a ComponentTool from the component by passing the component to the ComponentTool constructor.