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 e75f0c2 commit 3bcbcee
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 @@ -47,7 +47,7 @@ class ComponentTool(Tool):
- 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.
You can create a ComponentTool from the component by passing the component to the ComponentTool constructor.
Below is an example of creating a ComponentTool from an existing SerperDevWebSearch component.
```python
Expand Down

0 comments on commit 3bcbcee

Please sign in to comment.