Gen AI Evaluation Toolkit on AWS
v2.0.0
Copyright © 2026 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon’s trademarks and trade dress may not be used in connection with any product or service that is not Amazon’s, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of contents
@awssolutions/gen-ai-evaluation-toolkit-ts-client
@awssolutions/gen-ai-evaluation-toolkit-ts-client / ScoreOutput
Interface: ScoreOutput¶
Output from a single scorer
Properties¶
context?¶
optionalcontext?:DocumentType
Optional free-form structured detail produced by the scorer (e.g. per-requirement breakdown). Not set by all scorers.
error?¶
optionalerror?:string
Error message if scoring failed
reason?¶
optionalreason?:string
Human-readable explanation
scoredAt?¶
optionalscoredAt?:Date
Timestamp when score was recorded
value?¶
optionalvalue?:number
Score value (typically 0-1)