Lesson overview

Evaluate retrieval and maintain the index

Evaluate retrieval and maintain the index — RAG with local embeddings. Separate retrieval and answer errors; Save evaluate.mjs; Rebuild deliberately. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Separate retrieval and answer errors
  • Save evaluate.mjs
  • Rebuild deliberately

Practical assignment

Lab evidence

The full lesson is available as part of the course.

Continue to learning

Course outline

  1. Create a traceable corpus
  2. Chunk without losing meaning
  3. Generate and store local embeddings
  4. Retrieve and inspect ranked evidence
  5. Generate answers with checked citations
  6. Evaluate retrieval and maintain the index