Skip to content

Search

DecisionRecord

TypeEvaluation Source

What one tag() call asked and what came back, as plain JSON. Save it, add expected, and score the tagger with tagger.evaluate().

Fields

formatrequired1

The record's format. Records in other formats are skipped.

idoptionalstring

The request's id.

createdAtrequiredstring

ISO 8601.

imagerequired{ sha256: string; mimeType: ImageMimeType; bytes: number }

Identifies the image without storing it.

contextrequiredstring

As sent, including the default when none was given.

questionsrequiredreadonly Question[]

As sent, including default wording and any none-of-these option.

answersrequiredDecisionResponse["answers"]

Raw probabilities by question ID, then option key.

modeloptionalstring

The backend's model name.

modelVersionoptionalstring

The exact model that answered, when the backend reports it.

expectedoptionalReadonly<Record<string, ExpectedValue>>

The right answers by category, added by you.

image-tagger is a Ben Hodgson projectGitHub