The SnowflakeSearchTool
enables CrewAI agents to execute SQL queries and perform semantic search on Snowflake data warehouses.
SnowflakeSearchTool
SnowflakeSearchTool
is designed to connect to Snowflake data warehouses and execute SQL queries with advanced features like connection pooling, retry logic, and asynchronous execution. This tool allows CrewAI agents to interact with Snowflake databases, making it ideal for data analysis, reporting, and business intelligence tasks that require access to enterprise data stored in Snowflake.
SnowflakeSearchTool
, follow these steps:
SnowflakeConfig
object with your Snowflake credentials.SnowflakeSearchTool
to query data from a Snowflake database:
SnowflakeConfig
class accepts the following parameters:
password
or private_key_path
must be provided.
SnowflakeSearchTool
accepts the following parameters during initialization:
SnowflakeConfig
object containing connection details.SnowflakeSearchTool
, you need to provide the following parameters:
SnowflakeSearchTool
implements connection pooling to improve performance by reusing database connections. You can control the pool size with the pool_size
parameter.
max_retries
and retry_delay
parameters.
enable_caching=False
.
SnowflakeSearchTool
includes comprehensive error handling for common Snowflake issues:
SnowflakeSearchTool
provides a powerful way to integrate Snowflake data warehouses with CrewAI agents. With features like connection pooling, automatic retries, and query caching, it enables efficient and reliable access to enterprise data. This tool is particularly useful for data analysis, reporting, and business intelligence tasks that require access to structured data stored in Snowflake.