llama-index-vector-stores-hologres


Namellama-index-vector-stores-hologres JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
Summaryllama-index vector stores hologres integration
upload_time2025-09-08 20:49:28
maintainerNone
docs_urlNone
authorNone
requires_python<4.0,>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # LlamaIndex Vector_Stores Integration: Hologres

Please refer to the [notebook](../../../docs/docs/examples/vector_stores/HologresDemo.ipynb) for usage of Hologres as vector store in LlamaIndex.

## Example Usage

```sh
pip install llama-index
pip install llama-index-vector-stores-hologres
```

```python
# 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)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-vector-stores-hologres",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Your Name <you@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/5b/36/424ba653f42da156c9e996118f1c59fdfcc41ebfc437a430e57b6dcecaef/llama_index_vector_stores_hologres-0.4.1.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Vector_Stores Integration: Hologres\n\nPlease refer to the [notebook](../../../docs/docs/examples/vector_stores/HologresDemo.ipynb) for usage of Hologres as vector store in LlamaIndex.\n\n## Example Usage\n\n```sh\npip install llama-index\npip install llama-index-vector-stores-hologres\n```\n\n```python\n# Connect to existing instance\nfrom llama_index.core import VectorStoreIndex\nfrom llama_index.vector_stores.hologres import HologresVectorStore\n\nvector_store = HologresVectorStore.from_param(\n    host=\"***\",\n    port=80,\n    user=\"***\",\n    password=\"***\",\n    database=\"***\",\n    table_name=\"***\",\n    embedding_dimension=1536,\n    pre_delete_table=True,\n)\n\n# Create index from existing stored vectors\nindex = VectorStoreIndex.from_vector_store(vector_store)\nquery_engine = index.as_query_engine()\nresponse = query_engine.query(\n    \"What did the author study prior to working on AI?\"\n)\nprint(response)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "llama-index vector stores hologres integration",
    "version": "0.4.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "39dc2f86e675dd6bf93fa01e4d564442b1b389ec0ced415c1dec12de84e037de",
                "md5": "dacf4fca3305cafd5309e71fe304be90",
                "sha256": "69142cb5bdba9baea14c85a193cbc0826778e2bb045da21afb4d9cac074a7a02"
            },
            "downloads": -1,
            "filename": "llama_index_vector_stores_hologres-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dacf4fca3305cafd5309e71fe304be90",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 4855,
            "upload_time": "2025-09-08T20:49:27",
            "upload_time_iso_8601": "2025-09-08T20:49:27.777945Z",
            "url": "https://files.pythonhosted.org/packages/39/dc/2f86e675dd6bf93fa01e4d564442b1b389ec0ced415c1dec12de84e037de/llama_index_vector_stores_hologres-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "5b36424ba653f42da156c9e996118f1c59fdfcc41ebfc437a430e57b6dcecaef",
                "md5": "d758804de2da9ad582ebc3799ad5c327",
                "sha256": "db84e2ae347a9baa0a775d2dfec0ef050fc71843629dd630279cf2a7824d45fb"
            },
            "downloads": -1,
            "filename": "llama_index_vector_stores_hologres-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d758804de2da9ad582ebc3799ad5c327",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 4963,
            "upload_time": "2025-09-08T20:49:28",
            "upload_time_iso_8601": "2025-09-08T20:49:28.544851Z",
            "url": "https://files.pythonhosted.org/packages/5b/36/424ba653f42da156c9e996118f1c59fdfcc41ebfc437a430e57b6dcecaef/llama_index_vector_stores_hologres-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-08 20:49:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-vector-stores-hologres"
}
        
Elapsed time: 1.50528s