Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig
- 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
The configuration for model evaluation.
Instance Attribute Summary collapse
-
#datasets ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputDataset>
Required.
-
#smart_compose_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
Smart compose specific configuration for evaluation job.
-
#smart_reply_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig
Smart reply specific configuration for evaluation job.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2EvaluationConfig
constructor
A new instance of GoogleCloudDialogflowV2EvaluationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2EvaluationConfig
Returns a new instance of GoogleCloudDialogflowV2EvaluationConfig.
8031 8032 8033 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8031 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datasets ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputDataset>
Required. Datasets used for evaluation.
Corresponds to the JSON property datasets
8019 8020 8021 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8019 def datasets @datasets end |
#smart_compose_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
Smart compose specific configuration for evaluation job.
Corresponds to the JSON property smartComposeConfig
8024 8025 8026 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8024 def smart_compose_config @smart_compose_config end |
#smart_reply_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig
Smart reply specific configuration for evaluation job.
Corresponds to the JSON property smartReplyConfig
8029 8030 8031 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8029 def smart_reply_config @smart_reply_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8036 8037 8038 8039 8040 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8036 def update!(**args) @datasets = args[:datasets] if args.key?(:datasets) @smart_compose_config = args[:smart_compose_config] if args.key?(:smart_compose_config) @smart_reply_config = args[:smart_reply_config] if args.key?(:smart_reply_config) end |