From the course: GPT Foundations: Building AI-Powered Apps

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Adding memory to ChatGPT-4

Adding memory to ChatGPT-4

- [Instructor] What was magical about ChatGPT when it first came out was the ability to remember past parts of your conversation. You could say that you had a pet dog and have a full conversation going back and forth with ChatGPT. These magical moments were probably a reason why these systems became so popular. And all these answers are based on the context of what ChatGPT has. So how do we use this memory when we're building our own conversational AI apps? If we're building an e-commerce chat bot, remembering what the users previously said makes the experience much more natural. So in this video, we're going to go through an exercise of using context to improve our responses. What's nice about ChatGPT is that context is built in by default. So as of 2025, ChatGPT can also use context from previous conversations when asking follow-up questions. So I'm on ChatGPT.com and I'm going to open up the settings. I'm going to click on Settings and click on Personalization. I'm going to turn on…

Contents