GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs

data class GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs(val allowlistDocument: Output<String>? = null, val maxResultCount: Output<Int>) : ConvertibleToJava<GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs>

Smart compose specific configuration for evaluation job.

Constructors

constructor(allowlistDocument: Output<String>? = null, maxResultCount: Output<Int>)

Properties

Link copied to clipboard
val allowlistDocument: Output<String>? = null

The allowlist document resource name. Format: projects//knowledgeBases//documents/. Only used for smart compose model.

Link copied to clipboard
val maxResultCount: Output<Int>

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.

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfigArgs