# Conversation buffer window memory

`ConversationBufferWindowMemory` keeps a list of the interactions of the conversation over time. It only uses the last K interactions. This can be useful for keeping a sliding window of the most recent interactions, so the buffer does not get too large

Let's first explore the basic functionality of this type of memory.

import Example from "@snippets/modules/memory/types/buffer_window.mdx"

<Example/>
