Interface CreateTestFromDatasetParams<DatasetItemSchema>

interface CreateTestFromDatasetParams<DatasetItemSchema> {
    fetchDataset: (() => Promise<DatasetItemSchema[]>);
    testCase: ((item) => EvalTestCase<AgentRequestContent<Record<string, any>>>);
}

Type Parameters

  • DatasetItemSchema

Properties

fetchDataset: (() => Promise<DatasetItemSchema[]>)

Type declaration

testCase: ((item) => EvalTestCase<AgentRequestContent<Record<string, any>>>)

Type declaration