Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class PhraseMatchStrategy.
Strategy for matching phrases.
Protobuf type google.cloud.dialogflow.cx.v3.SafetySettings.PhraseMatchStrategy
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ SafetySettingsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
PHRASE_MATCH_STRATEGY_UNSPECIFIED
Value: 0Unspecified, defaults to PARTIAL_MATCH.
Generated from protobuf enum PHRASE_MATCH_STRATEGY_UNSPECIFIED = 0;
PARTIAL_MATCH
Value: 1Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar".
Generated from protobuf enum PARTIAL_MATCH = 1;
WORD_MATCH
Value: 2Text 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".
Generated from protobuf enum WORD_MATCH = 2;