Table of Contents

Enum GeminiSafetyHarmCategory

The category of a rating.

public enum GeminiSafetyHarmCategory
Extension Methods

Fields

[EnumMember(Value = "HARM_CATEGORY_CIVIC_INTEGRITY")] CivicIntegrity = 5

Content that may be used to harm civic integrity.

[EnumMember(Value = "HARM_CATEGORY_DANGEROUS_CONTENT")] DangerousContent = 4

Dangerous content.

[EnumMember(Value = "HARM_CATEGORY_HARASSMENT")] Harassment = 1

Harasment content.

[EnumMember(Value = "HARM_CATEGORY_HATE_SPEECH")] HateSpeech = 2

Hate speech and content.

[EnumMember(Value = "HARM_CATEGORY_SEXUALLY_EXPLICIT")] SexuallyExplicit = 3

Sexually explicit content.

[EnumMember(Value = "HARM_CATEGORY_UNSPECIFIED")] Unspecified = 0

Category is unspecified.