Interface protos.google.ai.generativelanguage.v1.GenerateContentResponse.IPromptFeedback (2.3.0)

Properties of a PromptFeedback.

Package

@google-ai/generativelanguage

Properties

blockReason

blockReason?: (google.ai.generativelanguage.v1.GenerateContentResponse.PromptFeedback.BlockReason|keyof typeof google.ai.generativelanguage.v1.GenerateContentResponse.PromptFeedback.BlockReason|null);

PromptFeedback blockReason

safetyRatings

safetyRatings?: (google.ai.generativelanguage.v1.ISafetyRating[]|null);

PromptFeedback safetyRatings