#How does ChatGPT's ability to remember things and memorize stuff work exactly?

1 messages · Page 1 of 1 (latest)

wanton mulchBOT
#

Hi @sand tide. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

ChatGPT's memory functionality is designed to remember things discussed across all chats, which can make future conversations more helpful by saving users from having to repeat information. Users have control over ChatGPT's memory. They can explicitly instruct it to remember something, ask it what it remembers, and tell it to forget information either conversationally or through settings. Users also have the option to turn off this memory feature entirely. This feature was being tested with a small portion of ChatGPT free and Plus users as of the latest update on February 13, 2024 source (https://help.openai.com/en/articles/6825453-chatgpt-release-notes).

However, it's important to note that the AI model itself doesn't store a history of what you talked about. Individual AI model calls are standalone and must be told again what you were talking about recently. The conversation history that is used is a choice of the programmer. There are many ways to enhance the illusion of memory and reduce the token usage of particular turns, such as replaying to the AI just the user input and not the AI response, summarization, and semantic retrieval of older conversation turns source (https://community.openai.com/t/394839).

For example, the conversation history can be maintained in a conversation_history list. Every time a new message is added, it is appended to this list. This way, the model has access to all previous messages and can use this information to generate responses that take the conversation history into account source (https://community.openai.com/t/576788).

#

For more detailed information about memory and controls for ChatGPT, you can refer to the official OpenAI API documentation or the OpenAI Python library GitHub repository.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: