Skip to main content

Padding Tutorials

What do you want to build?

2 tutorials

All tutorials

  • How to Evaluate and Improve a RAG App with a Test Set

    You will write a test set of questions with known answers, measure retrieval with hit rate and mean reciprocal rank and the full pipeline with pass or fail checks, then use the results to add a distance cutoff that makes the app decline questions it cannot answer.

    Advanced · 28 min · AI and machine learning

  • How to Defend an LLM App Against Prompt Injection

    You will build the layers that limit the damage of prompt injection in a mail-summarising assistant, which are separated data, a tool allowlist per task, validated actions, filtered output and human approval of side effects, and write tests that check each layer without a model.

    Advanced · 28 min · AI and machine learning