Class IntentInfo (1.3.2)

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

Represents intent information communicated to the webhook. .. attribute:: last_matched_intent

Always present. The unique identifier of the last matched intent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

:type: str

Attributes

NameDescription
display_name str
Always present. The display name of the last matched intent.
parameters Sequence[google.cloud.dialogflowcx_v3beta1.types.WebhookRequest.IntentInfo.ParametersEntry]
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. .. attribute:: original_value

Always present. Original text value extracted from user utterance.

:type: str

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.