Generative AI · Intermediate level

Intermediate level · Module 9 of 10 · 10 guided hours

Evaluating LLM and RAG Applications

Evaluating generation and RAG: evaluation sets, retrieval metrics, faithfulness and citation checks, model-graded evaluation with calibration, human review and regression testing.

Learning objectives

  • Build evaluation sets for LLM and RAG applications
  • Measure retrieval and answer quality
  • Use model-graded and human evaluation appropriately

Topics

  • evaluation sets by question type
  • retrieval hit rate
  • faithfulness and citation correctness
  • model-graded evaluation and calibration
  • human review
  • regression testing

Lessons

  1. Lesson 1 Evaluation Sets and Retrieval Metrics

    Learners write evaluation questions with expected passages and answers, and measure whether retrieval finds the right passages.

    question typesexpected passageshit rate at kunanswerable questionsevaluation set maintenance

  2. Lesson 2 Faithfulness, Citations and Model-Graded Evaluation

    Learners measure whether answers are supported by passages and correctly cited, using automatic checks and a calibrated grader model.

    faithfulnesscitation correctnessanswer relevancegrader modelcalibration

  3. Lesson 3 Human Review and Regression Testing

    Learners combine automatic metrics with human review, and run the evaluation automatically after every change.

    human review samplereview rubricregression suitechange logrelease decision

Practical activity

Evaluate the project assistant: a 40-question set, retrieval metrics, faithfulness with calibrated grading, citation correctness, a human review rubric and regression testing.

Expected outcomes

  • Rigorous LLM and RAG evaluation
  • Release discipline

Assessment

Evaluation results and report (70%) and regression setup (30%).

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.