> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mem0.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Overview of all supported vector databases in Mem0, including Qdrant, Chroma, PGVector, Pinecone, and more.

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.

<Note>
  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.
</Note>

<CardGroup cols={3}>
  <Card title="Qdrant" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/qdrant.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=c04b6c73d2755903dedc20c737b7a1ac" href="/components/vectordbs/dbs/qdrant" width="24" height="24" data-path="images/provider-icons/qdrant.svg" />

  <Card title="Chroma" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/chroma.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=8a9cc7224e0df1221b719fbf4ed01c3a" href="/components/vectordbs/dbs/chroma" width="25" height="16" data-path="images/provider-icons/chroma.svg" />

  <Card title="PGVector" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/postgresql.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=973cdcbb19f5df6f9851c4243f9a05f9" href="/components/vectordbs/dbs/pgvector" width="24" height="24" data-path="images/provider-icons/postgresql.svg" />

  <Card title="Upstash Vector" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/upstash.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=5e064b800002c918273a31a2bbac0195" href="/components/vectordbs/dbs/upstash-vector" width="24" height="24" data-path="images/provider-icons/upstash.svg" />

  <Card title="Milvus" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/milvus.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=dfeb9d1a4a84850e534ef0da278f81df" href="/components/vectordbs/dbs/milvus" width="24" height="24" data-path="images/provider-icons/milvus.svg" />

  <Card title="Pinecone" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/pinecone.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=961ad225c464dbd2014a35c2ff0fcf00" href="/components/vectordbs/dbs/pinecone" width="14" height="16" data-path="images/provider-icons/pinecone.svg" />

  <Card title="MongoDB" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/mongodb.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=8c563986007062c05b49eee286f82e83" href="/components/vectordbs/dbs/mongodb" width="24" height="24" data-path="images/provider-icons/mongodb.svg" />

  <Card title="Azure" icon="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" href="/components/vectordbs/dbs/azure" width="16" height="16" data-path="images/provider-icons/azure-color.svg" />

  <Card title="Redis" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/redis.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=a167e09484ac60eb7548008c6cb02941" href="/components/vectordbs/dbs/redis" width="24" height="24" data-path="images/provider-icons/redis.svg" />

  <Card title="Valkey" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/valkey.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=afd846174ae0e9f9dddcd17a0b02c849" href="/components/vectordbs/dbs/valkey" width="779" height="779" data-path="images/provider-icons/valkey.svg" />

  <Card title="Elasticsearch" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/elasticsearch.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=4cab5d2695d1c0f4b30cc70dd86d64d0" href="/components/vectordbs/dbs/elasticsearch" width="24" height="24" data-path="images/provider-icons/elasticsearch.svg" />

  <Card title="OpenSearch" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/opensearch.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=3b43b472106e1de39f20eed9e9963e60" href="/components/vectordbs/dbs/opensearch" width="24" height="24" data-path="images/provider-icons/opensearch.svg" />

  <Card title="Supabase" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/supabase.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=1d6ad2d4939ebabd08cf3655526cad6c" href="/components/vectordbs/dbs/supabase" width="24" height="24" data-path="images/provider-icons/supabase.svg" />

  <Card title="Vertex AI" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/vertexai.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=71903b4b514bd4380d3c81be3c68baab" href="/components/vectordbs/dbs/vertex_ai" width="16" height="16" data-path="images/provider-icons/vertexai.svg" />

  <Card title="Weaviate" icon="circle-nodes" href="/components/vectordbs/dbs/weaviate" />

  <Card title="FAISS" icon="layer-group" href="/components/vectordbs/dbs/faiss" />

  <Card title="LangChain" icon="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" href="/components/vectordbs/dbs/langchain" width="16" height="16" data-path="images/provider-icons/langchain-color.svg" />

  <Card title="Amazon S3 Vectors" icon="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" href="/components/vectordbs/dbs/s3_vectors" width="16" height="16" data-path="images/provider-icons/aws-color.svg" />

  <Card title="Neptune Analytics" icon="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" href="/components/vectordbs/dbs/neptune_analytics" width="16" height="16" data-path="images/provider-icons/aws-color.svg" />

  <Card title="Databricks" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/databricks.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=e68f746a1af6c485fc246550fabbdddb" href="/components/vectordbs/dbs/databricks" width="24" height="24" data-path="images/provider-icons/databricks.svg" />

  <Card title="Turbopuffer" icon="https://mintcdn.com/mem0/QK-8_hblyHgAr7vt/images/provider-icons/turbopuffer.svg?fit=max&auto=format&n=QK-8_hblyHgAr7vt&q=85&s=4cc167622f21d361b59979305cb712c1" href="/components/vectordbs/dbs/turbopuffer" width="213" height="131" data-path="images/provider-icons/turbopuffer.svg" />
</CardGroup>

## 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](./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.
