PromptFeedback

class PromptFeedback


Feedback on the prompt provided in the request.

Summary

Public properties

BlockReason?

The reason that content was blocked, if at all.

String?

A message describing the reason that content was blocked, if any.

List<SafetyRating>

A list of relevant SafetyRating.

Public properties

blockReason

val blockReason: BlockReason?

The reason that content was blocked, if at all.

blockReasonMessage

val blockReasonMessage: String?

A message describing the reason that content was blocked, if any.

safetyRatings

val safetyRatings: List<SafetyRating>

A list of relevant SafetyRating.