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.
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 137 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.
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 137 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.
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 137 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 |