Dataster Documentation

Dataster helps you build Generative AI applications with better accuracy and lower latency.

Bulk Delete Prompts

Prompts are central to Dataster, allowing users to test their applications against specific use cases rather than relying on benchmarks with generic data. There is no cost associated with keeping prompts in the catalog. However, users may want to delete their prompts once they have finished running their evaluations. Although it is possible to manually delete prompts one by one, this can become tedious for large use cases with tens, hundreds, or thousands of prompts. In this guide, we will walk you through the process of deleting prompts from your catalog in bulk.

Prerequisites

  1. A Dataster account.
  2. Prompts in the catalog.
  3. A json lines (JSONL) file with the names of the prompts to delete.

Step 1: Navigate to the Catalog

  1. Navigate to the prompt catalog. The prompt catalog is also the landing page after signing in.


Prompt catalog

Step 2: Delete Prompts

  1. Click Bulk Delete.
  2. Use the file picker to select a JSON Line (JSONL) file from your local computer.
  3. Ensure the JSONL file contains the required key: "name". Any other keys will be ignored. If the prompts to be deleted were initially bulk added with a JSONL file, the same file can be used.
  4. Click Delete.

Example JSONL file content:
{"name":"Trades"}
{"name":"Record"}

Step 3: Check the Deletion Status

  1. In case of an error, the upload process moves on to the next line in the file.
  2. At the end of the deletion process, the number of successes and failures are displayed.


Delete User Prompts

Step 4: View the Updated Catalog

  1. Return to the Prompt Catalog.
  2. The prompts no longer appear.
  3. Prompts that were not included in the JSONL file are still present.


New Prompts

Conclusion

You have successfully bulk deleted prompts in Dataster. This allows users to keep a lean catalog once they are done with their testing.


If you encounter any issues or need further assistance, please contact our support team at support@dataster.com.