Class UserDefinedClassifierSpec (0.20.1)

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

The specification for user defined classifier.

Attributes

Name Description
enable_user_defined_classifier bool
Optional. Whether or not to enable and include user defined classifier.
preamble str
Optional. The preamble to be used for the user defined classifier.
model_id str
Optional. The model id to be used for the user defined classifier.
task_marker str
Optional. The task marker to be used for the user defined classifier.
top_p float
Optional. The top-p value to be used for the user defined classifier.
top_k int
Optional. The top-k value to be used for the user defined classifier.
temperature float
Optional. The temperature value to be used for the user defined classifier.
seed int
Optional. The seed value to be used for the user defined classifier.