Code examples

The DataStax Astra DB Serverless (Vector) documentation site is currently in Public Preview and is provided on an “AS IS” basis, without warranty or indemnity of any kind. For more, see the DataStax Preview Terms.

Develop generative AI apps with Astra DB Serverless (Vector). Use the code examples below to get started.

Example Link Tags

Philosophy quote finder and generator with RAG

Colab | GitHub

Python LLM RAG

Similarity search with pre-generated embeddings


Python LLM RAG

AI chatbot with LangStream

LangStream tutorials

LangStream OpenAI Streaming


Was This Helpful?

Give Feedback

How can we improve the documentation?