Interface protos.google.ai.generativelanguage.v1beta.GenerateContentResponse.IPromptFeedback (2.6.0)

Properties of a PromptFeedback.

Package

@google-ai/generativelanguage

Properties

blockReason

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

PromptFeedback blockReason

safetyRatings

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

PromptFeedback safetyRatings