Using CHATGPT Agent as an Open AI Agent

Currently my customer have a CHATGPT Agent defined and Now we need to integrate it in an app using the OPENAI API. How can i access to the Agent defined in CHATGPT ?

You need the data from ChatGPT to be accessible by the API for, I assume is a new Chat app?

yes , is to integrate in an internal chat app

feature-request +1

There is no way ChatGPT way to download all your added content. There are browser extensions that would do it, but - personalloy I woukdn’t use them. My trust around AI data and data protection is 0.

You could use ChatGPT and make a small JS script to get the data. But then you’re gonna also have to clean and process the data so it makes sense.

Maybe there is something new, I looked a few months back.

Hey @gabriel.giani - Welcome to the forums!

Since you already have a chat agent defined you can grab the assistant ID from the UI(starts with asst_ ) and use it with the Open AI API to create runs for that specific ID. Hope this helps. Cheers!

1 Like

I tried to find the id but i can’t see nothing with asst_ at the start. I enabled the developer mode in my Safari.

when you say CHATGPT agent, do you mean custom GPT like those found here: https://chatgpt.com/gpts?

Previous Chat data across all GPTs is the ideal goal.

If I understand correctly, you currently have a GPT created. GPTs are not accessible outside ChatGPT (on external websites).

To access GPT externally, you first have to convert it to Assistants API Assistant. You can do it manually by copying pasting instructions to https://platform.openai.com. You will then have to run the server (or integrate into existing backend) and interact with the API, create chat UI etc.

If you want to integrate easier, our startup superinterface.ai builds in this space. It gives out-of-the-box UI integration components without the need for a separate server (we host it for you). Just import your GPT or sync with Assistants API and it works.

Hope it helps and good luck!

What do you host exactly?