Class GeminiSafetyRating
- Namespace
- Uralstech.UGemini.Models.Generation.Safety
Safety rating for a piece of content.
public class GeminiSafetyRating
- Inheritance
-
objectGeminiSafetyRating
- Extension Methods
Remarks
The safety rating contains the category of harm and the harm probability level in that category for a piece of
content is classified for safety across a number of harm categories and the probability of the harm classification is included here.
Fields
Blocked
Was this content blocked because of this rating?
public bool Blocked
Field Value
- bool
Category
The category for this rating.
public GeminiSafetyHarmCategory Category
Field Value
Probability
The probability of harm for this content.
public GeminiHarmProbability Probability