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.

1 Like

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.

1 Like

Hi there, can you please provide more detail on this idea? In my case, I have a database of methodologies that are used in industry. In the front end, the user can ask questions about this activities and the chatbot (ChatGPT based) will answer the questions. But the thing is, I want the reply to be more specifics and updated as the information provided on the DB in bubble. I tried to achieve this by sending in the prompt information about the DB, but It did not worked. Can you please tell an appropriate way or point direction to accomplish this? Thank you!

1 Like

Sure. Can you share what you have set up currently in a screenshot? :blush:

1 Like

Hey @J805 ,

Here is a setup example using streaming

Hey guys!

Wanted to let you know that the above plugin has been updated with Native App Data Retrieval.
In two-clicks ChatGPT fetches data from your app database when needed.