Skip to content

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


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

Interface: ScoreOutput

Output from a single scorer

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


scoredAt?

optional scoredAt?: Date

Timestamp when score was recorded


value?

optional value?: number

Score value (typically 0-1)