Class PromptFeedback
A set of the feedback metadata the prompt specified in GenerateContentRequest.Contents.
public class PromptFeedback
- Inheritance
-
objectPromptFeedback
Properties
BlockReason
public StopReason? BlockReason { get; set; }
Property Value
SafetyRatings
public SafetyRating[] SafetyRatings { get; set; }
Property Value
Methods
Safety(SafetyRating[])
public static PromptFeedback Safety(SafetyRating[] SafetyRatings)
Parameters
SafetyRatingsSafetyRating[]
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.