Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::SafetySettings.
Settings for Generative Safety.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#banned_phrases
def banned_phrases() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::SafetySettings::Phrase>
Returns
- (::Array<::Google::Cloud::Dialogflow::CX::V3::SafetySettings::Phrase>) — Banned phrases for generated text.
#banned_phrases=
def banned_phrases=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::SafetySettings::Phrase>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::CX::V3::SafetySettings::Phrase>) — Banned phrases for generated text.
Returns
- (::Array<::Google::Cloud::Dialogflow::CX::V3::SafetySettings::Phrase>) — Banned phrases for generated text.