Skip to main content

LlamaIndex VectorX vector store integration

Project description

LlamaIndex Vector_Stores Integration: VectorX

🚀 Installation

pip install llama-index-core vecx

Usage

from llama_index.vector_stores.vectorx import VectorXVectorStore
from llama_index.core import VectorStoreIndex

# Initialize store
store = VectorXVectorStore.from_params(
    api_token="YOUR_API_TOKEN",
    encryption_key="YOUR_ENCRYPTION_KEY",
    index_name="my-index",
    dimension=768,  # must match your embeddings
)

# Wrap with LlamaIndex
index = VectorStoreIndex.from_vector_store(store)

# Insert/query as usual
query_engine = index.as_query_engine()
response = query_engine.query("What is VectorX?")
print(response)

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_vectorx-0.1.0.tar.gz (5.9 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_vectorx-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_vector_stores_vectorx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f8b0aa764f9b2cc21b382fe72011c01c5587cdd20e2016e1a2add367311e7491
MD5 da14a3dc8d4ad40b3dd1e73c0ab4092c
BLAKE2b-256 8f7889089aa8d24e0fe9c8fb085abf4aa44e6110b189200e1fbe66cb45ce203d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_vector_stores_vectorx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0af39d0731fd717cf53628873650645a57948646f5fc88caa2f5fb25f64bd26d
MD5 73b15b8bdc0ca0ffc98eed95864e9d60
BLAKE2b-256 8bb9dcb853a5e806856acb1c3b9cc5ecc0d00d2bfcdce5e7c5becea8628bd977

See more details on using hashes here.

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