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 d275dc8 commit 6caf751
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 @@ -48,7 +48,7 @@ class ComponentTool(Tool):
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.
Below is an example of how to create a ComponentTool from an existing SerperDevWebSearch component.
Below is an example of creating a ComponentTool from an existing SerperDevWebSearch component.
```python
from haystack import component, Pipeline
Expand Down

0 comments on commit 6caf751

Please sign in to comment.