DocumentClassificationConfig - Amazon Comprehend API Reference

DocumentClassificationConfig

Configuration required for a document classification model.

Contents

Mode

Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.

Type: String

Valid Values: MULTI_CLASS | MULTI_LABEL

Required: Yes

Labels

One or more labels to associate with the custom classifier.

Type: Array of strings

Array Members: Maximum number of 1000 items.

Length Constraints: Maximum length of 5000.

Pattern: ^\P{C}*$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: