I keep running into the same error as other users with custom html questions; such that, " Oops, something went wrong :(You might have come across a bug in Prodigy's web app – sorry about that. We'd love to fix this, so feel free to open an issue on the Prodigy Support Forum and include the steps that led to this message." In the most simple case I am trying to use the Mustache template within the config aspect of the return as the following:
return {
'dataset': dataset, # save annotations to this set
'stream': stream, # load the stream of examples
'view_id': 'html', # use the HTML interface
'config': {
"html_template": "<strong>{{text}}</strong>"
}
I simply have the news_headlines.jsonl streaming in and want to see each row of text bolded. In the most complex case, I am using your tool for a tabular comparison task and would like a user to input the fields they want to see in the annotation task. I need the html table to be dynamic in the rows it shows based on user input. I have tried to achieve this several ways all ending in the same error. I am able to get the html view to be correct if setting it in the prodigy.json file, but that does not allow for it to be dynamic.