Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Learning path

RAG engineer

A RAG course for engineers who want results they can measure: embeddings, pgvector, a pipeline built in a day, golden datasets, LLM judges and tracing.

Intermediate14 h8 steps7-question quiz
Start with step 1
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What you will be able to do

  • Decide when RAG beats long context or fine-tuning
  • Store embeddings in Postgres with pgvector and run similarity and hybrid queries
  • Ship a question-and-answer service over your own documents
  • Evaluate retrieval and answers separately with a golden dataset
  • Use an LLM judge only after checking it against human labels

Steps

  1. Step 1: RAG vs long context vs fine-tuning: how to choose

    What each approach changes, what it costs, where it fails, and a practical order to try them in before you commit to one.

    Article

    Read first: it tells you when RAG is the wrong tool.

  2. Step 2: RAG fundamentals: retrieval before generation

    What RAG is and how retrieval-augmented generation works, when it beats long context or fine-tuning, and a minimal working pipeline in about 80 lines of Python.

    Tutorial30 min

  3. Step 3: Embeddings and vector search, hands on

    Embed documents, store them in Postgres with pgvector, index them and run similarity and hybrid search.

    Tutorial45 min

  4. Step 4: RAG pipeline in a day with Postgres and pgvector

    Ingest your documents, answer with citations and measure retrieval against 20 questions written first.

    Workflow480 min

  5. Step 5: Write your first LLM eval

    Turn real outputs into a small test set, add code-based checks in promptfoo and run them in CI to catch regressions on every change.

    Tutorial40 min

  6. Step 6: Evaluate RAG answers with a golden dataset

    Set up RAG evaluation with a golden dataset and promptfoo: score retrieval, correctness and grounding for every question, and fail CI when answer quality drops.

    Workflow120 min

  7. Step 7: LLM-as-a-judge: grading outputs you can trust

    Write narrow grading criteria, check the judge's verdicts against your own labels and decide when its agreement is good enough.

    Tutorial45 min

  8. Step 8: Add tracing and cost tracking to an LLM app

    One trace per user action, with tokens, latency and cost for each model call, so slow and costly features stand out.

    Workflow60 min

  9. RAG engineer quiz

    7 questions with explanations. Your score is saved when you are signed in.

    Final quiz

  • Building with the Claude API

    Learn to build with the Claude API from your own code: the Messages API, tool use, structured output and prompt caching, then evaluate and trace what you built.

    Intermediate5 h9 steps
  • Evals and safety for LLM features

    Catch regressions and attacks before users do, with error analysis, code-based evals, calibrated judges and prompt-injection tests.

    Intermediate9 h9 steps
  • LLMOps: observability, evals and cost

    Learn LLMOps in practice: trace every request, gate changes with evals in CI, calibrate judges and keep token spend visible and under control in production.

    Intermediate7 h10 steps