I made a small project that helps translate plain English questions into SQL queries. It's nothing revolutionary, but it might be useful for teams where non-technical folks need to query databases without bothering developers each time.
Prompt2Query uses LLMs to do the translation. It's still early days, and there are definitely limitations, but I've found it helpful in my own work. The accuracy isn't perfect, especially for complex queries, but it handles common cases reasonably well.
Currently supports:Basic SQL dialects (MySQL, PostgreSQL, SQLite)
Simple API for integration
Schema validation to catch obvious errors
This is my first proper open-source project, so I'm sure there are many improvements to be made. I'd appreciate any feedback, suggestions, or contributions from the community.