Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig

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

Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig.



13133
13134
13135
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13133

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

Instance Attribute Details

#baseline_model_versionString

Version of current baseline model. It will be ignored if model is set. Valid versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default) Summarization baseline model: - 1.0 Corresponds to the JSON property baselineModelVersion

Returns:

  • (String)


13126
13127
13128
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13126

def baseline_model_version
  @baseline_model_version
end

#modelString

Conversation model resource name. Format: projects//conversationModels/. Corresponds to the JSON property model

Returns:

  • (String)


13131
13132
13133
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13131

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13138
13139
13140
13141
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13138

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