Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartReplyConfig (v0.25.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartReplyConfig.

Smart reply specific configuration for evaluation job.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowlist_document

def allowlist_document() -> ::String
Returns
  • (::String) — The allowlist document resource name. Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>. Only used for smart reply model.

#allowlist_document=

def allowlist_document=(value) -> ::String
Parameter
  • value (::String) — 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.

#max_result_count

def max_result_count() -> ::Integer
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.

#max_result_count=

def max_result_count=(value) -> ::Integer
Parameter
  • value (::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.
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.