Class SafetyAttributes
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents the safety attributes of a generated image.
public class SafetyAttributes
- Inheritance
-
SafetyAttributes
- Inherited Members
- Extension Methods
Properties
Categories
Gets or sets the safety attribute name.
[JsonPropertyName("categories")]
public List<string>? Categories { get; set; }
Property Value
ContentType
Gets or sets the content type being evaluated.
[JsonPropertyName("contentType")]
public string? ContentType { get; set; }
Property Value
Scores
Gets or sets the safety attribute score.
[JsonPropertyName("scores")]
public List<double>? Scores { get; set; }