# Conversation buffer memory

This notebook shows how to use `ConversationBufferMemory`. This memory allows for storing of messages and then extracts the messages in a variable.

We can first extract it as a string.

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

<Example/>
