Explore Library
FlashcardIntermediate

Guardrails and Constraint Specification

Guardrails are explicit rules in a prompt that limit what the model may do, say, or output.

Question

What are guardrails in a prompt, and why add explicit constraints?

Click to reveal answer