SingleTag
The answer for a SingleCategory.
Fields
- typerequired
"single" - valuerequired
string | undefined The chosen value, or
undefinedwhen none reachedminConfidenceor none fits.- confidencerequired
number Probability of the likeliest listed value.
- probabilitiesrequired
Readonly<Record<string, number>> Each listed value's probability. They sum to 1.
- unlistedoptional
number Probability that none of the values fits. Only with
allowUnlisted.
Used by
image-tagger is a Ben Hodgson projectGitHub