public sealed class IntentInfo : IMessage<WebhookRequest.Types.IntentInfo>, IEquatable<WebhookRequest.Types.IntentInfo>, IDeepCloneable<WebhookRequest.Types.IntentInfo>, IBufferMessage, IMessage
Represents intent information communicated to the webhook.
Implements
IMessage<WebhookRequest.Types.IntentInfo>, IEquatable<WebhookRequest.Types.IntentInfo>, IDeepCloneable<WebhookRequest.Types.IntentInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
IntentInfo()
public IntentInfo()
IntentInfo(WebhookRequest.Types.IntentInfo)
public IntentInfo(WebhookRequest.Types.IntentInfo other)
Parameter | |
---|---|
Name | Description |
other | WebhookRequest.Types.IntentInfo |
Properties
Confidence
public float Confidence { get; set; }
The confidence of the matched intent. Values range from 0.0 (completely uncertain) to 1.0 (completely certain).
Property Value | |
---|---|
Type | Description |
Single |
DisplayName
public string DisplayName { get; set; }
Always present. The display name of the last matched [intent][google.cloud.dialogflow.cx.v3.Intent].
Property Value | |
---|---|
Type | Description |
String |
LastMatchedIntent
public string LastMatchedIntent { get; set; }
Always present. The unique identifier of the last matched
[intent][google.cloud.dialogflow.cx.v3.Intent].
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>
.
Property Value | |
---|---|
Type | Description |
String |
Parameters
public MapField<string, WebhookRequest.Types.IntentInfo.Types.IntentParameterValue> Parameters { get; }
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.
Property Value | |
---|---|
Type | Description |
MapField<String, WebhookRequest.Types.IntentInfo.Types.IntentParameterValue> |