Table of Contents

Class PromptFeedback

Namespace
Glitch9.AIDevKit

A set of the feedback metadata the prompt specified in GenerateContentRequest.Contents.

public class PromptFeedback
Inheritance
object
PromptFeedback

Properties

BlockReason

public StopReason? BlockReason { get; set; }

Property Value

StopReason?

SafetyRatings

public SafetyRating[] SafetyRatings { get; set; }

Property Value

SafetyRating[]

Methods

Safety(SafetyRating[])

public static PromptFeedback Safety(SafetyRating[] SafetyRatings)

Parameters

SafetyRatings SafetyRating[]

Returns

PromptFeedback

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.