How to set up a chat with ChatGTP

I would like to set up a chat with ChatGPT. I have created a database to collect messages. Users’ messages are saved in the messages database. I have set up the “Ask ChatGPT” feature, which saves the response in the messages database. I also created a list component to display the messages, and it works.

The problem is that ChatGPT doesn’t remember the conversation history. How can I set it up so that ChatGPT retains the conversation history?

In that format which u doing - u can’t do it.

Too bad :frowning:

I found the solution and it works. I am still thinking better ways. If you have an idea, please let me know. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.