[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/SuggestSmartRepliesResponse [Back]  [Original]

SuggestSmartRepliesResponse  |  Dialogflow ES  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

SuggestSmartRepliesResponse Stay organized with collections Save and categorize content based on your preferences.

The response message for Participants.SuggestSmartReplies.

JSON representation
{
  "smartReplyAnswers": [
    {
      object (SmartReplyAnswer)
    }
  ],
  "latestMessage": string,
  "contextSize": integer
}
Fields
smartReplyAnswers[]

object (SmartReplyAnswer)

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.

latestMessage

string

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>.

contextSize

integer

Number of messages prior to and including latestMessage to compile the suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size field in the request if there aren't that many messages in the conversation.

SmartReplyAnswer

Represents a smart reply answer.

JSON representation
{
  "reply": string,
  "confidence": number,
  "answerRecord": string
}
Fields
reply

string

The content of the reply.

confidence

number

Smart reply confidence. The system's confidence score that this reply is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain).

answerRecord

string

The name of answer record, in the format of "projects//locations//answerRecords/"

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page