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.2.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.2.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_vector_stores_hologres-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3505728b077e0eb3aba0a740e1392cd2f5cdf405f4f4da2bf91f6810f0df5d70
MD5 7ae536f0b7b3d8c9a605b4a3a80a13ff
BLAKE2b-256 740217c36a8dc9eb4bbecf925d8ac6c1318b250c9e236b2807b0223c7a787809

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_vector_stores_hologres-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc23a449da7504a6211c568c32d262fe656414ee95f37aac361ae43f756bdd9e
MD5 fde8e65c8ef28b12026c197eaf3d8bde
BLAKE2b-256 ef04b6c3bfbdbe7a69473703343201c05fcb89bb8aa258730c580cfcbdb3a46c

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