Google Cloud Dialogflow Cx V3 Client - Class SafetyCategory (0.10.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SafetyCategory.

RAI categories to configure.

Protobuf type google.cloud.dialogflow.cx.v3.SafetySettings.RaiSettings.SafetyCategory

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ SafetySettings \ RaiSettings

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SAFETY_CATEGORY_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum SAFETY_CATEGORY_UNSPECIFIED = 0;

DANGEROUS_CONTENT

Value: 1

Dangerous content.

Generated from protobuf enum DANGEROUS_CONTENT = 1;

HATE_SPEECH

Value: 2

Hate speech.

Generated from protobuf enum HATE_SPEECH = 2;

HARASSMENT

Value: 3

Harassment.

Generated from protobuf enum HARASSMENT = 3;

SEXUALLY_EXPLICIT_CONTENT

Value: 4

Sexually explicit content.

Generated from protobuf enum SEXUALLY_EXPLICIT_CONTENT = 4;