Skip to main content
Mem0 includes built-in support for various popular databases. Memory can utilize the database provided by the user, ensuring efficient use for specific needs.

Supported Vector Databases

See the list of supported vector databases below.
The following vector databases are supported in the Python implementation. The TypeScript implementation currently supports Qdrant, Redis, PGVector, Supabase, LangChain, Azure AI Search, Vectorize, Amazon S3 Vectors, Milvus, Neptune Analytics, and an in-memory store.
https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/qdrant.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=c04b6c73d2755903dedc20c737b7a1ac

Qdrant

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/chroma.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=8a9cc7224e0df1221b719fbf4ed01c3a

Chroma

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/postgresql.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=973cdcbb19f5df6f9851c4243f9a05f9

PGVector

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/upstash.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=5e064b800002c918273a31a2bbac0195

Upstash Vector

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/milvus.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=dfeb9d1a4a84850e534ef0da278f81df

Milvus

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/pinecone.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=961ad225c464dbd2014a35c2ff0fcf00

Pinecone

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/mongodb.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=8c563986007062c05b49eee286f82e83

MongoDB

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/azure-color.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=15f73415f4af02e4442294a9d8490bfd

Azure

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/redis.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=a167e09484ac60eb7548008c6cb02941

Redis

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/valkey.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=afd846174ae0e9f9dddcd17a0b02c849

Valkey

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/elasticsearch.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=4cab5d2695d1c0f4b30cc70dd86d64d0

Elasticsearch

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/opensearch.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=3b43b472106e1de39f20eed9e9963e60

OpenSearch

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/supabase.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=1d6ad2d4939ebabd08cf3655526cad6c

Supabase

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/vertexai.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=71903b4b514bd4380d3c81be3c68baab

Vertex AI

Weaviate

FAISS

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/langchain-color.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=85a28798b84159e82fb56724fa0dc720

LangChain

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/aws-color.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=bb003af672b57ec19b3b693066085819

Amazon S3 Vectors

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/aws-color.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=bb003af672b57ec19b3b693066085819

Neptune Analytics

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/databricks.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=e68f746a1af6c485fc246550fabbdddb

Databricks

https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/turbopuffer.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=4cc167622f21d361b59979305cb712c1

Turbopuffer

Usage

To utilize a vector database, you must provide a configuration to customize its usage. If no configuration is supplied, a default configuration will be applied, and Qdrant will be used as the vector database. For a comprehensive list of available parameters for vector database configuration, please refer to Config.

Common issues

Using Model with Different Dimensions

If you are using a customized model with different dimensions other than 1536 (for example, 768), you may encounter the following error: ValueError: shapes (0,1536) and (768,) not aligned: 1536 (dim 1) != 768 (dim 0) You can add "embedding_model_dims": 768, to the config of the vector_store to resolve this issue.