Sorry about that – we added new and more detailed validation, and it seems to have caused a few problems because it ended up being a bit too strict in places.
If I run your code with the "validate": False in the config, it does work for me, though, and the validation is skipped.
Setting "validate": False should work around the problem – so I'm not sure why this isn't disabling the validation for you. Do you maybe have a prodigy.json in your current working directory or your Prodigy home directory that sets "validate": True?
Alternatively, you could also trick it into accepting your block by setting {"view_id": "ner_manual", "_input_hash": 0, "_task_hash": 0} or something like that.
Thanks!Actually, after setting "validate":false in prodigy.json file, it finally worked! I don't understand why "validate": False in the recipe confic section didn't work.
Glad it worked! We'll also release the new version soon which will fix the underlying validation problem.
The global and local prodigy.json will overwrite the recipe config. I agree that it's a bit unintuitive and maybe we should change this behaviour – but the underlying idea was to allow a reusable recipe to define defaults, and then let the user overwrite those settings in their personal config.
Perhaps you can give prodigy.json the priority for official recipes, but for personal config recipes, the settings in that specific file should have priority.
Okay, v1.93, which resolves the too strict validation here should be live now
Yes, that'd make sense! At the moment, Prodigy doesn't really distinguish between built-in recipes and user recipes, though, and it might be tricky to handle cases like recipes supplied via entry points (e.g. via a third-party user package).