LlamaIndex integration for ZeusDB vector database. Enterprise-grade RAG with high-performance vector search.
Project description
LlamaIndex ZeusDB Integration
ZeusDB vector database integration for LlamaIndex. Connect LlamaIndex's RAG framework with high-performance, enterprise-grade vector database.
Features
- Production Ready: Built for enterprise-scale RAG applications
- Advanced Filtering: Comprehensive metadata filtering with complex operators
- MMR Support: Maximal Marginal Relevance for diverse result sets
- Async Helpers: Async wrappers for add, query, delete, and clear
Installation
pip install llama-index-vector-stores-zeusdb
Quick Start
from llama_index.core import VectorStoreIndex, Document, StorageContext
from llama_index.vector_stores.zeusdb import ZeusDBVectorStore
from llama_index.embeddings.openai import OpenAIEmbedding
from llama_index.core import Settings
# Set up embedding model
Settings.embed_model = OpenAIEmbedding(model="text-embedding-3-small")
# Create ZeusDB vector store
vector_store = ZeusDBVectorStore(
dim=1536, # OpenAI embedding dimension
distance="cosine",
index_type="hnsw"
)
# Create storage context
storage_context = StorageContext.from_defaults(vector_store=vector_store)
# Create documents
documents = [
Document(text="ZeusDB is a high-performance vector database."),
Document(text="LlamaIndex provides RAG capabilities."),
Document(text="Vector search enables semantic similarity.")
]
# Create index and store documents
index = VectorStoreIndex.from_documents(
documents,
storage_context=storage_context
)
# Query the index
query_engine = index.as_query_engine()
response = query_engine.query("What is ZeusDB?")
print(response)
Configuration
| Parameter | Description | Default |
|---|---|---|
dim |
Vector dimension | Required |
distance |
Distance metric (cosine, l2, l1) |
cosine |
index_type |
Index type (hnsw) |
hnsw |
m |
HNSW connectivity parameter | 16 |
ef_construction |
HNSW build-time search depth | 200 |
Documentation
For comprehensive guides, advanced examples, and configuration options, visit:
ZeusDB LlamaIndex Documentation
Requirements
- Python 3.10+
- llama-index-core >= 0.13.6
- zeusdb >= 0.0.8
Contributing
Contributions are welcome! Please see our Contributing Guidelines for details.
Support
- Issues: GitHub Issues
- Documentation: docs.zeusdb.com
- Email: contact@zeusdb.com
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_vector_stores_zeusdb-0.1.0.tar.gz.
File metadata
- Download URL: llama_index_vector_stores_zeusdb-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62e5df1b69193482bc4e8072bc446d0d4dcbc0e09f5fa5032b34a28caa8fd65d
|
|
| MD5 |
a6815c1b0214c21a476e236c4993b29e
|
|
| BLAKE2b-256 |
caf05a7e793f1504eb217a9b8ad2edfc106d02baf5fea5f9602e5328f858af55
|
Provenance
The following attestation bundles were made for llama_index_vector_stores_zeusdb-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on ZeusDB/llama-index-vector-stores-zeusdb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llama_index_vector_stores_zeusdb-0.1.0.tar.gz -
Subject digest:
62e5df1b69193482bc4e8072bc446d0d4dcbc0e09f5fa5032b34a28caa8fd65d - Sigstore transparency entry: 536676720
- Sigstore integration time:
-
Permalink:
ZeusDB/llama-index-vector-stores-zeusdb@bd041db48fc849bf92e8bafa87994a35f61e5936 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ZeusDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bd041db48fc849bf92e8bafa87994a35f61e5936 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file llama_index_vector_stores_zeusdb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: llama_index_vector_stores_zeusdb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
802f304d8ec27b874f83bc3d64cb903c6b8a4ee7ebdb8fbd37c8df981a192527
|
|
| MD5 |
81c34ab1c5c199efd1226e5404633db8
|
|
| BLAKE2b-256 |
294341ae2e0dc054d844c7009ee32973fcca55a2836d921e1f84ed2cf4787084
|
Provenance
The following attestation bundles were made for llama_index_vector_stores_zeusdb-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on ZeusDB/llama-index-vector-stores-zeusdb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llama_index_vector_stores_zeusdb-0.1.0-py3-none-any.whl -
Subject digest:
802f304d8ec27b874f83bc3d64cb903c6b8a4ee7ebdb8fbd37c8df981a192527 - Sigstore transparency entry: 536676722
- Sigstore integration time:
-
Permalink:
ZeusDB/llama-index-vector-stores-zeusdb@bd041db48fc849bf92e8bafa87994a35f61e5936 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ZeusDB
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@bd041db48fc849bf92e8bafa87994a35f61e5936 -
Trigger Event:
workflow_dispatch
-
Statement type: