Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModelEvaluation

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

Overview

Represents evaluation result of a conversation model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationModelEvaluation

Returns a new instance of GoogleCloudDialogflowV2ConversationModelEvaluation.



6815
6816
6817
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6815

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

Instance Attribute Details

#create_timeString

Output only. Creation time of this model. Corresponds to the JSON property createTime

Returns:

  • (String)


6792
6793
6794
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6792

def create_time
  @create_time
end

#display_nameString

Optional. The display name of the model evaluation. At most 64 bytes long. Corresponds to the JSON property displayName

Returns:

  • (String)


6797
6798
6799
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6797

def display_name
  @display_name
end

#evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig

The configuration for model evaluation. Corresponds to the JSON property evaluationConfig



6802
6803
6804
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6802

def evaluation_config
  @evaluation_config
end

#nameString

The resource name of the evaluation. Format: projects//conversationModels// evaluations/ Corresponds to the JSON property name

Returns:

  • (String)


6808
6809
6810
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6808

def name
  @name
end

#smart_reply_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics

The evaluation metrics for smart reply model. Corresponds to the JSON property smartReplyMetrics



6813
6814
6815
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6813

def smart_reply_metrics
  @smart_reply_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6820
6821
6822
6823
6824
6825
6826
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6820

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config)
  @name = args[:name] if args.key?(:name)
  @smart_reply_metrics = args[:smart_reply_metrics] if args.key?(:smart_reply_metrics)
end