I built a small command-line tool that lets you query a PostgreSQL database using natural language instead of SQL.
It's nothing revolutionary - just a simple CLI wrapper around the OpenAI API with PostgreSQL integration, but it's been incredibly useful for my own work. The code analyzes your database schema to provide context to the LLM, which helps generate more accurate queries.
I built a small command-line tool that lets you query a PostgreSQL database using natural language instead of SQL.
It's nothing revolutionary - just a simple CLI wrapper around the OpenAI API with PostgreSQL integration, but it's been incredibly useful for my own work. The code analyzes your database schema to provide context to the LLM, which helps generate more accurate queries.