# VectorStoreRetrieverMemory

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory)

Vector Store Retriever Memory.

Store the conversation history in a vector store and retrieves the relevant
parts of past conversation based on the input.

## Signature

```python
VectorStoreRetrieverMemory()
```

## Extends

- `BaseMemory`

## Properties

- `retriever`
- `memory_key`
- `input_key`
- `return_docs`
- `exclude_input_keys`
- `memory_variables`

## Methods

- [`load_memory_variables()`](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory/load_memory_variables)
- [`aload_memory_variables()`](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory/aload_memory_variables)
- [`save_context()`](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory/save_context)
- [`asave_context()`](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory/asave_context)
- [`clear()`](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory/clear)
- [`aclear()`](https://reference.langchain.com/python/langchain-classic/memory/vectorstore/VectorStoreRetrieverMemory/aclear)

## ⚠️ Deprecated

Deprecated since version 0.3.1.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/f0c5a28fa05adcda89aebcb449d897245ab21fa4/libs/langchain/langchain_classic/memory/vectorstore.py#L15)