Skip to main content

llama-index vector_stores astra integration

Project description

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.

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_astra_db-0.6.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.6.0.tar.gz.

File metadata

  • Download URL: llama_index_vector_stores_astra_db-0.6.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.6.0.tar.gz
Algorithm Hash digest
SHA256 8deba5c4fd98db06827e84c57cb6c7c5c88746f53dfc98bca8c187130d627629
MD5 a3755aade29dc09c5ddb6fc64d895a1f
BLAKE2b-256 6d2789537a4c917079a251778f18ecf6cb69e7f8082522d47cf7e6b45aa3fe62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_vector_stores_astra_db-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc4c22dc8dcde22f425333456402ca4dc707a3b28c49a04b82436e2ba04388e3
MD5 b9f6301576a303c87380a969e4b3b02a
BLAKE2b-256 5d8ecdc1af6781f7f2159bb36c0b30ce84fc4d7cbf7bcb329cc84594e89f2908

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