Skip to content

Commit 251a3d8

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add JAILBREAK category to SafetySettings for prediction service
PiperOrigin-RevId: 817718770
1 parent eadc874 commit 251a3d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google/cloud/aiplatform/v1beta1/content.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ enum HarmCategory {
5757
// Deprecated: Election filter is not longer supported.
5858
// The harm category is civic integrity.
5959
HARM_CATEGORY_CIVIC_INTEGRITY = 5 [deprecated = true];
60+
61+
// The harm category is for jailbreak prompts.
62+
HARM_CATEGORY_JAILBREAK = 6;
6063
}
6164

6265
// Content Part modality

0 commit comments

Comments
 (0)