From 3f8cc3fc8143dcff65c17ba524975f7ae8adbd59 Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Fri, 31 Jan 2025 10:44:48 -0500 Subject: [PATCH] Add more code tags --- docs-devsite/vertexai.md | 6 +++--- packages/vertexai/src/types/enums.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs-devsite/vertexai.md b/docs-devsite/vertexai.md index c8e5684b17b..8c5c42bc42a 100644 --- a/docs-devsite/vertexai.md +++ b/docs-devsite/vertexai.md @@ -301,10 +301,10 @@ export declare enum HarmBlockThreshold | Member | Value | Description | | --- | --- | --- | -| BLOCK\_LOW\_AND\_ABOVE | "BLOCK_LOW_AND_ABOVE" | Content with NEGLIGIBLE will be allowed. | -| BLOCK\_MEDIUM\_AND\_ABOVE | "BLOCK_MEDIUM_AND_ABOVE" | Content with NEGLIGIBLE and LOW will be allowed. | +| BLOCK\_LOW\_AND\_ABOVE | "BLOCK_LOW_AND_ABOVE" | Content with NEGLIGIBLE will be allowed. | +| BLOCK\_MEDIUM\_AND\_ABOVE | "BLOCK_MEDIUM_AND_ABOVE" | Content with NEGLIGIBLE and LOW will be allowed. | | BLOCK\_NONE | "BLOCK_NONE" | All content will be allowed. | -| BLOCK\_ONLY\_HIGH | "BLOCK_ONLY_HIGH" | Content with NEGLIGIBLE, LOW, and MEDIUM will be allowed. | +| BLOCK\_ONLY\_HIGH | "BLOCK_ONLY_HIGH" | Content with NEGLIGIBLE, LOW, and MEDIUM will be allowed. | ## HarmCategory diff --git a/packages/vertexai/src/types/enums.ts b/packages/vertexai/src/types/enums.ts index c0d4c0b680b..91d45b2cb48 100644 --- a/packages/vertexai/src/types/enums.ts +++ b/packages/vertexai/src/types/enums.ts @@ -44,15 +44,15 @@ export enum HarmCategory { */ export enum HarmBlockThreshold { /** - * Content with NEGLIGIBLE will be allowed. + * Content with `NEGLIGIBLE` will be allowed. */ BLOCK_LOW_AND_ABOVE = 'BLOCK_LOW_AND_ABOVE', /** - * Content with NEGLIGIBLE and LOW will be allowed. + * Content with `NEGLIGIBLE` and `LOW` will be allowed. */ BLOCK_MEDIUM_AND_ABOVE = 'BLOCK_MEDIUM_AND_ABOVE', /** - * Content with NEGLIGIBLE, LOW, and MEDIUM will be allowed. + * Content with `NEGLIGIBLE`, `LOW`, and `MEDIUM` will be allowed. */ BLOCK_ONLY_HIGH = 'BLOCK_ONLY_HIGH', /**