Skip to content

Vector Stores

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

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).

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

Vector StoreTypeMetadata FilteringHybrid SearchDeleteStore DocumentsAsync
Alibaba Cloud OpenSearchcloudโœ“โœ“โœ“โœ“
Apache Cassandraยฎself-hosted / cloudโœ“โœ“โœ“
Astra DBcloudโœ“โœ“โœ“
Azure AI Searchcloudโœ“โœ“โœ“โœ“
Azure CosmosDB Mongo vCorecloudโœ“โœ“
Azure CosmosDB NoSqlcloudโœ“โœ“
BaiduVectorDBcloudโœ“โœ“โœ“
ChatGPT Retrieval Pluginaggregatorโœ“โœ“
Chromaself-hostedโœ“โœ“โœ“
Couchbaseself-hosted / cloudโœ“โœ“โœ“โœ“
DashVectorcloudโœ“โœ“โœ“โœ“
Databrickscloudโœ“โœ“โœ“
Deeplakeself-hosted / cloudโœ“โœ“โœ“
DocArrayaggregatorโœ“โœ“โœ“
DuckDBin-memory / self-hostedโœ“โœ“โœ“
DynamoDBcloudโœ“
Elasticsearchself-hosted / cloudโœ“โœ“โœ“โœ“โœ“
FAISSin-memory
Google AlloyDBcloudโœ“โœ“โœ“โœ“
Google Cloud SQL Postgrescloudโœ“โœ“โœ“โœ“
Hnswlibin-memory
txtaiin-memory
Jaguarself-hosted / cloudโœ“โœ“โœ“โœ“
LanceDBcloudโœ“โœ“โœ“
Lanternself-hosted / cloudโœ“โœ“โœ“โœ“โœ“
MongoDB Atlasself-hosted / cloudโœ“โœ“โœ“โœ“
MyScalecloudโœ“โœ“โœ“โœ“
Milvus / Zillizself-hosted / cloudโœ“โœ“โœ“โœ“
Neo4jVectorself-hosted / cloudโœ“โœ“โœ“
OpenSearchself-hosted / cloudโœ“โœ“โœ“โœ“โœ“
Pineconecloudโœ“โœ“โœ“โœ“
Postgresself-hosted / cloudโœ“โœ“โœ“โœ“โœ“
pgvecto.rsself-hosted / cloudโœ“โœ“โœ“โœ“
Qdrantself-hosted / cloudโœ“โœ“โœ“โœ“โœ“
Redisself-hosted / cloudโœ“โœ“โœ“
S3cloudโœ“โœ“โœ“โœ“* (using asyncio.to_thread)
Simplein-memoryโœ“โœ“
SingleStoreself-hosted / cloudโœ“โœ“โœ“
Supabaseself-hosted / cloudโœ“โœ“โœ“
Tablestorecloudโœ“โœ“โœ“โœ“
Taircloudโœ“โœ“โœ“
TiDBcloudโœ“โœ“โœ“
TencentVectorDBcloudโœ“โœ“โœ“โœ“
Timescaleโœ“โœ“โœ“โœ“
Typesenseself-hosted / cloudโœ“โœ“โœ“
Upstashcloudโœ“
Vearchself-hostedโœ“โœ“โœ“
Vespaself-hosted / cloudโœ“โœ“โœ“โœ“
Vertex AI Vector Searchcloudโœ“โœ“โœ“
Weaviateself-hosted / cloudโœ“โœ“โœ“โœ“
WordLiftcloudโœ“โœ“โœ“โœ“โœ“

For more details, see Vector Store Integrations.