Annotation Output Options

I indicated an output file when setting up my project in Prodigy, but the output file is an empty. Is it possible to output to a .csv or .tsv file? Is the output only available when all of the data in the project has been annotated?

Hi! When you annotate with Prodigy, the collected annotations are saved to a dataset (by default in a local SQLite database). You don't have to specify an explicit output file, but whenever you're ready to export your data, you can run db-out to save it to a file. The data is available as soon as one example is added to the dataset.

Prodigy uses JSONL (newline-delimited JSON) as its standard format because its more flexible and supports different value types (string, list, integers, booleans, nested data structures). You can see examples of the format here:

You can always convert it to CSV (e.g. using a tool like pandas) if your data has a flat structure. If your annotations are more complex, you'd have to come up with a solution for how to present them in a flat table.

1 Like