DocumentClassificationConfig
¶
Source code in docs_src/capo_comprehend/types/document_classification_config.py
labels
instance-attribute
¶
labels: NotRequired[LabelsList]
One or more labels to associate with the custom classifier.
mode
instance-attribute
¶
mode: DocumentClassifierMode
Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.