Skip to content

[Idea] ChatGPT integration #441

@marckohlbrugge

Description

@marckohlbrugge

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions