An output scanner postprocesses generated language-model responses, checking factual consistency, malicious URLs, personally identifiable information, and other sensitive content before delivery. section 10.4
A safeguard pipeline runs input checks, model inference, and output scanning, returning validity results, scores, statuses, and a blocked response when a check fails.
Protecting personal information
A prompt requesting John Doe's personal data can produce a response without guardrails; applying the safeguard function routes the result through output scanning.
