Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModelEvaluation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModelEvaluation
- 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
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#evaluation_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig
The configuration for model evaluation.
-
#name ⇒ String
The resource name of the evaluation.
-
#smart_reply_metrics ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics
The evaluation metrics for smart reply model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationModelEvaluation
constructor
A new instance of GoogleCloudDialogflowV2ConversationModelEvaluation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationModelEvaluation
Returns a new instance of GoogleCloudDialogflowV2ConversationModelEvaluation.
6782 6783 6784 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6782 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Creation time of this model.
Corresponds to the JSON property createTime
6759 6760 6761 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6759 def create_time @create_time end |
#display_name ⇒ String
Optional. The display name of the model evaluation. At most 64 bytes long.
Corresponds to the JSON property displayName
6764 6765 6766 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6764 def display_name @display_name end |
#evaluation_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig
The configuration for model evaluation.
Corresponds to the JSON property evaluationConfig
6769 6770 6771 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6769 def evaluation_config @evaluation_config end |
#name ⇒ String
The resource name of the evaluation. Format: projects//conversationModels//
evaluations/
Corresponds to the JSON property name
6775 6776 6777 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6775 def name @name end |
#smart_reply_metrics ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics
The evaluation metrics for smart reply model.
Corresponds to the JSON property smartReplyMetrics
6780 6781 6782 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6780 def smart_reply_metrics @smart_reply_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6787 6788 6789 6790 6791 6792 6793 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6787 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 |