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

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 reply 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 reply model.

Returns:

  • (::String)

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



178
179
180
181
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 178

class SmartReplyConfig
  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.



178
179
180
181
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 178

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