Class: Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistRequest

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 request message for Participants.SuggestKnowledgeAssist.

Instance Attribute Summary collapse

Instance Attribute Details

#context_size::Integer

Returns Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.

Returns:

  • (::Integer)

    Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.



1055
1056
1057
1058
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1055

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

#latest_message::String

Returns Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

Returns:

  • (::String)

    Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.



1055
1056
1057
1058
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1055

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

#parent::String

Returns Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

Returns:

  • (::String)

    Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.



1055
1056
1057
1058
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1055

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

#previous_suggested_query::String

Returns Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.

Returns:

  • (::String)

    Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.



1055
1056
1057
1058
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 1055

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