Class SensitivityLevel (2.45.0)

SensitivityLevel(value)

Enum for user-configurable sensitivity levels.

    - DANGEROUS_CONTENT: BLOCK_FEW
    - SEXUALLY_EXPLICIT: BLOCK_SOME
    - HARASSMENT: BLOCK_SOME
    - HATE_SPEECH: BLOCK_SOME
BLOCK_MOST (1):
    Block most potentially sensitive responses.
BLOCK_SOME (2):
    Block some potentially sensitive responses.
BLOCK_FEW (3):
    Block a few potentially sensitive responses.
BLOCK_NONE (4):
    No filtering for this category.

Enum

Name Description
SENSITIVITY_LEVEL_UNSPECIFIED Default value. If unspecified, the default behavior is: