I want to use my own source file for the ner.teach recipe
the command i entered is as follows
prodigy ner.teach [dataset] [spacy_model] [source] [--loader] [--label] [--patterns]
However im getting the following error:
ValueError: Encountered invalid task (type <class 'str'>). Expected: dict.
The source file is a json file and is in the following format:
What should be the format of my source file in order to fix this error?