Skip to content

Commit 8d338e2

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add JAILBREAK as a new Prompt block reason in PredictionService
PiperOrigin-RevId: 817715315
1 parent d034736 commit 8d338e2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

google/cloud/aiplatform/v1/prediction_service.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,9 @@ message GenerateContentResponse {
776776

777777
// The user prompt was blocked by Model Armor.
778778
MODEL_ARMOR = 5;
779+
780+
// The user prompt was blocked due to jailbreak.
781+
JAILBREAK = 6;
779782
}
780783

781784
// Output only. Blocked reason.

0 commit comments

Comments
 (0)