The request message for Participants.SuggestFaqAnswers.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#context_size
def context_size() -> ::Integer
Returns
- (::Integer) — Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestFaqAnswersRequest.context_size field in the request if there aren't that many messages in the conversation.
#context_size=
def context_size=(value) -> ::Integer
Parameter
- value (::Integer) — Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestFaqAnswersRequest.context_size field in the request if there aren't that many messages in the conversation.
Returns
- (::Integer) — Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestFaqAnswersRequest.context_size field in the request if there aren't that many messages in the conversation.
#faq_answers
def faq_answers() -> ::Array<::Google::Cloud::Dialogflow::V2::FaqAnswer>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::FaqAnswer>) — Answers extracted from FAQ documents.
#faq_answers=
def faq_answers=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::FaqAnswer>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::FaqAnswer>) — Answers extracted from FAQ documents.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::FaqAnswer>) — Answers extracted from FAQ documents.
#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>
.