Amazon SageMaker
Developer Guide


A widget for classifying non-image content, such as audio, video, or text.


The following attributes are supported by this element.


A JSON formatted array of strings, each of which is a category that a worker can assign to the to the text. You should include "other" as a category, otherwise the worker my not be able to provide an answer.


The text to display above the image. This is typically a question or simple instruction for the worker.


The name of this widget. It is used as a key for the widget's input in the form output.

Element Hierarchy

This element has the following parent and child elements.


The following regions are supported by this element.


The content to be classified by the worker. This can be plain text or HTML. Examples of how the HTML can be used include but are not limited to embedding a video or audio player, embedding a PDF, or performing a comparison of two or more images.


General instructions about how to do text classification.


Important task-specific instructions that are displayed in a prominent place.


The output of this element is an object using the specified name value as a property name, and a string from the categories as the property's value.

Example : Sample Element Outputs

The following is a sample of output from this element.

[ { "<name>": { "label": "<value>" } } ]

See Also

For more information, see the following.