I love Blazer but I always struggled having to write complex SQL queries. I was too used to ActiveRecord’s simple interface.
These days I have ChatGPT write my Blazer SQL queries. It works surprisingly well.
Is there any interest in adding a native ChatGPT integration into Blazer?
The way I envision it is that users can configure their OpenAI key, add the openai-Ruby gem, and the Blazer “New query” interface will have an extra textarea that will submit to a new controller which calls the ChatGPT API and returns an SQL query.
A full back-and-forward chat interface is probably out of the scope of Blazer, but a one-shot approach should cover most use cases.
I love Blazer but I always struggled having to write complex SQL queries. I was too used to ActiveRecord’s simple interface.
These days I have ChatGPT write my Blazer SQL queries. It works surprisingly well.
Is there any interest in adding a native ChatGPT integration into Blazer?
The way I envision it is that users can configure their OpenAI key, add the openai-Ruby gem, and the Blazer “New query” interface will have an extra textarea that will submit to a new controller which calls the ChatGPT API and returns an SQL query.
A full back-and-forward chat interface is probably out of the scope of Blazer, but a one-shot approach should cover most use cases.