Returns
Returns a TestCase object for the given parameters.Example
Parameters
The ID of the test you want to create the test case for.
The input for the test case. This is the question or prompt you want to send to your model for a later evaluation.
The expected output for the input given. This is the correct answer or response you want to evaluate against.
The context for the test case. This is the additional information that can help the model generate the expected output.
An optional variant to categorize or label the test case (e.g., “original”, “paraphrased”).
The ID of the user who has reviewed and validated this test case.
Language for the test case.
Follow this list to know the supported ones:
User vote for the test case (1 for good quality, -1 for bad quality, 0 for unreviewed).
Reason for the user vote given.
Confidence for the test case.
Reason for the confidence given.