Skip to content

Commit 27dcc2f

Browse files
committed
Add HarmSeverity.HARM_SEVERITY_UNSPECIFED
1 parent 42cea48 commit 27dcc2f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

common/api-review/vertexai.api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@ export enum HarmSeverity {
410410
HARM_SEVERITY_HIGH = "HARM_SEVERITY_HIGH",
411411
HARM_SEVERITY_LOW = "HARM_SEVERITY_LOW",
412412
HARM_SEVERITY_MEDIUM = "HARM_SEVERITY_MEDIUM",
413-
HARM_SEVERITY_NEGLIGIBLE = "HARM_SEVERITY_NEGLIGIBLE"
413+
HARM_SEVERITY_NEGLIGIBLE = "HARM_SEVERITY_NEGLIGIBLE",
414+
HARM_SEVERITY_UNSPECIFIED = "HARM_SEVERITY_UNSPECIFIED"
414415
}
415416

416417
// @beta

docs-devsite/vertexai.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ export declare enum HarmSeverity
414414
| HARM\_SEVERITY\_LOW | <code>&quot;HARM_SEVERITY_LOW&quot;</code> | Low level of harm severity. |
415415
| HARM\_SEVERITY\_MEDIUM | <code>&quot;HARM_SEVERITY_MEDIUM&quot;</code> | Medium level of harm severity. |
416416
| HARM\_SEVERITY\_NEGLIGIBLE | <code>&quot;HARM_SEVERITY_NEGLIGIBLE&quot;</code> | Negligible level of harm severity. |
417+
| HARM\_SEVERITY\_UNSPECIFIED | <code>&quot;HARM_SEVERITY_UNSPECIFIED&quot;</code> | Unspecified level of harm severity. |
417418

418419
## ImagenAspectRatio
419420

packages/vertexai/src/types/enums.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ export enum HarmProbability {
103103
* @public
104104
*/
105105
export enum HarmSeverity {
106+
/**
107+
* Unspecified level of harm severity.
108+
*/
109+
HARM_SEVERITY_UNSPECIFIED = 'HARM_SEVERITY_UNSPECIFIED',
106110
/**
107111
* Negligible level of harm severity.
108112
*/

0 commit comments

Comments
 (0)