mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-07 11:17:38 +08:00
website: Support new widget types for labelling (#966)
* website: Support new widget types for labelling Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels. Also cleaned up the Task component to fix some rerender issues. * website: Fix some UI text, adjust yes/no button alignment * website: Remove left over console.log Co-authored-by: notmd <33456881+notmd@users.noreply.github.com> --------- Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
This commit is contained in:
@@ -16,5 +16,7 @@
|
||||
"sign_in": "Sign In",
|
||||
"sign_out": "Sign Out",
|
||||
"terms_of_service": "Terms of Service",
|
||||
"title": "Open Assistant"
|
||||
"title": "Open Assistant",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"label_highlighted_yes_no_instruction": "Answer the following question(s) about the highlighted message:",
|
||||
"label_highlighted_flag_instruction": "Select any that apply to the highlighted message:",
|
||||
"label_highlighted_likert_instruction": "Rate the highlighted message:",
|
||||
"label_message_yes_no_instruction": "Answer the following question(s) about the message:",
|
||||
"label_message_flag_instruction": "Select any that apply to the message:",
|
||||
"label_message_likert_instruction": "Rate the message:",
|
||||
"spam.question": "Is the message spam?",
|
||||
"fails_task.question": "Does the reply fail the propmpters task?",
|
||||
"not_appropriate": "Not Appropriate",
|
||||
"pii": "Contains PII",
|
||||
"hate_speech": "Hate Speech",
|
||||
"sexual_content": "Sexual Content",
|
||||
"moral_judgement": "Judges Morality",
|
||||
"political_content": "Politcal"
|
||||
}
|
||||
Reference in New Issue
Block a user