Class: Google::Cloud::Dialogflow::V2::EvaluationConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/conversation_model.rb

Overview

The configuration for model evaluation.

Defined Under Namespace

Classes: SmartComposeConfig, SmartReplyConfig

Instance Attribute Summary collapse

Instance Attribute Details

#datasets::Array<::Google::Cloud::Dialogflow::V2::InputDataset>

Returns Required. Datasets used for evaluation.

Returns:



170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 170

class EvaluationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Smart reply specific configuration for evaluation job.
  # @!attribute [rw] allowlist_document
  #   @return [::String]
  #     The allowlist document resource name.
  #     Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
  #     ID>/documents/<Document ID>`. Only used for smart reply model.
  # @!attribute [rw] max_result_count
  #   @return [::Integer]
  #     Required. The model to be evaluated can return multiple results with
  #     confidence score on each query. These results will be sorted by the
  #     descending order of the scores and we only keep the first
  #     max_result_count results as the final results to evaluate.
  class SmartReplyConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Smart compose specific configuration for evaluation job.
  # @!attribute [rw] allowlist_document
  #   @return [::String]
  #     The allowlist document resource name.
  #     Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
  #     ID>/documents/<Document ID>`. Only used for smart compose model.
  # @!attribute [rw] max_result_count
  #   @return [::Integer]
  #     Required. The model to be evaluated can return multiple results with
  #     confidence score on each query. These results will be sorted by the
  #     descending order of the scores and we only keep the first
  #     max_result_count results as the final results to evaluate.
  class SmartComposeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#smart_compose_config::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartComposeConfig

Returns Configuration for smart compose model evaluation.

Note: The following fields are mutually exclusive: smart_compose_config, smart_reply_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 170

class EvaluationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Smart reply specific configuration for evaluation job.
  # @!attribute [rw] allowlist_document
  #   @return [::String]
  #     The allowlist document resource name.
  #     Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
  #     ID>/documents/<Document ID>`. Only used for smart reply model.
  # @!attribute [rw] max_result_count
  #   @return [::Integer]
  #     Required. The model to be evaluated can return multiple results with
  #     confidence score on each query. These results will be sorted by the
  #     descending order of the scores and we only keep the first
  #     max_result_count results as the final results to evaluate.
  class SmartReplyConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Smart compose specific configuration for evaluation job.
  # @!attribute [rw] allowlist_document
  #   @return [::String]
  #     The allowlist document resource name.
  #     Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
  #     ID>/documents/<Document ID>`. Only used for smart compose model.
  # @!attribute [rw] max_result_count
  #   @return [::Integer]
  #     Required. The model to be evaluated can return multiple results with
  #     confidence score on each query. These results will be sorted by the
  #     descending order of the scores and we only keep the first
  #     max_result_count results as the final results to evaluate.
  class SmartComposeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#smart_reply_config::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartReplyConfig

Returns Configuration for smart reply model evaluation.

Note: The following fields are mutually exclusive: smart_reply_config, smart_compose_config. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 170

class EvaluationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Smart reply specific configuration for evaluation job.
  # @!attribute [rw] allowlist_document
  #   @return [::String]
  #     The allowlist document resource name.
  #     Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
  #     ID>/documents/<Document ID>`. Only used for smart reply model.
  # @!attribute [rw] max_result_count
  #   @return [::Integer]
  #     Required. The model to be evaluated can return multiple results with
  #     confidence score on each query. These results will be sorted by the
  #     descending order of the scores and we only keep the first
  #     max_result_count results as the final results to evaluate.
  class SmartReplyConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Smart compose specific configuration for evaluation job.
  # @!attribute [rw] allowlist_document
  #   @return [::String]
  #     The allowlist document resource name.
  #     Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
  #     ID>/documents/<Document ID>`. Only used for smart compose model.
  # @!attribute [rw] max_result_count
  #   @return [::Integer]
  #     Required. The model to be evaluated can return multiple results with
  #     confidence score on each query. These results will be sorted by the
  #     descending order of the scores and we only keep the first
  #     max_result_count results as the final results to evaluate.
  class SmartComposeConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end