Retrieval Augmented Generation with Contextual Embeddings

Claude
User Prompt
Intermediate

Prompt

Learn how to improve RAG performance using contextual embeddings to add relevant context to each chunk before embedding.

## Contents

- `guide.ipynb`: Main tutorial notebook
- `data/`: Data files for examples and testing
- `evaluation/`: Evaluation scripts using Promptfoo

For evaluation instructions, see `evaluation/README.md`.