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 / CreateTestCaseCommandOutput
Interface: CreateTestCaseCommandOutput¶
The output of CreateTestCaseCommand.
Extends¶
TestCase.MetadataBearer
Properties¶
annotations?¶
optionalannotations?:Annotation[]
Annotations associated with the dataset
Inherited from¶
context?¶
optionalcontext?:DocumentType
Additional context for the test case. Can contain metadata such as flags indicating human review needed, artifacts providing evidence for agent-as-judge evaluation, or any other structured data needed for evaluation.
Inherited from¶
createdAt?¶
optionalcreatedAt?:Date
Timestamp indicating when the test-case was created.
Inherited from¶
createdBy?¶
optionalcreatedBy?:string
The creator of the test case—either a username (for human creators) or an application identifier (for synthetic data generators)
Inherited from¶
expected?¶
optionalexpected?:DocumentType
Expected output of the Gen AI Application for the given input. Can be any structured data including simple text responses, expected tool calls, expected topics, or any combination of expected behaviors.
Inherited from¶
input?¶
optionalinput?:DocumentType
The input to the Gen AI Application. Can be any structured data including prompts, context, and parameters.
Inherited from¶
metadata?¶
optionalmetadata?:DocumentType
Optional free-form metadata set by the caller. Carried through verbatim to results and ignored by the pipeline — use it to tag test cases (source, split, tenant, run label, etc.) for grouping and debugging.
Inherited from¶
testCaseId¶
testCaseId:
string
Test case ID, also used as file name in S3