Your bookmarks

Loading your bookmarks

Latest updates

New courses, skills, book chapters, and site improvements will appear here.

Create free accountSign upDashboardDashboard

Memory (in AI systems)

  • Context
  • Standard term
2 steps

Memory in an AI system is information an app saves from earlier conversations or tasks, such as your preferences or past decisions, and loads into later requests so you do not have to repeat yourself.

The app saves short notes about you, in some products only when you ask and in others on its own as you chat. When a new chat starts, it places notes ahead of your message for the model to read, either all of them or the ones a search finds related to what you asked.

Where you’ll meet it

Your assistant keeps suggesting only vegetarian dinners. Months ago you planned one meal for a vegetarian friend, and it saved “household is vegetarian” as a lasting note about you.

What to do

Open the memory section of the assistant's settings, find that note, and delete it or change it to “one friend is vegetarian.” Read the other notes while you're there, since any of them can steer later answers the same way.

Easy to mix up

Fine-tuning changes a model only after a new training run on examples. Memory works by your next chat: once the app saves a note, it loads that note into later requests.

Check yourself

Your assistant app gives you short answers because you told it months ago that you prefer them. At work you use a tool your employer built on the same company's model. Will that tool give you short answers too?

Go deeperTurning off saved notes may not stop references to old chats

Some products also search your past chats when a new one starts, so turning off saved notes may leave references to earlier conversations. The settings page usually says which a product does, and many offer a temporary chat that neither reads nor writes memory.

For people building memory into their own tools, updating is harder than saving. A new fact has to find and replace the note it contradicts, or both get loaded and the model has to choose between them. A date and source on each note help it choose. Saved notes are also stored personal data, exposed whenever the account is.

Practice Modern AI

Or take the learning quiz on a mix of every set