PromptFeedback

data class PromptFeedback(val blockReason: BlockReason? = null, val safetyRatings: List<SafetyRating>? = null)(source)

Represents feedback related to the prompt.

Constructors

Link copied to clipboard
constructor(blockReason: BlockReason? = null, safetyRatings: List<SafetyRating>? = null)

Properties

Link copied to clipboard
@SerialName(value = "blockReason")
val blockReason: BlockReason?
Link copied to clipboard
@SerialName(value = "safetyRatings")
val safetyRatings: List<SafetyRating>?

Safety ratings for the prompt.