Skip to content

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


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

Interface: GetTestCaseCommandOutput

The output of GetTestCaseCommand.

Extends

Properties

annotations?

optional annotations?: Annotation[]

Annotations associated with the dataset

Inherited from

TestCase.annotations


context?

optional context?: 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

TestCase.context


createdAt?

optional createdAt?: Date

Timestamp indicating when the test-case was created.

Inherited from

TestCase.createdAt


createdBy?

optional createdBy?: string

The creator of the test case—either a username (for human creators) or an application identifier (for synthetic data generators)

Inherited from

TestCase.createdBy


expected?

optional expected?: 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

TestCase.expected


input?

optional input?: DocumentType

The input to the Gen AI Application. Can be any structured data including prompts, context, and parameters.

Inherited from

TestCase.input


metadata?

optional metadata?: 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

TestCase.metadata


testCaseId

testCaseId: string

Test case ID, also used as file name in S3

Inherited from

TestCase.testCaseId