All skills
Skillintermediate

Retrieval Augmented Generation with Contextual Embeddings

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

Claude Code Knowledge Pack7/10/2026

Overview

Retrieval Augmented Generation with Contextual Embeddings

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.