We are using prodigy to annotate some text for named-entity recognition. It is working great up till now except that the annotations are not saved to the dataset. We are using the latest version (1.7) and have instant-submit enabled. Everything looks fine till the page is refreshed when all progress is lost.
No errors are printed.
Can you share some more details on the command you’re running, how you’ve set up your database etc.? And what do you see if you run the command with
PRODIGY_LOGGING=basic? On each submission, you should see a log statement that 1 example was added to the database.
Sorry for the late response.
We get this error
File “cython_src/prodigy/core.pyx”, line 136, in prodigy.core.Controller.receive_answers
File “cython_src/prodigy/models/textcat.pyx”, line 174, in prodigy.models.textcat.TextClassifier.update
This is pretty strange! It means that the data sent back from the app doesn’t have an added answer. Could you share more details on your workflow and the recipe you’re running? Are you using a custom recipe?
Ok, I think I tracked this down to a problem with how the current task is updated with instant submit enabled, which could cause it to be sent back without an answer if it isn’t updated in time. Sorry about that– just building v1.7.1 with a fix that makes sure this never happens. The release should be up later today