Purchase Required

You need to purchase this content in order to view it

Supplemental lab session on GuardrailsAI

Module

Description

In this session, Zach walks through setting up AI Guardrails, similar to our Vercel deploy example from week two. He installs various validators, including detect PII, competitor check, and toxic language, to ensure our AI behaves appropriately. He emphasizes the importance of explicit error handling and demonstrated how to validate user inputs and outputs effectively. He also discusses the need to implement guardrails in multiple areas, including document input and retrieval.