google.ai.generativelanguage.ContentFilter

Content filtering metadata associated with processing a single request.

ContentFilter contains a reason and an optional supporting string. The reason may be unspecified.

reason google.ai.generativelanguage.ContentFilter.BlockedReason

The reason content was blocked during request processing.

message str

A string that describes the filtering behavior in more detail.

Child Classes

class BlockedReason