How can I start a new conversation using the API?

How do I reset the topic of a conversation in a previous chat and start a new conversation? The request from the documentation OpenAI API was used, but it only works for a certain model, and so far it gives errors.

Hey, welcome to the forum.

What have you got set-up? What are you coding in?

You don’t need to explicitly reset a conversation. You just append things to the prompt that you want it to remember.