Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::EvaluationConfig::SmartComposeConfig (v1.1.1)

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

Smart compose 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 compose 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 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.

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