Can I call an assistant I built in ChatGPT assistants through an api call

I have an api set up to call chat gpt to return the results to airtable. I want to switch the code to calling an assistant that I created in ChatGPT rather than the general chat GPT if that makes sense. Is this possible?

ChatGPT GPTs cannot be called externally, so no, that is not possible.

You can take a look a Assistants as they are the programmatic equivalent of GPTs, note that Assistants are still in development so functionality and features may change with time.

https://platform.openai.com/docs/assistants/how-it-works/agents

2 Likes

Hi Kristina - as for Assistants specifically, I can confirm that it is possible to call them via API. I’ve tried this for an experiment recently.

1 Like

Can you show me how please?

Thanks
Kristina

1 Like

Hi Kristina - I suggest you work with your developer to get it set up.

1 Like

Yes, you can do that. Here is an example if you wish to test GitHub - SamurAIGPT/Open-Custom-GPT: Create Custom GPT and add/embed on your site using Assistants api

1 Like