Skip to main content

Astra DB Vector Store

A LlamaIndex vector store using Astra DB as the backend.

Usage

Pre-requisite:

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

A minimal example:

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 in the LlamaIndex docs.

Note: Please see the AstraDB documentation here.

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_astra_db-0.7.0.tar.gz (8.5 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_astra_db-0.7.0.tar.gz.

File metadata

  • Download URL: llama_index_vector_stores_astra_db-0.7.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_vector_stores_astra_db-0.7.0.tar.gz
Algorithm Hash digest
SHA256 35615c214e7b57e07964b7869db0f18d47049baa27731ca9bab9756d2fb51113
MD5 24059b6701e415b9ced21ab5b59f1409
BLAKE2b-256 64548d259bcb0133207eb335b99d7caefcc505b28a87b500bc21a4875382bf93

See more details on using hashes here.

File details

Details for the file llama_index_vector_stores_astra_db-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_vector_stores_astra_db-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_vector_stores_astra_db-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c17f25b9f75b04ac9e5b3f025dccc1d6e3887950538a365e0795903beed038c5
MD5 8889605ef7ae6059e95d3fe7507a82df
BLAKE2b-256 ce3c08a832481113a3be02aa71f530c68524e51950a2df490e047e16b6a4b854

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page