google.ai.generativelanguage.GenerateAnswerResponse.InputFeedback

Feedback related to the input data used to answer the question, as opposed to model-generated response to the question.

block_reason google.ai.generativelanguage.GenerateAnswerResponse.InputFeedback.BlockReason

Optional. If set, the input was blocked and no candidates are returned. Rephrase your input.

safety_ratings MutableSequence[google.ai.generativelanguage.SafetyRating]

Ratings for safety of the input. There is at most one rating per category.

Child Classes

class BlockReason