- 1.36.0 (latest)
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.1
- 1.31.1
- 1.30.1
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.1
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.0
- 1.17.1
- 1.16.0
- 1.15.0
- 1.14.1
- 1.13.5
- 1.12.1
- 1.11.0
- 1.10.0
- 1.9.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.2
- 1.2.0
- 1.1.1
- 1.0.0
- 0.8.2
- 0.7.1
- 0.6.0
- 0.5.0
- 0.4.1
- 0.3.0
- 0.2.0
- 0.1.1
Match(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents one match result of [MatchIntent][].
Attributes | |
---|---|
Name | Description |
intent |
google.cloud.dialogflowcx_v3beta1.types.Intent
The Intent that matched the query. Some, not all fields are filled in this message, including but not limited to: name and
display_name . Only filled for
[INTENT ][google.cloud.dialogflow.cx.v3beta1.Match.MatchType]
match type.
|
event |
str
The event that matched the query. Filled for [ EVENT ][google.cloud.dialogflow.cx.v3beta1.Match.MatchType],
[NO_MATCH ][google.cloud.dialogflow.cx.v3beta1.Match.MatchType]
and
[NO_INPUT ][google.cloud.dialogflow.cx.v3beta1.Match.MatchType]
match types.
|
parameters |
google.protobuf.struct_pb2.Struct
The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. - MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value. |
resolved_input |
str
Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing. |
match_type |
google.cloud.dialogflowcx_v3beta1.types.Match.MatchType
Type of this Match. |
confidence |
float
The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation. |
Classes
MatchType
MatchType(value)
Type of a Match.
Values: MATCH_TYPE_UNSPECIFIED (0): Not specified. Should never be used. INTENT (1): The query was matched to an intent. DIRECT_INTENT (2): The query directly triggered an intent. PARAMETER_FILLING (3): The query was used for parameter filling. NO_MATCH (4): No match was found for the query. NO_INPUT (5): Indicates an empty query. EVENT (6): The query directly triggered an event.