Skip to content

Latest commit

 

History

History
43 lines (22 loc) · 2.5 KB

README.md

File metadata and controls

43 lines (22 loc) · 2.5 KB

ChatGPT Plugin for Chatting with PostgreSQL

This plugin is a ChatGPT demo for further development. It only supports PostgreSQL, but you can copy and use it as a starting point for developing your own plugin.

Usage

Fork

As the plugin is developed and deployed on AirCode, all you need to do is click the following button to get a copy and start developing and deploying your own plugin:

Deploy with AirCode

Update Domain

Once you have successfully copied the plugin, you can deploy it and get your app domain by clicking the "Deploy" button:

Alt text

And replace all z58n74aig5.us.aircode.run with your own domain in the files .well-known/ai-plugin.json and openapi.yaml, for the case above is x5a89yqe9z.us.aircode.run. After you've done that, click deploy again (to update the domain info in your manifest file.)

Install in ChatGPT

Click Develop your own plugin (If you cannot see this, it indicates that you do not have developer access, you can apply it here.):

Alt text

Input the domain of your app and click Find manifest file:

Alt text

If everything goes well, you will see:

Alt text

After you installed, you can try it with your PostgreSQL database, if you don't have one, you can try Vercel Postgres and get a free postgres DB:

Alt text

Copy the url of your db, and add a ?sslmode=require to the end of your database uri, and start chat with your DB in ChatGPT!

Alt text