Contents

LanguageModelError.guardrailViolation(_:)

The model’s safety guardrails were triggered by content in a prompt or the response generated by the model.

Declaration

case guardrailViolation(LanguageModelError.GuardrailViolation)

Mentioned in

See Also

Safety guardrail error