Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
action | components.ContentFilterBuiltinAction | :heavy_check_mark: | Action taken when the builtin filter triggers | block |
label | Optional[str] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. Deprecated: labels are system-assigned and cannot be set by the caller. Accepted for backward compatibility but silently ignored. | |
slug | components.ContentFilterBuiltinSlug | :heavy_check_mark: | The builtin filter identifier | regex-prompt-injection |