llama-index-vector-stores-astra-db


Namellama-index-vector-stores-astra-db JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
Summaryllama-index vector_stores astra integration
upload_time2024-09-23 23:01:48
maintainerNone
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Astra DB Vector Store

A LlamaIndex vector store using Astra DB as the backend.

## Usage

Pre-requisite:

```bash
pip install llama-index-vector-stores-astra-db
```

A minimal example:

```python
from llama_index.vector_stores.astra_db import AstraDBVectorStore

vector_store = AstraDBVectorStore(
    token="AstraCS:xY3b...",  # Your Astra DB token
    api_endpoint="https://012...abc-us-east1.apps.astra.datastax.com",  # Your Astra DB API endpoint
    collection_name="astra_v_table",  # Table name of your choice
    embedding_dimension=1536,  # Embedding dimension of the embeddings model used
)
```

## More examples and references

A more detailed usage guide can be found
[at this demo notebook](https://docs.llamaindex.ai/en/stable/examples/vector_stores/AstraDBIndexDemo.html)
in the LlamaIndex docs.

> **Note**: Please see the AstraDB documentation [here](https://docs.datastax.com/en/astra/astra-db-vector/clients/python.html).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-vector-stores-astra-db",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/3e/1a/c1e7031b1aabcfef6c041b85d7795cf50de5a7bf40c5705737a1eae5c91d/llama_index_vector_stores_astra_db-0.3.0.tar.gz",
    "platform": null,
    "description": "# Astra DB Vector Store\n\nA LlamaIndex vector store using Astra DB as the backend.\n\n## Usage\n\nPre-requisite:\n\n```bash\npip install llama-index-vector-stores-astra-db\n```\n\nA minimal example:\n\n```python\nfrom llama_index.vector_stores.astra_db import AstraDBVectorStore\n\nvector_store = AstraDBVectorStore(\n    token=\"AstraCS:xY3b...\",  # Your Astra DB token\n    api_endpoint=\"https://012...abc-us-east1.apps.astra.datastax.com\",  # Your Astra DB API endpoint\n    collection_name=\"astra_v_table\",  # Table name of your choice\n    embedding_dimension=1536,  # Embedding dimension of the embeddings model used\n)\n```\n\n## More examples and references\n\nA more detailed usage guide can be found\n[at this demo notebook](https://docs.llamaindex.ai/en/stable/examples/vector_stores/AstraDBIndexDemo.html)\nin the LlamaIndex docs.\n\n> **Note**: Please see the AstraDB documentation [here](https://docs.datastax.com/en/astra/astra-db-vector/clients/python.html).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index vector_stores astra integration",
    "version": "0.3.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60faccddd0fa826db70ed0df99f06653a3ad302eb1a7db2562c6f9c6ea3fde2e",
                "md5": "345576f22685f01562be7382c4d48cf1",
                "sha256": "73b60d698da7f42f3e1f8dfae474692b2596a75c8b8be839ff218c2d38e60d19"
            },
            "downloads": -1,
            "filename": "llama_index_vector_stores_astra_db-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "345576f22685f01562be7382c4d48cf1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 6931,
            "upload_time": "2024-09-23T23:01:47",
            "upload_time_iso_8601": "2024-09-23T23:01:47.150105Z",
            "url": "https://files.pythonhosted.org/packages/60/fa/ccddd0fa826db70ed0df99f06653a3ad302eb1a7db2562c6f9c6ea3fde2e/llama_index_vector_stores_astra_db-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e1ac1e7031b1aabcfef6c041b85d7795cf50de5a7bf40c5705737a1eae5c91d",
                "md5": "663ee5bb9c82e7480147e8d0517a6576",
                "sha256": "cbdb229b4c4972ffa25f874382d8a9ec928bb53d9a90ea99c8c1e86d943f42c9"
            },
            "downloads": -1,
            "filename": "llama_index_vector_stores_astra_db-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "663ee5bb9c82e7480147e8d0517a6576",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 6376,
            "upload_time": "2024-09-23T23:01:48",
            "upload_time_iso_8601": "2024-09-23T23:01:48.397965Z",
            "url": "https://files.pythonhosted.org/packages/3e/1a/c1e7031b1aabcfef6c041b85d7795cf50de5a7bf40c5705737a1eae5c91d/llama_index_vector_stores_astra_db-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-23 23:01:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-vector-stores-astra-db"
}
        
Elapsed time: 0.63265s