Interface PromptFeedback (0.5.0)

Content filter results for a prompt sent in the request.

Package

@google-cloud/vertexai

Properties

block_reason_message

block_reason_message: string;

A readable block reason message.

block_reason

block_reason: BlockedReason;

The reason why the response is blocked. .

safety_ratings

safety_ratings: SafetyRating[];

Array of SafetyRating