Class: Google::Cloud::Dialogflow::V2::SuggestSmartRepliesRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::SuggestSmartRepliesRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/participant.rb
Overview
The request message for Participants.SuggestSmartReplies.
Instance Attribute Summary collapse
-
#context_size ⇒ ::Integer
Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion.
-
#current_text_input ⇒ ::Google::Cloud::Dialogflow::V2::TextInput
The current natural language text segment to compile suggestion for.
-
#latest_message ⇒ ::String
The name of the latest conversation message to compile suggestion for.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#context_size ⇒ ::Integer
Returns 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.
681 682 683 684 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 681 class SuggestSmartRepliesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#current_text_input ⇒ ::Google::Cloud::Dialogflow::V2::TextInput
Returns 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.
681 682 683 684 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 681 class SuggestSmartRepliesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#latest_message ⇒ ::String
Returns The name of the latest conversation message to compile suggestion for. If empty, it will be the latest message of the conversation.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
681 682 683 684 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 681 class SuggestSmartRepliesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The name of the participant to fetch suggestion for.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>
.
681 682 683 684 |
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 681 class SuggestSmartRepliesRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |