Skip to content

@awssolutions/gen-ai-evaluation-toolkit-ts-client


@awssolutions/gen-ai-evaluation-toolkit-ts-client / ScoreInput

Interface: ScoreInput

Score input for batch update

Properties

context?

optional context?: DocumentType

Optional free-form structured detail produced by the scorer (e.g. per-requirement breakdown). Not set by all scorers.


error?

optional error?: string

Error message if scoring failed


reason?

optional reason?: string

Human-readable explanation


value?

optional value?: number

Score value (typically 0-1)