Skip to content

Vector Stores#

Vector stores contain embedding vectors of ingested document chunks (and sometimes the document chunks as well).

Simple Vector Store#

By default, LlamaIndex uses a simple in-memory vector store that's great for quick experimentation. They can be persisted to (and loaded from) disk by calling vector_store.persist() (and SimpleVectorStore.from_persist_path(...) respectively).

Vector Store Options & Feature Support#

LlamaIndex supports over 20 different vector store options. We are actively adding more integrations and improving feature coverage for each.

Vector Store Type Metadata Filtering Hybrid Search Delete Store Documents Async
Alibaba Cloud OpenSearch cloud โœ“ โœ“ โœ“ โœ“
Apache Cassandraยฎ self-hosted / cloud โœ“ โœ“ โœ“
Astra DB cloud โœ“ โœ“ โœ“
Azure AI Search cloud โœ“ โœ“ โœ“ โœ“
Azure CosmosDB MongoDB cloud โœ“ โœ“
BaiduVectorDB cloud โœ“ โœ“ โœ“
ChatGPT Retrieval Plugin aggregator โœ“ โœ“
Chroma self-hosted โœ“ โœ“ โœ“
Couchbase self-hosted / cloud โœ“ โœ“ โœ“ โœ“
DashVector cloud โœ“ โœ“ โœ“ โœ“
Databricks cloud โœ“ โœ“ โœ“
Deeplake self-hosted / cloud โœ“ โœ“ โœ“
DocArray aggregator โœ“ โœ“ โœ“
DuckDB in-memory / self-hosted โœ“ โœ“ โœ“
DynamoDB cloud โœ“
Elasticsearch self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
FAISS in-memory
Hnswlib in-memory
txtai in-memory
Jaguar self-hosted / cloud โœ“ โœ“ โœ“ โœ“
LanceDB cloud โœ“ โœ“ โœ“
Lantern self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
Metal cloud โœ“ โœ“ โœ“
MongoDB Atlas self-hosted / cloud โœ“ โœ“ โœ“
MyScale cloud โœ“ โœ“ โœ“ โœ“
Milvus / Zilliz self-hosted / cloud โœ“ โœ“ โœ“ โœ“
Neo4jVector self-hosted / cloud โœ“ โœ“ โœ“
OpenSearch self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
Pinecone cloud โœ“ โœ“ โœ“ โœ“
Postgres self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
pgvecto.rs self-hosted / cloud โœ“ โœ“ โœ“ โœ“
Qdrant self-hosted / cloud โœ“ โœ“ โœ“ โœ“ โœ“
Redis self-hosted / cloud โœ“ โœ“ โœ“
Simple in-memory โœ“ โœ“
SingleStore self-hosted / cloud โœ“ โœ“ โœ“
Supabase self-hosted / cloud โœ“ โœ“ โœ“
Tair cloud โœ“ โœ“ โœ“
TiDB cloud โœ“ โœ“ โœ“
TencentVectorDB cloud โœ“ โœ“ โœ“ โœ“
Timescale โœ“ โœ“ โœ“ โœ“
Typesense self-hosted / cloud โœ“ โœ“ โœ“
Upstash cloud โœ“
Vearch self-hosted โœ“ โœ“ โœ“
Vespa self-hosted / cloud โœ“ โœ“ โœ“ โœ“
Vertex AI Vector Search cloud โœ“ โœ“ โœ“
Weaviate self-hosted / cloud โœ“ โœ“ โœ“ โœ“

For more details, see Vector Store Integrations.

Example Notebooks#