Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

Config to process conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig.



13154
13155
13156
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13154

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#recent_sentences_countFixnum

Number of recent non-small-talk sentences to use as context for article and FAQ suggestion Corresponds to the JSON property recentSentencesCount

Returns:

  • (Fixnum)


13152
13153
13154
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13152

def recent_sentences_count
  @recent_sentences_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13159
13160
13161
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13159

def update!(**args)
  @recent_sentences_count = args[:recent_sentences_count] if args.key?(:recent_sentences_count)
end