Understand the chatgpt's code

What code does OpenAI use so that ChatGPT remembers the previous conversation and takes it into account in its subsequent responses?

All they’re doing is appending additional messages to send back in to the API.

1 Like