New chat with every prompt?

Similar to the way we use the chat gpt interface, is there a possible way to make sure that each prompt we send is being asked as a new chat(without any previous context).

Send each separate prompt as an individual GPT API call. That should ensure there is no context involved due to the previous request you sent

The API has no state/history management, so each request you send is sent without any context (unless you manually add the conversation history in the messages parameter)