Home > @google/generative-ai > SafetyRating
A safety rating associated with a GenerateContentCandidate
Signature:
export interface SafetyRating
Property | Modifiers | Type | Description |
---|---|---|---|
category | HarmCategory | ||
probability | HarmProbability |
Home > @google/generative-ai > SafetyRating
A safety rating associated with a GenerateContentCandidate
Signature:
export interface SafetyRating
Property | Modifiers | Type | Description |
---|---|---|---|
category | HarmCategory | ||
probability | HarmProbability |