Skip to content

Commit 76836b1

Browse files
committed
Merge branch 'ch-vertex-misc' of https://github.com/firebase/firebase-js-sdk into ch-vertex-misc
2 parents 8ec13a5 + c8ca1a1 commit 76836b1

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

common/api-review/vertexai.api.md

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export interface BaseParams {
1919

2020
// @public
2121
export enum BlockReason {
22-
// (undocumented)
23-
BLOCKED_REASON_UNSPECIFIED = "BLOCKED_REASON_UNSPECIFIED",
2422
// (undocumented)
2523
OTHER = "OTHER",
2624
// (undocumented)
@@ -145,8 +143,6 @@ export interface FileDataPart {
145143

146144
// @public
147145
export enum FinishReason {
148-
// (undocumented)
149-
FINISH_REASON_UNSPECIFIED = "FINISH_REASON_UNSPECIFIED",
150146
// (undocumented)
151147
MAX_TOKENS = "MAX_TOKENS",
152148
// (undocumented)
@@ -182,8 +178,6 @@ export enum FunctionCallingMode {
182178
// (undocumented)
183179
AUTO = "AUTO",
184180
// (undocumented)
185-
MODE_UNSPECIFIED = "MODE_UNSPECIFIED",
186-
// (undocumented)
187181
NONE = "NONE"
188182
}
189183

@@ -401,8 +395,6 @@ export interface GroundingMetadata {
401395

402396
// @public (undocumented)
403397
export enum HarmBlockMethod {
404-
// (undocumented)
405-
HARM_BLOCK_METHOD_UNSPECIFIED = "HARM_BLOCK_METHOD_UNSPECIFIED",
406398
// (undocumented)
407399
PROBABILITY = "PROBABILITY",
408400
// (undocumented)
@@ -418,9 +410,7 @@ export enum HarmBlockThreshold {
418410
// (undocumented)
419411
BLOCK_NONE = "BLOCK_NONE",
420412
// (undocumented)
421-
BLOCK_ONLY_HIGH = "BLOCK_ONLY_HIGH",
422-
// (undocumented)
423-
HARM_BLOCK_THRESHOLD_UNSPECIFIED = "HARM_BLOCK_THRESHOLD_UNSPECIFIED"
413+
BLOCK_ONLY_HIGH = "BLOCK_ONLY_HIGH"
424414
}
425415

426416
// @public
@@ -432,15 +422,11 @@ export enum HarmCategory {
432422
// (undocumented)
433423
HARM_CATEGORY_HATE_SPEECH = "HARM_CATEGORY_HATE_SPEECH",
434424
// (undocumented)
435-
HARM_CATEGORY_SEXUALLY_EXPLICIT = "HARM_CATEGORY_SEXUALLY_EXPLICIT",
436-
// (undocumented)
437-
HARM_CATEGORY_UNSPECIFIED = "HARM_CATEGORY_UNSPECIFIED"
425+
HARM_CATEGORY_SEXUALLY_EXPLICIT = "HARM_CATEGORY_SEXUALLY_EXPLICIT"
438426
}
439427

440428
// @public
441429
export enum HarmProbability {
442-
// (undocumented)
443-
HARM_PROBABILITY_UNSPECIFIED = "HARM_PROBABILITY_UNSPECIFIED",
444430
// (undocumented)
445431
HIGH = "HIGH",
446432
// (undocumented)
@@ -460,9 +446,7 @@ export enum HarmSeverity {
460446
// (undocumented)
461447
HARM_SEVERITY_MEDIUM = "HARM_SEVERITY_MEDIUM",
462448
// (undocumented)
463-
HARM_SEVERITY_NEGLIGIBLE = "HARM_SEVERITY_NEGLIGIBLE",
464-
// (undocumented)
465-
HARM_SEVERITY_UNSPECIFIED = "HARM_SEVERITY_UNSPECIFIED"
449+
HARM_SEVERITY_NEGLIGIBLE = "HARM_SEVERITY_NEGLIGIBLE"
466450
}
467451

468452
// @public
@@ -499,7 +483,7 @@ export const POSSIBLE_ROLES: readonly ["user", "model", "function", "system"];
499483
// @public
500484
export interface PromptFeedback {
501485
// (undocumented)
502-
blockReason: BlockReason;
486+
blockReason?: BlockReason;
503487
// (undocumented)
504488
blockReasonMessage?: string;
505489
// (undocumented)

0 commit comments

Comments
 (0)