Skip to main content

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​

  1. Go to Pipelines
  2. Select SQL Querier Pipeline
  3. Drag it into the QueryAssistantAgent pipeline

Configure Database​

Input & Output​

  • Input: Natural language question(s)
  • Output: SQL query results (formatted table or errors)