Interface EvalTestCase<Input>

interface EvalTestCase<Input> {
    input: Input;
    metrics: EvalMetric[];
    tags: EvalTestCaseTag;
}

Type Parameters

Properties

Properties

input: Input

Input to your application.

metrics: EvalMetric[]

Metrics to evaluate the test case.

Tags to categorize the test case. e.g. { 'category': 'cat1', 'sub-category': 'sub-cat1' } Useful for categorizing test cases and better analysis.