Class SuggestSmartRepliesResponse (2.12.0)

SuggestSmartRepliesResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The response message for Participants.SuggestSmartReplies.

Attributes

NameDescription
smart_reply_answers Sequence[google.cloud.dialogflow_v2.types.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.
latest_message str
The name of the latest conversation message used to compile suggestion for. Format: projects/.
context_size int
Number of messages prior to and including latest_message 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.