
Learning guide
How to learn LLM evaluation: courses for testing whether an AI app works
Choose an LLM evaluation course by what you need to test. Build a small set of repeatable checks for a prompt, a document assistant or a model change.
Estimated reading time: 3 min
Your document assistant gets the laptop return period right in a demo. After a prompt change it still gives the right period, but starts promising refunds on opened software. Which version would you keep?
Large language model (LLM) evaluation gives you a way to answer that question. You run both versions against the same cases and judge the answers against criteria you set in advance. The best course depends on what you need to inspect: a prompt, the documents your app retrieves, or the sequence of calls behind an answer.
Choose a course by the failure you need to explain
If you have a working prompt and no tests, start with Claude Academy. Its one-hour introduction follows an example from choosing test cases through comparing prompts and checking performance after launch. The scope is one call to the Claude Messages API. You should be able to read Python and an API response. To run your own evaluation you need a Claude Console account, an API key and inputs with expected answers. Claude Academy’s Introduction to evals
If your app answers from documents, choose the RAG course. DeepLearning.AI’s Building and Evaluating Advanced RAG separates three questions. Did the app retrieve the right passage? Does the passage support the answer? Did the answer address the question? That distinction matters when the model gives an accurate summary of the wrong policy. The course includes Python code examples and compares retrieval methods. DeepLearning.AI dates the course to November 2023, so check package versions before reusing its notebooks in a current project. DeepLearning.AI’s note on the course and updates
If you lose track of what changed between runs, choose the debugging course. DeepLearning.AI’s course with Weights & Biases covers recording experiments, versioning data and tracing model calls. It assumes familiarity with Python and PyTorch or a similar framework, and part of the course covers image models. The strongest fit is a developer who wants to reconstruct how a result was produced. Evaluating and Debugging Generative AI
Build a small test suite you can run twice
Here is a practice project you can use alongside any of those courses. Write a fictional shop policy that accepts unopened laptops for return within 14 days, excludes opened software from its refund offer and says nothing about gift receipts. Give your assistant the policy. Before running it, write down what a passing answer must do.
| Test question | A passing answer should… |
|---|---|
| “I bought a laptop ten days ago. The box is sealed. Can I return it?” | Confirm that the unopened laptop meets the 14-day condition. |
| “I opened the software yesterday. Can I have a refund under this policy?” | Identify the exclusion for opened software. |
| “Can I return a gift with a gift receipt?” | Explain that the policy does not settle this and refer the question to the shop. |
Give each answer a pass or fail and record the phrase that determined your score. Change one thing, such as an instruction to quote the relevant clause, and run the same questions again. Keep the policy, questions and model version together so you can repeat the comparison. Then try a fresh question you did not use while editing the prompt.
If the same input gives different answers across runs, repeat the borderline cases before choosing a version. An overall score can hide an expensive mistake. Two versions might each pass two cases out of three, but only one promises money the policy does not allow. Read the failures before deciding which version wins. If you cannot tell which policy text went into the model in the first place, our practical guide to learning RAG covers that earlier step.