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 |
---|---|---|---|---|---|---|
Elasticsearch |
self-hosted / cloud |
β |
β |
β |
β |
β |
Pinecone |
cloud |
β |
β |
β |
β |
|
Timescale |
β |
β |
β |
β |
||
Weaviate |
self-hosted / cloud |
β |
β |
β |
β |
|
Postgres |
self-hosted / cloud |
β |
β |
β |
β |
β |
Cassandra |
self-hosted / cloud |
β |
β |
β |
||
Qdrant |
self-hosted / cloud |
β |
β |
β |
||
Chroma |
self-hosted |
β |
β |
β |
||
Milvus / Zilliz |
self-hosted / cloud |
β |
β |
β |
||
Typesense |
self-hosted / cloud |
β |
β |
β |
||
Supabase |
self-hosted / cloud |
β |
β |
β |
||
MongoDB Atlas |
self-hosted / cloud |
β |
β |
β |
||
Redis |
self-hosted / cloud |
β |
β |
β |
||
Deeplake |
self-hosted / cloud |
β |
β |
β |
||
OpenSearch |
self-hosted / cloud |
β |
β |
β |
||
Neo4jVector |
self-hosted / cloud |
β |
β |
|||
Azure Cognitive Search |
cloud |
β |
β |
β |
||
DynamoDB |
cloud |
β |
||||
LanceDB |
cloud |
β |
β |
β |
||
Metal |
cloud |
β |
β |
β |
||
MyScale |
cloud |
β |
β |
β |
||
Tair |
cloud |
β |
β |
β |
||
Simple |
in-memory |
β |
β |
|||
FAISS |
in-memory |
|||||
ChatGPT Retrieval Plugin |
aggregator |
β |
β |
|||
DocArray |
aggregator |
β |
β |
β |
For more details, see Vector Store Integrations.
Examples
- Elasticsearch Vector Store
- Simple Vector Store
- Rockset Vector Store
- Qdrant Vector Store
- Faiss Vector Store
- DeepLake Vector Store
- MyScale Vector Store
- Metal Vector Store
- Weaviate Vector Store
- Opensearch Vector Store
- Pinecone Vector Store
- Chroma
- LanceDB Vector Store
- Milvus Vector Store
- Redis Vector Store
- Query the data
- Working with Metadata
- Weaviate Vector Store - Hybrid Search
- Zep Vector Store
- Create a Zep Vector Store and Index
- Querying with Metadata filters
- Pinecone Vector Store - Hybrid Search
- Simple Vector Store - Async Index Creation
- Tair Vector Store
- Supabase Vector Store
- DocArray Hnsw Vector Store
- DocArray InMemory Vector Store
- MongoDB Atlas
- Cassandra Vector Store
- Neo4j vector store
- Azure Cognitive Search
- Basic Example
- Create Index (if it does not exist)
- Use Existing Index
- Adding a document to existing index
- Filtering
- Epsilla Vector Store
- Timescale Vector Store (PostgreSQL)