Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class IntentInfo.
Represents intent information communicated to the webhook.
Generated from protobuf message google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ WebhookRequestMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ last_matched_intent
string
Always present. The unique identifier of the last matched intent
. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>
.
↳ display_name
↳ parameters
array| Google\Protobuf\Internal\MapField
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).
getLastMatchedIntent
Always present. The unique identifier of the last matched intent .
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
string
setLastMatchedIntent
Always present. The unique identifier of the last matched intent .
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
var
string
$this
getDisplayName
Always present. The display name of the last matched intent .
string
setDisplayName
Always present. The display name of the last matched intent .
var
string
$this
getParameters
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.
setParameters
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.
$this
getConfidence
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
float
setConfidence
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
var
float
$this