import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const genericDeleteResponse = await client.evaluationDatasets.remove('evaluation_dataset_id');
console.log(genericDeleteResponse.count);
{
"success": true,
"count": 123
}
Deletes the dataset, and all other entities associated with the dataset, such as test cases, evaluations and results.
This is a permanent and destructive action that cannot be undone.
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const genericDeleteResponse = await client.evaluationDatasets.remove('evaluation_dataset_id');
console.log(genericDeleteResponse.count);
{
"success": true,
"count": 123
}
Successful Response
The response is of type object
.