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

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

Smart compose specific configuration for evaluation job.

Instance Attribute Summary collapse

Instance Attribute Details

#allowlist_document::String

Returns The allowlist document resource name. Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>. Only used for smart compose model.

Returns:

  • (::String)

    The allowlist document resource name. Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>. Only used for smart compose model.



195
196
197
198
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 195

class SmartComposeConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_result_count::Integer

Returns 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.

Returns:

  • (::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.



195
196
197
198
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 195

class SmartComposeConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end