Dialogflow V2 API - Module Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel (v1.13.0)

Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel.

Enum for user-configurable sensitivity levels.

Constants

SENSITIVITY_LEVEL_UNSPECIFIED

value: 0

Default value. If unspecified, the default behavior is:

  • DANGEROUS_CONTENT: BLOCK_FEW
  • SEXUALLY_EXPLICIT: BLOCK_SOME
  • HARASSMENT: BLOCK_SOME
  • HATE_SPEECH: BLOCK_SOME

BLOCK_MOST

value: 1
Block most potentially sensitive responses.

BLOCK_SOME

value: 2
Block some potentially sensitive responses.

BLOCK_FEW

value: 3
Block a few potentially sensitive responses.

BLOCK_NONE

value: 4
No filtering for this category.