by cmelbye · 3y ago · 0 comments
User: hello (previous prompt)
Bot: hi (previous response)
User: who are you? (new prompt)
Bot: (here it continues conversation)
I wonder how the new ChatGPT API differs, other than the fact that it's structured (you use JSON to represent the conversation memory separately instead of one large prompt).I guess I will spend the next day playing around with the new API to figure it out.
[0] https://github.com/openai/openai-python/blob/main/chatml.md