Module: Google::Cloud::Dialogflow::V2::RaiSettings::RaiCategoryConfig::SensitivityLevel

Defined in:
proto_docs/google/cloud/dialogflow/v2/generator.rb

Overview

Enum for user-configurable sensitivity levels.

Constant Summary collapse

SENSITIVITY_LEVEL_UNSPECIFIED =

Default value. If unspecified, the default behavior is:

  • DANGEROUS_CONTENT: BLOCK_FEW
  • SEXUALLY_EXPLICIT: BLOCK_SOME
  • HARASSMENT: BLOCK_SOME
  • HATE_SPEECH: BLOCK_SOME
0
BLOCK_MOST =

Block most potentially sensitive responses.

1
BLOCK_SOME =

Block some potentially sensitive responses.

2
BLOCK_FEW =

Block a few potentially sensitive responses.

3
BLOCK_NONE =

No filtering for this category.

4