SingleCategory
A category with exactly one answer, such as people:crowd.
Fields
- typerequired
"single" - questionoptional
string Asked of every image. Defaults to one built from the category name; write your own when the name alone is ambiguous.
- valuesrequired
CategoryValues At least two.
- minConfidenceoptional
number Below this, no value is chosen. Default 0: the likeliest value always wins.
- allowUnlistedoptional
boolean 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. Defaultfalse.
Used by
image-tagger is a Ben Hodgson projectGitHub