Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse.
The response message for Participants.SuggestKnowledgeAssist.
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 SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer 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 SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer 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 SuggestKnowledgeAssistRequest.context_size field in the request if there are fewer messages in the conversation.
#knowledge_assist_answer
def knowledge_assist_answer() -> ::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer
Returns
- (::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer) — Output only. Knowledge Assist suggestion.
#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>
.