Home > @google/generative-ai > SafetySetting
Safety setting that can be sent as part of request parameters.
Signature:
export interface SafetySetting
Property | Modifiers | Type | Description |
---|---|---|---|
category | HarmCategory | ||
threshold | HarmBlockThreshold |
Home > @google/generative-ai > SafetySetting
Safety setting that can be sent as part of request parameters.
Signature:
export interface SafetySetting
Property | Modifiers | Type | Description |
---|---|---|---|
category | HarmCategory | ||
threshold | HarmBlockThreshold |