Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SuggestArticlesResponse.
The response message for Participants.SuggestArticles.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#article_answers
def article_answers() -> ::Array<::Google::Cloud::Dialogflow::V2::ArticleAnswer>- (::Array<::Google::Cloud::Dialogflow::V2::ArticleAnswer>) — Articles ordered by score in descending order.
 
#article_answers=
def article_answers=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::ArticleAnswer>- value (::Array<::Google::Cloud::Dialogflow::V2::ArticleAnswer>) — Articles ordered by score in descending order.
 
- (::Array<::Google::Cloud::Dialogflow::V2::ArticleAnswer>) — Articles ordered by score in descending order.
 
#context_size
def context_size() -> ::Integer- (::Integer) — 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.
 
#context_size=
def context_size=(value) -> ::Integer- value (::Integer) — 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.
 
- (::Integer) — 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.
 
#latest_message
def latest_message() -> ::String-  (::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-  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>. 
-  (::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>.