Class: Google::Cloud::Dialogflow::V2::EvaluationConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::EvaluationConfig
- 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
-
#datasets ⇒ ::Array<::Google::Cloud::Dialogflow::V2::InputDataset>
Required.
-
#smart_compose_config ⇒ ::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartComposeConfig
Configuration for smart compose model evalution.
-
#smart_reply_config ⇒ ::Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartReplyConfig
Configuration for smart reply model evalution.
Instance Attribute Details
#datasets ⇒ ::Array<::Google::Cloud::Dialogflow::V2::InputDataset>
Returns Required. Datasets used for evaluation.
162 163 164 165 166 167 168 169 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 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 162 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 evalution.
162 163 164 165 166 167 168 169 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 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 162 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 evalution.
162 163 164 165 166 167 168 169 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 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 162 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 |