Google Cloud Dialogflow v2 API - Class SuggestSmartRepliesResponse (4.2.0)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SuggestSmartRepliesResponse.

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/<Conversation ID>/messages/<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>