Class SafetySettings (1.30.0rc0)

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

Settings for Generative Safety.

Attribute

NameDescription
banned_phrases MutableSequence[google.cloud.dialogflowcx_v3.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.