Amazon Comprehend · Schema

DocumentClassificationConfig

Configuration required for a custom classification model.

Machine LearningNatural Language ProcessingNLPText Analysis

Properties

Name Type Description
Mode object
Labels object
View JSON Schema on GitHub

JSON Schema

openapi.yml-document-classification-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-schema/openapi.yml-document-classification-config-schema.json",
  "title": "DocumentClassificationConfig",
  "description": "Configuration required for a custom classification model.",
  "type": "object",
  "properties": {
    "Mode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DocumentClassifierMode"
        },
        {
          "description": "Classification mode indicates whether the documents are <code>MULTI_CLASS</code> or <code>MULTI_LABEL</code>."
        }
      ]
    },
    "Labels": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LabelsList"
        },
        {
          "description": "One or more labels to associate with the custom classifier."
        }
      ]
    }
  },
  "required": [
    "Mode"
  ]
}