Hmm, this is strange – your example looks correct. I just tested it with a dummy recipe and it works fine for me. It displays the label, text and the three options. My recipe looks like this:
If you use the above recipe and run it, does it cause the same problem for you?
And you’re right, a choice example is currently missing from the docs! I might use that for the “Custom recipes” workflow I’m currently working on for the website.
Maybe this could be an additional option in the settings, like "choice_auto_accept": true? The reason I didn't implement it this way by default was that "auto accept" could only apply to the single choice interface and not the multiple choice – so the behaviour on the UI would be inconsistent.
It can also be nice and more intuitive to have a clearer separation between the accept/reject/ignore action and the actual choice of the options. For example, in theory, you could also use the interface to create a set of "wrong" training examples, by selecting an option and clicking "reject". But I definitely see your point – if you only care about accepting choices and you're annotating a lot of these, the two clicks or key presses can easily become annoying.
Thanks, it would nice to have that option as most of my classifiers are multi-class. But if I understand correctly, all of the spaCy models are trained on binary labels so I can see the incompatibilities.
I’d second @plusepsilon’s view that it would be nice to have some sort of auto-accept behavior and I like your implementation suggestion, @ines. I’ve done about an hour of choice annotating and it does break up the flow a bit to hit the number and then accept.
@andy@plusepsilon Thanks for your feedback! I’ve put this on my list for the next release
This will be easy to implement and I’ll add it as an option in the settings. (Breaking UI consistency is fine, as long as it’s a conscious decision the user makes.)
@andy@plusepsilonUpdate: A choice_auto_accept setting is now available in the latest update of Prodigy. If set to true, the task will be accepted automatically when an answer is selected in single-choice mode.
Hi, congratulations on the launch!
Is there a way to remove the accept/reject buttons when choice_auto_accept=True? Or maybe there is some use for them that I can’t see?
I think this might be a bit weird... I do see your point, but depending on the task and annotation strategy, a user may want to accept or reject a task with no selection. We'd also still have to keep the ignore and undo buttons. So just in terms of consistency, I'm not sure hiding the action buttons would make sense.