Table of Contents

Class SafetyFeedback

Namespace
Glitch9.AIDevKit

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.

public class SafetyFeedback
Inheritance
object
SafetyFeedback

Properties

Rating

Safety rating evaluated from content.

public SafetyRating Rating { get; set; }

Property Value

SafetyRating

Setting

Safety settings applied to the request.

public SafetySetting Setting { get; set; }

Property Value

SafetySetting