SkyAICampus
HomePracticeLearnCode LabFocus
SkyAICampus
PrivacyTermssupport@skyaicampus.com© 2026 SkyAI Campus
Log inSign up

Learn

HomePracticeConcept cardsCode LabSky Tutor

Review

Revise todayMistake notebookProgress

Focus

Campus ForestFocus roomsSquads

Questions or feedback?
support@skyaicampus.com

  1. 1Embeddings and vector search
  2. 2Chunking and indexing
  3. 3RAG pipelines
  4. 4Evaluating RAG
← Retrieval-augmented generation (RAG)

Lesson 4 of 4

Evaluating RAG

Watch, read the card, then practise. Retrieval metrics · Answer quality

Video coming soon

The video for this lesson is being recorded.

Meanwhile, the notes below and the 60-second cards cover the same ideas.

Practise this topic
  • Retrieval metrics

    Retrieval metrics check whether the right chunks were found, before you judge the answer.

    Remember: If retrieval misses, no prompt can fix the answer.

  • Answer quality

    Answer quality checks two things: is it faithful to the sources, and does it answer the question asked?

    Remember: Check both: faithful but off-topic is still a bad answer.

Try the example in Code Lab

relevant, found_in_top5 = 4, 3
print(f"recall@5 {found_in_top5 / relevant:.0%}, precision@5 {found_in_top5 / 5:.0%}")
← RAG pipelines

In this lesson

  • Retrieval metrics
  • Answer quality

Practise this topic

5 questions at your level. The best way to make it stick.

Practise 5 questions