Class SuggestSmartRepliesResponse (4.0.0)

public sealed class SuggestSmartRepliesResponse : IMessage<SuggestSmartRepliesResponse>, IEquatable<SuggestSmartRepliesResponse>, IDeepCloneable<SuggestSmartRepliesResponse>, IBufferMessage, IMessage

The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2.Participants.SuggestSmartReplies].

Inheritance

Object > SuggestSmartRepliesResponse

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SuggestSmartRepliesResponse()

public SuggestSmartRepliesResponse()

SuggestSmartRepliesResponse(SuggestSmartRepliesResponse)

public SuggestSmartRepliesResponse(SuggestSmartRepliesResponse other)
Parameter
NameDescription
otherSuggestSmartRepliesResponse

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
TypeDescription
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/&lt;Conversation ID>/messages/&lt;Message ID>.

Property Value
TypeDescription
String

LatestMessageAsMessageName

public MessageName LatestMessageAsMessageName { get; set; }

MessageName-typed view over the LatestMessage resource name property.

Property Value
TypeDescription
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
TypeDescription
RepeatedField<SmartReplyAnswer>