Design the system so risk is reduced from the start — each risk maps to a design-level countermeasure. 3:05

RiskDesign countermeasure
HallucinationsImplement RAG: give the LLM a trusted information source and optionally require it to always quote that source 3:05
Off-topic usePut a classifier in front of the app that decides whether a query should even reach the LLM; unrelated questions get a "cannot answer" response 3:05, 3:21
Data leakage / unauthorized actionsConstrain model access — simply don't give it access to sensitive data 3:21
Risky agent actionsAdd human-in-the-loop approval for any risky action an AI agent could take 3:21
Private data in fine-tuningCarefully sanitize the training data before fine-tuning 3:37