Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse (v1.1.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse.

The response message for Participants.SuggestSmartReplies.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#context_size

def context_size() -> ::Integer
Returns

#context_size=

def context_size=(value) -> ::Integer
Parameter
Returns

#latest_message

def latest_message() -> ::String
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>.

#latest_message=

def latest_message=(value) -> ::String
Parameter
  • value (::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>.

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

#smart_reply_answers

def smart_reply_answers() -> ::Array<::Google::Cloud::Dialogflow::V2::SmartReplyAnswer>
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.