Class: Google::Cloud::Dialogflow::V2::SuggestArticlesResponse

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

Instance Attribute Summary collapse

Instance Attribute Details

#article_answers::Array<::Google::Cloud::Dialogflow::V2::ArticleAnswer>

Returns Articles ordered by score in descending order.

Returns:



602
603
604
605
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 602

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

#context_size::Integer

Returns Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestArticlesRequest.context_size field in the request if there aren't that many messages in the conversation.

Returns:



602
603
604
605
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 602

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



602
603
604
605
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 602

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