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.
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class SafetyFeedback
Properties
| Edit this page View SourceRating
Safety rating evaluated from content.
Declaration
[JsonProperty("rating")]
public SafetyRating Rating { get; set; }
Property Value
| Type | Description |
|---|---|
| SafetyRating |
Setting
Safety settings applied to the request.
Declaration
[JsonProperty("setting")]
public SafetySetting Setting { get; set; }
Property Value
| Type | Description |
|---|---|
| SafetySetting |