Communicating with ChatGPT in same context

Hello everyone,
I was using OpenAI API for chatGPT but I am facing a problem that whenever I ask a question related to the previous one it gives answer in other context.
For example.
Me: What is corona?
ChatGPT: Gives me the correct answer.
Me: What are the symptoms?
ChatGPT: Gives me irrelevant answer.
How can I communicate in the same context using API.
One more thing what are the parameter of GET method that can be used in OpenAI API.
Thanks in advance.


No matter what, you need to spend some tokens.

Here is my solution, you should be able to figure it out if you are already using API.