Class SafetySettings (1.33.0)

SafetySettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for Generative Safety.

Attribute

Name Description
banned_phrases MutableSequence[google.cloud.dialogflowcx_v3beta1.types.SafetySettings.Phrase]
Banned phrases for generated text.

Classes

Phrase

Phrase(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Text input which can be used for prompt or banned phrases.