After you’re done with the model setup, you can instantly delete your raw data using
>>> # Delete the raw data inputed as it won't be needed anymore >>> j.delete_raw_data(name='your_collection_name')
If you no longer need the model or anything else related to your database, you can use
j.delete_database to remove your collection from your JAI environment.
On the other hand, if you just need to remove some ids from your collection, you can use
j.delete_ids to perform this action.
>>> j.delete_ids(name='your_collection_name', ids=[1, 2, 3, 4, 5])
See the package reference for more information.