Can you use Chat Completions with an custom Assistant or not?

Okay so I get that the assistant API and chat completion API are different APIs but can you initiate communication via chat completions API with an assistant the same way you’d do so with an AI model? My common sense says NO but people keep saying this is possible including ChatGPT4 lol. If this is not possible, train ChatGPT4 to say so.

Assistants maintains instructions that are placed as system messages. It uses chat completions for you.

The instructions can simply be placed as a system message in chat completions to guide the same AI model.

The main differentiator is that Assistants provides server-side conversation history, and has built-in file searching on files you upload for extraction. Chat completions requires your database for maintaining a conversation history re-sent with each request, and entirely your own code’s tool functions that you have developed.

I’ve been using ChatCompletion APIs inside my OpenAI Assistant via Function Calling. It is quite possible, if am not wrong about your question.

1 Like

I’m afraid he intended the opposite:

Not as bad a misunderstanding as “How can I use API to put my ChatGPT GPT on my website, now that I trained it by chatting 100 times”…

1 Like

It’s an important point though.

Whether you are using Assistant or Chat Completion based Chatbot, you can still nest the use of Chat Completions within functions for special purposes.

But sure, for the main “conversation” it’s one or the other.

1 Like

Thanks :pray: you answer it right and straight forward.

It’s all about context, the question has logic around identifiers. When you use chat completions API you pass a model identifier and voila you get a response, the question simply asks can the same be done with the same chat completions API but by passing an assistant identifier instead and the answer is no as this is not the functionality, purpose or way an assistant works. If you read my initial message entirely you’d see that I said I knew that already too lol yet I asked because I keep seeing conflicting information suggesting that its possible everywhere.