Class: Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/participant.rb

Overview

The response message for Participants.SuggestSmartReplies.

Instance Attribute Summary collapse

Instance Attribute Details

#context_size::Integer

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

Returns:



710
711
712
713
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 710

class SuggestSmartRepliesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#latest_message::String

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

Returns:

  • (::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>.



710
711
712
713
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 710

class SuggestSmartRepliesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#smart_reply_answers::Array<::Google::Cloud::Dialogflow::V2::SmartReplyAnswer> (readonly)

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

Returns:

  • (::Array<::Google::Cloud::Dialogflow::V2::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.



710
711
712
713
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 710

class SuggestSmartRepliesResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end