AutoQuery SQL translates plain English questions into safe, optimized database read queries.
"By inputting database schemas, the model reasons about primary keys to assemble accurate multi-table joins."
Context-Aware Compiler
The compiler evaluates database schemas, converts column types into a system prompt representation, and validates the LLM-generated SQL against a local dry-run sandbox before return.
System Architecture
[SCHEMA INGESTION LAYOUT]
Web-based SQL schema builder & natural query text field
▼
[SCHEMA VALIDATION CORE]
Node compiler worker / SQL Parser (dry-run parser validation) / OpenAI GPT-4
▼
[TARGET DATABASE]
Client schema databases (MySQL, Postgres, SQLite structures)
copy's