Class SuggestSmartRepliesRequest (2.13.0)

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

The request message for Participants.SuggestSmartReplies.

Attributes

NameDescription
parent str
Required. The name of the participant to fetch suggestion for. Format: projects/.
current_text_input google.cloud.dialogflow_v2.types.TextInput
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
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.