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.4.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.4.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_vector_stores_hologres-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9fd7b5b5bfa8be56d1ab713349ebe733366ca1cef03aed76e9cbf079c5df4acd
MD5 cbfd94aacebef6673cceac5302d2505a
BLAKE2b-256 ddc2011c2576912f4939773d0fe5d2980412410f189353fab086d547f55c6075

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_vector_stores_hologres-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a18278025359fccd3131bdd5d650fc322d72716991b2fe30a4cdd782dda5b142
MD5 af58bbe6ecfdee67b7c166412fee1148
BLAKE2b-256 a2ae40f4e25165c202c14de28a2c8f973071391784ec640f61cc7e0d3c7fcb79

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