Enum HarmBlockMethod
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Specifies if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score.
[JsonConverter(typeof(JsonStringEnumConverter<HarmBlockMethod>))]
public enum HarmBlockMethod
- Extension Methods
Fields
HARM_BLOCK_METHOD_UNSPECIFIED = 0The harm block method is unspecified.
SEVERITY = 1The harm block method uses both probability and severity scores.
PROBABILITY = 2The harm block method uses the probability score.