Class IntentInfo (1.20.1)

IntentInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents intent information communicated to the webhook.

Attributes

NameDescription
last_matched_intent str
Always present. The unique identifier of the last matched intent. Format: projects/.
display_name str
Always present. The display name of the last matched intent.
parameters MutableMapping[str, google.cloud.dialogflowcx_v3.types.WebhookRequest.IntentInfo.IntentParameterValue]
Parameters identified as a result of intent matching. This is a map of the name of the identified parameter to the value of the parameter identified from the user's utterance. All parameters defined in the matched intent that are identified will be surfaced here.
confidence float
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).

Classes

IntentParameterValue

IntentParameterValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a value for an intent parameter.

ParametersEntry

ParametersEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.