Class SmartComposeConfig (2.21.0)

SmartComposeConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Smart compose specific configuration for evaluation job.

Attributes

NameDescription
allowlist_document str
The allowlist document resource name. Format: projects/. Only used for smart compose model.
max_result_count int
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.