Skip to content

RunScore

← All HTTP schemas

A human (or judge) score for a run or for a single message within a run.

Shape: object

Property Required Type Description Rules
id no string (uuid) The score’s identifier.
tenantId yes string The tenant.
runId yes string (uuid) The identifier of the run being scored.
messageId no string The identifier of the message being scored. If empty, the score belongs to the whole run.
kind yes RunScoreKind The shape of Value.
value yes integer (int32) The score value. 0/1 for RunScoreKind.Binary, 1.5 for RunScoreKind.Stars. pattern `^-?(?:0\
comment no string A free-text comment.
source yes string The score’s source: human, api, or judge. Today only human is used; the column is set up from the start so online evaluation can write a judge score into the same table as-is.
author no string The actor who gave the score. null in an identity-less setup.
createdAt no string (date-time) The creation/last-updated time.