Relative Content

Tag Archive for pythonflaskchatgpt-api

I don’t know how to save conversation history with ChatGPT

I’m creating a chatbot by using ChatGPT and Flask.
However, the way of using ChatGPT API can’t continue conversation so that I’m finding the solution.
In addition, I don’t accept the method which causes system clash using a lot of memory.
This is the code which I’m using to proceed conversation with ChatGPT through Flask server.