Text-to-SQL Agent with Automated Query Repair
Our state-of-the-art Text-to-SQL model: a six-layer architecture — input processing, prompt engineering, LLM generation, execution, validation/repair, and output generation — driven by an iterative, execution-driven automated repair mechanism. It improved on the no-repair baseline by 20.8 percentage points across 1,034 questions and 20 databases, beating the referenced STRUG result.