Interface SafetySetting

Safety settings.

interface SafetySetting {
    category?: HarmCategory;
    method?: HarmBlockMethod;
    threshold?: HarmBlockThreshold;
}

Properties

category?: HarmCategory

Required. Harm category.

Determines if the harm block method uses probability or probability and severity scores.

threshold?: HarmBlockThreshold

Required. The harm block threshold.

MMNEPVFCICPMFPCPTTAAATR