Class SuggestSmartRepliesRequest (2.30.0)

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

The request message for Participants.SuggestSmartReplies.


parent str
Required. The name of the participant to fetch suggestion for. Format: projects/.
The current natural language text segment to compile suggestion for. This provides a way for user to get follow up smart reply suggestion after a smart reply selection, without sending a text message.
latest_message str
The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation. Format: projects/.
context_size int
Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 20 and at most 50.