Skip to main content

llama-index vector stores hologres integration

Project description

LlamaIndex Vector_Stores Integration: Hologres

Please refer to the notebook for usage of Hologres as vector store in LlamaIndex.

Example Usage

pip install llama-index
pip install llama-index-vector-stores-hologres
# Connect to existing instance
from llama_index.core import VectorStoreIndex
from llama_index.vector_stores.hologres import HologresVectorStore

vector_store = HologresVectorStore.from_param(
    host="***",
    port=80,
    user="***",
    password="***",
    database="***",
    table_name="***",
    embedding_dimension=1536,
    pre_delete_table=True,
)

# Create index from existing stored vectors
index = VectorStoreIndex.from_vector_store(vector_store)
query_engine = index.as_query_engine()
response = query_engine.query(
    "What did the author study prior to working on AI?"
)
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_hologres-0.5.0.tar.gz (5.0 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_hologres-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_vector_stores_hologres-0.5.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_vector_stores_hologres-0.5.0.tar.gz
Algorithm Hash digest
SHA256 7b3fec6068e28011f7b4db6fde16885d1cd6efe5c39221c1ce3e40f3919383cc
MD5 49f7dc802430948f4bd7910780bd0e21
BLAKE2b-256 cf63bebc3df7b3442db601bab39ca2db41eadfb71f9e9cbd9918b59936a090ed

See more details on using hashes here.

File details

Details for the file llama_index_vector_stores_hologres-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_vector_stores_hologres-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_vector_stores_hologres-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc6081d45e6205b98d2b1a7e7e94caea21c7778ffab9dcd1795613bea9ff6ab
MD5 2121285c83c73cdf109bde5a073c75a9
BLAKE2b-256 5b49351d95ab330ecb3fdc52962782fe973f899c742af39784b7910376f94a3e

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