The IMAGE_CLASSIFICATION action classifies an image into one of a predefined set of categories.
Use this action when you need to automatically categorize image content according to business-defined labels. The action analyzes the image and selects the most appropriate classification from the list of candidate labels that you provide. The resulting classification can be used for content organization, governance, search, routing decisions, and downstream AI workflows.
The action submits a Content Lake document reference to the Knowledge Enrichment service, evaluates the image against the supplied classification labels, and returns the selected category.
The input parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| classes | String | Required | Comma-separated list of classification labels that can be assigned to the image, for
example:
snake, lion |
| content | Content | Required | The Content Lake document to process. The connector submits the referenced image for
classification, for example:
{
"uri": "hxpr:/1234567890"
}
|
| instructions | JSON | Optional | Action-specific instructions that influence the classification process. Example: {"language":"English","style":"concise"}. |
| pollingInitialDelayMs | Integer | Optional | Overrides the initial polling delay in milliseconds. The default value is 1000 milliseconds (1 second). |
| pollingTimeoutSeconds | Integer | Optional | Overrides the timeout period, in seconds, while waiting for processing to complete. |
The output parameters of the action are:
| Parameter | Type | Required | Description |
|---|---|---|---|
| imageClassification | String | Optional | The classification label selected for the image. |