Represents one match result of [MatchIntent][].
JSON representation |
---|
{ "intent": { object ( |
Fields | |
---|---|
intent |
The |
event |
The event that matched the query. Filled for |
parameters |
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:
|
resolved |
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 of this |
confidence |
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. |
MatchType
Type of a Match.
Enums | |
---|---|
MATCH_TYPE_UNSPECIFIED |
Not specified. Should never be used. |
INTENT |
The query was matched to an intent. |
DIRECT_INTENT |
The query directly triggered an intent. |
PARAMETER_FILLING |
The query was used for parameter filling. |
NO_MATCH |
No match was found for the query. |
NO_INPUT |
Indicates an empty query. |
EVENT |
The query directly triggered an event. |
KNOWLEDGE_CONNECTOR |
The query was matched to a Knowledge Connector answer. |
PLAYBOOK |
The query was handled by a [Playbook ][Playbook]. |