Skip to content

Commit

Permalink
Update haystack/tools/component_tool.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daria Fokina <[email protected]>
  • Loading branch information
vblagoje and dfokina authored Jan 10, 2025
1 parent 79dc5cf commit e122bf3
Showing 1 changed file with 1 addition 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 @@ -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.
Expand Down

0 comments on commit e122bf3

Please sign in to comment.