Google Cloud Dialogflow v2 API - Class SuggestSmartRepliesResponse (4.19.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
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
int

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
RepeatedFieldSmartReplyAnswer