Lesson overview

Retrieve and inspect ranked evidence

Retrieve and inspect ranked evidence — RAG with local embeddings. Use the same embedding space; Save retrieve.mjs; Do not invent a universal threshold. Practical assignment: Lab evidence.

Demo edition. The materials are undergoing editorial review.

Topics covered

  • Use the same embedding space
  • Save retrieve.mjs
  • Do not invent a universal threshold

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