Interface PromptFeedback (0.4.0)

Content filter results for a prompt sent in the request. {BlockedReason} - block_reason. {SafetyRating[]} - safety_ratings. Array of SafetyRating {string} - block_reason_message. A readable block reason message.

Package

@google-cloud/vertexai

Properties

block_reason_message

block_reason_message: string;

block_reason

block_reason: BlockedReason;

safety_ratings

safety_ratings: SafetyRating[];