gpt2pg

#0 / 0 rate

gpt2pg

23 users

2023-01-27

raouf

Extension Information

5 star
0%
4 star
0%
3 star
0%
2 star
0%
1 star
0%

Supported Languages

Permissions

Hot Permissions

Description

Running ChatGPT queries on Postgres

The extension works with the chatGPT website. When a ChatGPT user asks about SQL, ChatGPT will generate SQL code as a response. The extension looks for SQL code blocks generated in the in the HTML of a ChatGPT conversation and adds a "Run SQL" button element below it. The user can press the "Run SQL" to test the SQL generated by ChatGPT on a real database.

When a user presses the "Run SQL", the extension sends an HTTP request to the API, that will run the query, then send the result.