Input
- Required Inputs:
input
: Natural language query intentoutput
: Generated SQL querydb_schema
: Database schema definition
Output
Result
: Binary score (0 or 1)Reasoning
: Brief explanation of assessment
Interpretation
- 1: Query is correct (valid syntax and captures intent)
- 0: Query is incorrect (invalid syntax or wrong intent)