Interface PromptFeedback (1.9.0)

Content filter results for a prompt sent in the request.

Package

@google-cloud/vertexai

Properties

blockReason

blockReason: BlockedReason;

The reason why the response is blocked. .

blockReasonMessage

blockReasonMessage?: string;

A readable block reason message.

safetyRatings

safetyRatings: SafetyRating[];

Array of SafetyRating