Class SafetySettings (1.27.0)

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

Settings for Generative Safety.

Attribute

NameDescription
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.