For more information, visit the DataStax Astra DB docs page.
Install Jupyter
.
Export the following environment variables if desired:
ASTRA_DB_API_ENDPOINT="https://..."
ASTRA_DB_APPLICATION_TOKEN="AstraCS:..."
ASTRA_DB_KEYSPACE="..." # OPTIONAL
OPENAI_API_KEY="..." # OPTIONAL (required if using explicit embeddings)
ASTRA_DB_API_KEY_NAME="..." # OPTIONAL (required if using embedding provider integration, i.e. 'vectorize')
Open in Jupyter and run each cell.
(Requires Python version 3.9 or higher.)