fix to import statement PGSearchTool.md (#548)

fix to the import statement in PGSearchTool documentation
This commit is contained in:
Alex Fazio
2024-05-02 08:10:43 +02:00
committed by GitHub
parent 2ae6fc4bd8
commit d9043f0a0a

View File

@@ -19,7 +19,7 @@ pip install 'crewai[tools]'
Below is a proposed example showcasing how to use the PGSearchTool for conducting a semantic search on a table within a PostgreSQL database:
```python
rom crewai_tools import PGSearchTool
from crewai_tools import PGSearchTool
# Initialize the tool with the database URI and the target table name
tool = PGSearchTool(db_uri='postgresql://user:password@localhost:5432/mydatabase', table_name='employees')
@@ -57,4 +57,4 @@ tool = PGSearchTool(
),
)
)
```
```