Google Cloud Dialogflow v2beta1 API - Class SuggestSmartRepliesResponse (1.0.0-beta12)

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

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

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

Inheritance

object > SuggestSmartRepliesResponse

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.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.v2beta1.SuggestSmartRepliesResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] field in the request if there aren't that many messages in the conversation.

Property Value
TypeDescription
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
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
RepeatedFieldSmartReplyAnswer