Skip to content

Search

SingleCategory

TypeVocabulary Source

A category with exactly one answer, such as people:crowd.

Fields

typerequired"single"
questionoptionalstring

Asked of every image. Defaults to one built from the category name; write your own when the name alone is ambiguous.

valuesrequiredCategoryValues

At least two.

minConfidenceoptionalnumber

Below this, no value is chosen. Default 0: the likeliest value always wins.

allowUnlistedoptionalboolean

Also offers "none of these fits". The model still can't name a new value: the tag reports unlisted, how likely it is that one is missing, and gets no value when that's the likeliest answer. Default false.

Used by

image-tagger is a Ben Hodgson projectGitHub