tags
- Introduction
Object Tags
- Audio
- AudioPlus
- HyperText
- Image
- Paragraphs
- Text
- TimeSeries
- Video
Control Tags
- BrushLabels
- Choice
- Choices
- Ellipse
- EllipseLabels
- HyperTextLabels
- KeyPoint
- KeyPointLabels
- Label
- Labels
- List
- Number
- Pairwise
- ParagraphLabels
- Polygon
- PolygonLabels
- Ranker
- Rating
- Rectangle
- RectangleLabels
- Relation
- Relations
- Shortcut
- Taxonomy
- TextArea
- TimeSeriesLabels
Visual & Experience Tags
- Filter
- Header
- Style
- Table
- View
Rating
The Rating tag adds a rating selection to the labeling interface. Use for labeling tasks involving ratings.
Use with the following data types: audio, image, HTML, paragraphs, text, time series, video
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
Name of the element | |
toName | string |
Name of the element that you want to label | |
[maxRating] | number |
5 |
Maximum rating value |
[defaultValue] | number |
0 |
Default rating value |
[size] | small | medium | large |
medium |
Rating icon size |
[icon] | star | heart | fire | smile |
star |
Rating icon |
hotkey | string |
HotKey for changing rating value | |
[required] | boolean |
false |
Whether rating validation is required |
[requiredMessage] | string |
Message to show if validation fails | |
[perRegion] | boolean |
Use this tag to rate regions instead of the whole object |
Example
<!--Basic labeling configuration to rate the content of a text passage -->
<View>
<Text name="txt" value="$text" />
<Rating name="rating" toName="txt" maxRating="10" icon="star" size="medium" />
</View>
Couldn't find what you were looking for? Please let us know on
Slack
If you found an error, you can file an issue on GitHub!

If you found an error, you can file an issue on GitHub!