Interface protos.google.ai.generativelanguage.v1beta.GenerateAnswerResponse.IInputFeedback (2.8.0)

Properties of an InputFeedback.

Package

@google-ai/generativelanguage

Properties

blockReason

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

InputFeedback blockReason

safetyRatings

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

InputFeedback safetyRatings