Enumeration HarmBlockMethod

The method for blocking content. If not specified, the default behavior is to use the probability score. This enum is not supported in Gemini API.

Enumeration Members

HARM_BLOCK_METHOD_UNSPECIFIED: "HARM_BLOCK_METHOD_UNSPECIFIED"

The harm block method is unspecified.

PROBABILITY: "PROBABILITY"

The harm block method uses the probability score.

SEVERITY: "SEVERITY"

The harm block method uses both probability and severity scores.