How to export my annotations?

prodigy mark test_anno /Users/yuxuanyang/Documents/newbefore2017.jsonl --label hr_b == 1,hr_b == 0,shaming,framing,praising --view-id classification
I used the above code to export my annotations but nothing showed up on terminal. May I ask whether there is anything wrong with the code? Thank you!!

I did a trial annotation of 10, and I want to export them into a file. I tried different codes on my terminal but none of them worked:
e.g.
prodigy mark test_anno /Users/yuxuanyang/Documents/newbefore2017.jsonl --label hr_b == 1,hr_b == 0,shaming,framing,praising --view-id classification

prodigy db-out test_anno > output.jsonl

May I ask what the correct code should be like? Thank you!!

Hi @Lisa_yang,

I've merged your two posts into a single topic since they both ask about the same thing.
mark is a Prodigy recipe for annotating examples. It will spin up the Prodigy server so that you can add annotations. To export a dataset into JSONL format you can use the db-out command, while to export to spaCy DocBin format you can use data-to-spacy.
The way you use the db-out looks correct. Did you see any errors in the terminal while running it? Also, what's the content of the output.jsonl file?