Prodigy makes very few assumptions about the underlying fields in your JSON data that you pass around – so when it's saved to the database, the data is stored as a JSON blob. This lets you represent any custom data.
If you want to store your data differently, you can always implement a custom Database
class that implements the same method's as Prodigy's Database
wrapper – for instance, a get_dataset
method that takes a dataset name and returns the annotations in the dataset, an add_examples
method that adds examples to one or more datasets, and so on. Within those methods, you can then handle the saving and loading however you want. See here for details: https://prodi.gy/docs/api-database#custom
Thank you so much for the info!!