OpenAi ChatGPT Access to database

How can I connect ChatGPT to bubble and give it access to my app’s database?
Can I for example do that through the “system” role? Or is there another way of doing so?
For now what I want is a chatbot powered by ChatGPT which can assist users for better user experience. And by giving suggestions to existing data. From the way I can think of it now is that I can list of the things I want chatgpt to know in the “system” role in the API call and maybe chatgpt could use this information for suggestions and answering questions.

So what’s yall thoughts on this? Would really like to hear out your thoughts!

1 Like

There’s a plugin architecture coming for ChatGPT. This feature is currently accessed via a waitlist. Check OpenAI’s site.

Hey @dleaf :wave:

There are a few ways to do this, it really depends on how you have your database set up.

In mine, I added the data to ChatGPT using a backend workflow. I can ignore privacy rules if need be to access the data I need this way. Then you can send it whatever data you need.

Does that make sense? I’m not sure if this is what you were looking for.

I have checked their website but not really found the one you mentioned. Could you please provide a link so I can have a look to it? I’d really appreciate it.

Umm and where would you push this data into? Will you send it via the prompt or just as I said in the system role?

I put it into the prompt and it has worked well. It might work in System too though. I just haven’t tried it.