public sealed class SuggestSmartRepliesResponse : IMessage<SuggestSmartRepliesResponse>, IEquatable<SuggestSmartRepliesResponse>, IDeepCloneable<SuggestSmartRepliesResponse>, IBufferMessage, IMessage
The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2.Participants.SuggestSmartReplies].
Implements
IMessage<SuggestSmartRepliesResponse>, IEquatable<SuggestSmartRepliesResponse>, IDeepCloneable<SuggestSmartRepliesResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SuggestSmartRepliesResponse()
public SuggestSmartRepliesResponse()
SuggestSmartRepliesResponse(SuggestSmartRepliesResponse)
public SuggestSmartRepliesResponse(SuggestSmartRepliesResponse other)
Parameter | |
---|---|
Name | Description |
other | SuggestSmartRepliesResponse |
Properties
ContextSize
public int ContextSize { get; set; }
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestSmartRepliesResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2.SuggestSmartRepliesRequest.context_size] field in the request if there aren't that many messages in the conversation.
Property Value | |
---|---|
Type | Description |
Int32 |
LatestMessage
public string LatestMessage { get; set; }
The name of the latest conversation message used to compile suggestion for.
Format: projects/{Project ID}/locations/{Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
Property Value | |
---|---|
Type | Description |
String |
LatestMessageAsMessageName
public MessageName LatestMessageAsMessageName { get; set; }
MessageName-typed view over the LatestMessage resource name property.
Property Value | |
---|---|
Type | Description |
MessageName |
SmartReplyAnswers
public RepeatedField<SmartReplyAnswer> SmartReplyAnswers { get; }
Output only. Multiple reply options provided by smart reply service. The order is based on the rank of the model prediction. The maximum number of the returned replies is set in SmartReplyConfig.
Property Value | |
---|---|
Type | Description |
RepeatedField<SmartReplyAnswer> |