Pre-defined choice in Choice interface

What I mean is when using the choice interface, I would like to display some choices already “clicked”.

The use case would be similar to ner.make-gold but for classification, a trained model predicts labels (choice) and the user just have to correct the predicted labels.

For instance for a task with 3 choice (A,B,C) if my model predict label A, I’d like to send something like this:

options: [
    {"id": 1, "text": "A", "predicted": True}
    {"id": 1, "text": "B", "predicted": False}
    {"id": 1, "text": "C", "predicted": False}
]

Then if the the model is right the user can just click accept, and if it is wrong, he can unclick choice A and click the B and or C…

1 Like