Table of Contents

Class GeminiSafetyRating

Safety rating for a piece of content.

public class GeminiSafetyRating
Inheritance
GeminiSafetyRating
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

GeminiSafetyHarmCategory

Probability

The probability of harm for this content.

public GeminiHarmProbability Probability

Field Value

GeminiHarmProbability