Can I write a custom recipe with view_id review?

Is it possible to write a custom function with view_id = 'review' ?
Is there a list of available view_id I can use for vustom recipes? Thanks.

I received the following error

image

Yes, you can use any of the built-in interfaces in your recipes – that's also how Prodigy's recipes work under the hood. Just make sure you provide the JSON format in the format expected by the interface: https://prodi.gy/docs/api-interfaces#review

The error you're seeing here is referring to the data you're streaming it. It's complaining that the task JSON doesn't contain a key view_id (defining the original interface to use for the content, e.g. ner_manual, choice or whatever else the data you want to review was annotated with). It also expects a list of "versions", the different conflicting tasks you want to render together and review.