What are guardrails?
BeginnerConceptSecurity & guardrails
Answer
Guardrails are checks around the model that block or fix unsafe inputs and outputs: input filters for injection and abuse, output checks for secrets, personal data, toxic content or invalid formats, and policy checks before tool actions run. They complement, not replace, least privilege.
More on Security & guardrails
What is prompt injection?BeginnerWhat is indirect prompt injection?BeginnerWhy should you never put secrets in prompts?BeginnerHow do you limit the damage of prompt injection in an agent?IntermediateWhat is data exfiltration through an LLM app?IntermediateHow do you handle personal data (PII) in LLM apps?Intermediate