Skip to main content

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

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

llama_index_vector_stores_zeusdb-0.1.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file llama_index_vector_stores_zeusdb-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_vector_stores_zeusdb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62e5df1b69193482bc4e8072bc446d0d4dcbc0e09f5fa5032b34a28caa8fd65d
MD5 a6815c1b0214c21a476e236c4993b29e
BLAKE2b-256 caf05a7e793f1504eb217a9b8ad2edfc106d02baf5fea5f9602e5328f858af55

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llama_index_vector_stores_zeusdb-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_vector_stores_zeusdb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 802f304d8ec27b874f83bc3d64cb903c6b8a4ee7ebdb8fbd37c8df981a192527
MD5 81c34ab1c5c199efd1226e5404633db8
BLAKE2b-256 294341ae2e0dc054d844c7009ee32973fcca55a2836d921e1f84ed2cf4787084

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page