Dialogflow CX V3 API - Module Google::Cloud::Dialogflow::CX::V3::SafetySettings::PhraseMatchStrategy (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::SafetySettings::PhraseMatchStrategy.

Strategy for matching phrases.

Constants

PHRASE_MATCH_STRATEGY_UNSPECIFIED

value: 0
Unspecified, defaults to PARTIAL_MATCH.

PARTIAL_MATCH

value: 1
Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar".

WORD_MATCH

value: 2
Text that contains the tokenized words of the phrase will be matched, e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar".