Skip to content
Try this course

Free course template · Global

Building reliable RAG and LLM applications: Grounding, evaluation and data leakage

A ready-made course, live deck and two surveys for developers. 45 minutes, 7 lessons, 10-question final check. Last reviewed 21 October 2026; not legal advice.

Try the courseClaim the template

Play a game from the course

Building reliable RAG and LLM applications: Grounding, evaluation and data leakage: try 3 questions

Three questions from this course. Pick an answer, then see why.

Play the game

Game not loading? Open it in a new tab (opens in a new tab)

Three pieces that work together

Learners sign in, so every finish and score is recorded. 6 fields to fill in with your details.

Claim the template
The Building reliable RAG and LLM applications: Grounding, evaluation and data leakage course as a learner first sees it

7 lessons, about 45 minutes

Minutes are an estimate.

  • Lesson 1: Outdated answers and exposed documents: a real failure · 7 min

    Before you begin · The policy assistant · What went wrong

  • Lesson 2: Tokens, context windows, embeddings and retrieval basics · 7 min

    Tokens and context · Embeddings and retrieval · Match the term

  • Lesson 3: Choosing a pattern and building the RAG pipeline · 7 min

    Which pattern? · Order the pipeline · Design choice

  • Lesson 4: Respecting document permissions during retrieval · 7 min

    Where permissions break · Enforce at retrieval · Check

  • Lesson 5: Resisting hidden instructions in retrieved content · 7 min

    Indirect prompt injection · Defences · Spot the injection

  • Lesson 6: Evaluation checklist and design review route · 5 min

    Evaluation · Ungrounded or grounded?

  • Lesson 7: Final assessment · 5 min

    10 questions, 80% to pass. The result is saved to the learner's record.

Claim the template

Inside this course

Taken from the course itself.

By the end, learners can

  • Decide when RAG, long context, fine-tuning or a database query fits a problem
  • Explain tokens, context windows, embeddings and retrieval well enough to debug a weak answer
  • Design retrieval that respects document access permissions
  • Prevent sensitive data disclosure and indirect prompt injection through retrieved content
  • Evaluate answers for grounding and faithfulness before release, and use the design review route

Sample questions, with answers

  1. In the Kestrel case, what caused the restricted salary band to appear in an answer?

    • The model invented the figure
    • Retrieval returned a restricted chunk because the index had no permission data
    • The temperature was set too low
    • The user asked too many questions

    Answer: Retrieval returned a restricted chunk because the index had no permission data. The index stored text without access metadata, and retrieval did not filter by who was asking. The model only wrote from what it was handed, so the control had to sit at retrieval. Asking the model nicely in the prompt, or raising the temperature, would not have fixed it.

    Lesson 1: Outdated answers and exposed documents: a real failure

  2. Which change fixes answers that contradict each other because three versions of a document are indexed?

    • Raise top-k
    • Raise the temperature
    • Version the index, filter by effective date and deduplicate
    • Remove the instruction to answer from the passages

    Answer: Version the index, filter by effective date and deduplicate. Version the index, filter by effective date and remove duplicates, so the retrieved set holds only the current text. Raising top-k adds more of the same, and a higher temperature only changes the wording.

    Lesson 3: Choosing a pattern and building the RAG pipeline

  3. A retrieved web page contains hidden text telling the model to send the user's notes elsewhere. What is the best first defence?

    • Hope the model ignores it
    • Treat retrieved text as data, limit the tools and require confirmation for actions
    • Raise the temperature
    • Retrieve more pages so the hidden text is diluted

    Answer: Treat retrieved text as data, limit the tools and require confirmation for actions. Treat retrieved content as data and limit what the assistant can do, so that even a followed instruction has little effect and an action needs confirmation. Hoping the model ignores it, or retrieving more pages to dilute it, is not a defence.

    Lesson 5: Resisting hidden instructions in retrieved content

A scenario from "Choosing a pattern and building the RAG pipeline"

Retrieval returns near-duplicates from three document versions.

Best response: Version the index, filter by effective date, deduplicate.

Weaker responses: Raise top-k; Increase temperature.

Common questions

Yes. Claiming the template and editing it are free.

Yes. The course is self-paced and online, and the live deck lets you add a live session in the room or online.

Before a team starts a first RAG or LLM project, and at each design review cycle.

Developers, data scientists and solution architects building LLM-based applications; run by engineering leads, data governance or L&D.

Record completion in your own LMS or record system, so you can show who finished the course and when.

Your own details, each highlighted inside the course:
  • How document permissions are modelled
  • How LLM features are reviewed before release
  • Models and services engineers may use
  • Surveys and completion record
Then edit anything else you like: wording, scenarios, your logo.
Visit the help centre (opens in a new tab)