public sealed class SuggestSmartRepliesResponse : IMessage<SuggestSmartRepliesResponse>, IEquatable<SuggestSmartRepliesResponse>, IDeepCloneable<SuggestSmartRepliesResponse>, IBufferMessage, IMessage
The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2.Participants.SuggestSmartReplies].
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eSuggestSmartRepliesResponse\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, primarily focusing on its structure, properties, and usage in suggesting smart replies.\u003c/p\u003e\n"],["\u003cp\u003eThe content provides a version history of the \u003ccode\u003eSuggestSmartRepliesResponse\u003c/code\u003e component, listing versions from 4.26.0 (latest) down to 3.2.0, allowing users to select and view documentation for a specific version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSuggestSmartRepliesResponse\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is inherited from the \u003ccode\u003eObject\u003c/code\u003e class, with methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e available.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one and another accepting a \u003ccode\u003eSuggestSmartRepliesResponse\u003c/code\u003e object, it contains properties such as \u003ccode\u003eContextSize\u003c/code\u003e, \u003ccode\u003eLatestMessage\u003c/code\u003e, \u003ccode\u003eLatestMessageAsMessageName\u003c/code\u003e, and \u003ccode\u003eSmartReplyAnswers\u003c/code\u003e, each of which plays a distinct role in the context of smart replies.\u003c/p\u003e\n"],["\u003cp\u003eThe SmartReplyAnswers property is an output-only field that contains a list of suggested smart reply options, ordered by model prediction rank, and its maximum length can be specified in the SmartReplyConfig.\u003c/p\u003e\n"]]],[],null,[]]