Amazon Comprehend · JSON Structure

Openapi.Yml Task Config Structure

Configuration about the custom classifier associated with the flywheel.

Type: object Properties: 3 Required: 1
Machine LearningNatural Language ProcessingNLPText Analysis

TaskConfig is a JSON Structure definition published by Amazon Comprehend, describing 3 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

LanguageCode DocumentClassificationConfig EntityRecognitionConfig

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-task-config-structure.json",
  "name": "TaskConfig",
  "description": "Configuration about the custom classifier associated with the flywheel.",
  "type": "object",
  "properties": {
    "LanguageCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LanguageCode"
        },
        {
          "description": "Language code for the language that the model supports."
        }
      ]
    },
    "DocumentClassificationConfig": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DocumentClassificationConfig"
        },
        {
          "description": "Configuration required for a classification model."
        }
      ]
    },
    "EntityRecognitionConfig": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EntityRecognitionConfig"
        },
        {
          "description": "Configuration required for an entity recognition model."
        }
      ]
    }
  },
  "required": [
    "LanguageCode"
  ]
}