Metadata-Version: 2.4
Name: llama-index-vector-stores-astra-db
Version: 0.4.1
Summary: llama-index vector_stores astra integration
Author-email: Your Name <you@example.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4.0,>=3.9
Requires-Dist: astrapy~=1.5
Requires-Dist: llama-index-core<0.13,>=0.12.0
Description-Content-Type: text/markdown

# 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).
