Skip to main content

ErrorContent

Error content type for LLM safety and content filtering errors.

Import

Type Definition

Fields

modality
string
required
Must be "error".
value
SafetyErrorContentValue
required
Safety error value with type (always "safety") and a value string describing the error.

Example

JSON: