RAGStack Examples Index

This section contains examples of how to use RAGStack. We’re actively updating this section, so check back often!

LangChain and Astra DB Serverless
Description Colab Documentation

Perform multi-modal RAG with LangChain, Astra DB Serverless, and a Google Gemini Pro Vision model.

Open in Colab

Multi-modal RAG

Build a simple RAG pipeline using NVIDIA AI Foundation Models.

Open in Colab

Nvidia Embeddings and Models

Build a hotels search application with RAGStack and Astra DB Serverless.

Open in Gitpod

Build a Hotel Search Application with RAGStack and Astra DB Serverless

Vector search with the Maximal Marginal Relevance (MMR) algorithm.

Open in Colab

VectorStore QA with MMR

Evaluate a RAG pipeline using LangChain’s QA Evaluator.

Open in Colab

Evaluating RAG Pipelines with LangChain

Evaluate the response accuracy, token cost, and responsiveness of MultiQueryRAG and ParentDocumentRAG.

Open in Colab

Advanced RAG: MultiQuery and ParentDocument

Orchestrate the advanced FLARE retrieval technique in a RAG pipeline.

Open in Colab

Forward-Looking Active REtrieval (FLARE)

Build a simple RAG pipeline using Unstructured and Astra DB Serverless.

Open in Colab

RAG with Unstructured.io and Astra DB Serverless

LlamaIndex and Astra DB Serverless
Description Colab Documentation

Build a simple RAG pipeline using LlamaIndex and Astra DB Serverless.

Open in Colab

RAG with LlamaIndex and Astra DB Serverless

Build a simple RAG pipeline using LlamaParse and Astra DB Serverless.

Open in Colab

RAG with LlamaParse and Astra DB Serverless

LangChain and Cass-IO (Cassandra)
Description Colab Documentation

Create ColBERT embeddings, index embeddings on Astra, and retrieve embeddings with RAGStack.

Open in Colab

ColBERT in RAGStack with Astra

Extract and traverse graphs with the ragstack-ai-knowledge-graph library and CassIO.

Open in Colab

Knowledge Graph

Implement a generative Q&A over your own documentation with Astra DB Serverless Search, OpenAI, and CassIO.

Open in Colab

Knowledge Base Search on Proprietary Data powered by Astra DB Serverless

Store external or proprietary data in Astra DB Serverless and query it to provide more up-to-date LLM responses.

Open in Colab

RAGStack with CassIO

Use the self-managed Hyper-Converged Database (HCD) as a vector backend for your RAG application.

RAGStack and Hyper-Converged Database (HCD) example

Use DataStax Enterprise as a vector backend for your RAG application.

RAGStack and DataStax Enterprise (DSE) 6.9 example

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com