Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::SafetySetting::HarmBlockMethod (v0.42.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::SafetySetting::HarmBlockMethod.

Probability vs severity.

Constants

HARM_BLOCK_METHOD_UNSPECIFIED

value: 0
The harm block method is unspecified.

SEVERITY

value: 1
The harm block method uses both probability and severity scores.

PROBABILITY

value: 2
The harm block method uses the probability score.