Class SafetyFeedback
Safety feedback for an entire request.
This field is populated if content in the input and/or response is blocked due to safety settings. SafetyFeedback may not exist for every HarmCategory. Each SafetyFeedback will return the safety settings used by the request as well as the lowest HarmProbability that should be allowed in order to return a result.
Inheritance
object
SafetyFeedback
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public class SafetyFeedback
Properties
Rating
Safety rating evaluated from content.
Declaration
public SafetyRating Rating { get; set; }
Property Value
Type | Description |
---|---|
SafetyRating |
Setting
Safety settings applied to the request.
Declaration
public SafetySetting Setting { get; set; }
Property Value
Type | Description |
---|---|
SafetySetting |