Guardrails

Your refund bot's prompt says "never refund more than fifty dollars". One clever message later, it offers five hundred. A prompt is a request, not a rule. Guardrails are the checks in your own code that sit around the model, so the rule holds even when the model is fooled.

In this lesson you'll learn to

Create a free account to open this lesson

It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.