In addition to manually uploading datasets or auto generating form your knowledge, you can also autogenerate datasets centered around specific harms, and tweak the techniques used to create test cases.
To create a new safety dataset from the platform, navigate to Evaluation Datasets. From there, select Create Dataset and choose the Using Knowledge Base option.
After you’ve configured the dataset generation, you may have to wait a while for the datasets to be generated. This depends on how many test cases you selected to be generated.
After the dataset is generated, you can select which datasets to approve or approve in bulk. You can also directly edit the content of the dataset through the UI.
Once you approve a test case, you can no longer edit or undo the approval.
If you want to generate more test cases as part of this dataset, you can select the Generate More button to generate additional test cases for this dataset.
After the safety dataset is created, you can click into the dataset and see the test case id, input, and expected output. The expected context should be empty in this case.