Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 878 Bytes

generative-ai.harmblockthreshold.md

File metadata and controls

24 lines (16 loc) · 878 Bytes

Home > @google/generative-ai > HarmBlockThreshold

HarmBlockThreshold enum

Threshold above which a prompt or candidate will be blocked.

Signature:

export declare enum HarmBlockThreshold 

Enumeration Members

Member Value Description
BLOCK_LOW_AND_ABOVE "BLOCK_LOW_AND_ABOVE"
BLOCK_MEDIUM_AND_ABOVE "BLOCK_MEDIUM_AND_ABOVE"
BLOCK_NONE "BLOCK_NONE"
BLOCK_ONLY_HIGH "BLOCK_ONLY_HIGH"
HARM_BLOCK_THRESHOLD_UNSPECIFIED "HARM_BLOCK_THRESHOLD_UNSPECIFIED"