Does the API keep track of Conversation "threads"

I am trying to figure out if the API keeps track of conversational threads like chatgpt. If so how do I manage them, I am trying to have two independent instances communicate back and forth while keeping track of their respective threads. Sorry if this is a dumb question, I am relatively new to this. Any help would be appreciated.

You will have to manage the treads yourself through the API. You feed the information mainly in “user” and “assistant”, but influence it with “system”. See the docs HERE! and here for ChatML.

Currently you can use gpt-3.5-turbo or if you have been granted access, gpt-4.

1 Like