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.3.0.tar.gz (3.6 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.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_vector_stores_hologres-0.3.0.tar.gz
Algorithm Hash digest
SHA256 13a0e48ea410fa126735a66a4395fabdd1d0a18e6d0ac5aba2a136eba1e15b61
MD5 ca54bf55ffa1c4b61879de7c343aca90
BLAKE2b-256 7283191d7faf74bff310f6f341cd0c403bb1e6ee936b6de0a48fbd460fd163d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_vector_stores_hologres-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79649885f3c1aba9eaa5ebb4df0f3d5141c4e5f743e15a0c044f13e4d7e39865
MD5 580960e7b35a026ba2f43df5d4b5f4ce
BLAKE2b-256 7b80885e036e13f73231bfbf1b2c5ad83ba74d3f374cbb19df2336f3302d1760

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