Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Annotations / labels should come from the backend

Open AbdBarho opened this issue 2 years ago • 3 comments

For tasks where the user has to assign labels to a given text, the backend should provide these labels, instead of hard-coding them in the frontend.

This is similar to the Report functionality.

Question: Should the labels be part of the task delivered from the backend, or a separate endpoint?

AbdBarho avatar Jan 06 '23 09:01 AbdBarho

As part of #381 (merged today) the valid labels are sent as part of the task definition when starting a prompt/reply label task

olliestanley avatar Jan 07 '23 00:01 olliestanley

@olliestanley thank for the info! these are 3 new tasks that needs to be added to the website, correct? label_initial_prompt label_prompter_reply label_assistant_reply

AbdBarho avatar Jan 07 '23 08:01 AbdBarho

@olliestanley thank for the info! these are 3 new tasks that needs to be added to the website, correct? label_initial_prompt label_prompter_reply label_prompter_reply

Yep! (but one is label_assistant_reply)

olliestanley avatar Jan 07 '23 11:01 olliestanley