Bundles an AI safety stack for a site in one step: prompt safety guardrails, PII protection, AI logging, AI observability, and a safety check on uploaded images.

The recipe applies the AI Guardrails Prompt Safety and AI Guardrails PII recipes, and installs AI Logging with prompt logging on and a 90-day retention, AI Observability for compliance reporting, and Field Validation with AI Validations for the image check.

  • Prompt Safety: Liability: legal advice, medical advice and sensitive topics.
  • Prompt Safety: Security: script tag injection, dangerous HTML tags, HTML event handlers, JavaScript protocol, JavaScript execution functions, CSS expressions and prompt manipulation.
  • PII Protection: email addresses, phone numbers, credit card numbers and IBANs, in both input and output.
  • Image safety: every image uploaded to the Image media type is checked by the site's vision model and refused when it is not suitable for a general audience. It fails closed when the provider errors.

It needs a default model for Chat with Image Vision. The recipe stops before it changes anything when none is set.


Varbase AI Safety 1.0.4 - CI Varbase public demo is live Varbase design system in Figma Varbase Storybook Varbase AI Safety documentation Join our Slack

Varbase AI Safety documentation

Check out Varbase AI Safety documentation for more details.


Sponsored and developed by Vardot.Vardot

Supporting organizations: 
Initial building, ongoing maintenance and development

Project information

Releases