Module resources

Retrieval-augmented generation

Checked sources to go further than the lessons. Back to the module.

Recommended learning sequence

Work through these in order.

  1. Introducing Contextual Retrieval (opens in a new tab)

    Anthropic2024Article

    Start with a practical engineering write-up of one RAG improvement. It shows chunks, embeddings, BM25 and reranking working together and reports its numbers. Repeated on purpose from the lessons, as a warm-up.

  2. Building and Evaluating Advanced RAG (opens in a new tab)

    Jerry Liu, Anupam Datta2026Course2 h 5 min

    Then a short video course on building a baseline RAG pipeline, improving retrieval, and scoring it with the context relevance, groundedness and answer relevance triad. It previews lessons 3, 5 and 6.

  3. Retrieve & Re-Rank (opens in a new tab)

    Sentence Transformers2026Documentation

    Official documentation on the retrieve-then-rerank pattern that lessons 2 and 3 build on. Repeated on purpose from the lessons, because it fixes the order of the query-side stages.

  4. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (opens in a new tab)

    Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, et al.2020PaperNeurIPS 2020

    Now the foundational paper. With the pipeline in mind you can read how retrieval and generation were combined, and see what every variant in lesson 4 changes. Repeated on purpose from the lessons, because it is the base every later step modifies.

  5. List of available metrics (opens in a new tab)

    Ragas2026Documentation

    Next, the catalogue of evaluation metrics, so the hand-computed measures in lessons 5 and 6 map onto real tooling. Repeated on purpose from the lessons.

  6. Retrieval Augmented Generation with Claude (opens in a new tab)

    Anthropic2026Repository

    Finish by building: a runnable notebook with an evaluation folder, with a basic pipeline that chunks by heading, a 100-question evaluation set, summary indexing and reranking with Claude. Repeated on purpose from the lessons, as the hands-on finish: extend it with this module's ideas.

All resources

Further reading

  • Your AI Product Needs Evals (opens in a new tab)

    Hamel Husain2024Article

    A practitioner's argument for systematic evals over informal checks, built on a real estate assistant case study. It supports the golden-set habit from lessons 5 and 6. It says RAG evaluation itself is out of scope.

Research papers

Books

Courses

  • Building and Evaluating Advanced RAG (opens in a new tab)

    Jerry Liu, Anupam Datta2026Course2 h 5 min

    A 2 hour 5 minute beginner video course with code examples on sentence-window and auto-merging retrieval and the RAG triad. The page says access is free for a limited time and a graded accomplishment needs PRO.

Case studies

Datasets