SQL Querier Pipeline
Overview
The SQL Querier Pipeline translates natural language questions into SQL queries and executes them on a connected relational database.
It is ideal for agents that need to query structured datasets from unstructured input.
Key Features
- Accepts natural language questions
- Generates SQL queries using database metadata
- Executes queries safely on the database
- Returns results in a readable table format or errors
Usage
Add to QueryAssistantAgent
- Go to Pipelines
- Select SQL Querier Pipeline
- Drag it into the QueryAssistantAgent pipeline
Configure Database
- Assign a Relational Dataset to the agent
- Choose a document from the dataset
Input & Output
- Input: Natural language question(s)
- Output: SQL query results (formatted table or errors)