Configuration required for a custom classification model.

interface DocumentClassificationConfig {
    Labels?: string[];
    Mode: undefined | string;
}

Properties

Properties

Labels?: string[]

One or more labels to associate with the custom classifier.

Mode: undefined | string

Classification mode indicates whether the documents are MULTI_CLASS or MULTI_LABEL.