KnownPromptInjectionOnDetection enum

The action to take when prompt injection is detected.

Fields

Alert

Raise an alert but allow the request or response to proceed.

BlockAndAlert

Block the request or response and raise an alert.

Sanitize

Remove the detected content and allow the request or response to proceed.