Class SafetySettings (1.38.0)

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

Settings for Generative Safety.

Attributes

Name Description
default_banned_phrase_match_strategy google.cloud.dialogflowcx_v3beta1.types.SafetySettings.PhraseMatchStrategy
Optional. Default phrase match strategy for banned phrases.
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.

PhraseMatchStrategy

PhraseMatchStrategy(value)

Strategy for matching phrases.