alexlag created page: docker authored by Aleksey Laguta's avatar Aleksey Laguta
...@@ -38,18 +38,25 @@ Configuration file with comments(not copy-ready, json files don't support commen ...@@ -38,18 +38,25 @@ Configuration file with comments(not copy-ready, json files don't support commen
# main AnnotameLE config # main AnnotameLE config
"annotamele": { "annotamele": {
# Array of types for questions # Array of types for questions
"types": [ "types": [
{ {
# Either singlelabel or multilabel currently # Either SingleLabel or MultiLabel currently
"name": "singlelabel", "name": "SingleLabel",
# Parameters for type # Parameters for type
"params": [ "params": {
# Question to be asked # Question to be asked
"Classification question?", "text": "Select one answer below:",
# Array of answer options as strings # Array of answer options as strings
["Answer 1", "Answer 2"] "options": ["Answer 1", "Answer 2", "Answer 3"]
] }
} },
{
"name": "MultiLabel",
"params": {
"text": "Select several answers below:",
"options": ["First Answer", "Second Answer", "Third Answer"]
}
}
], ],
# Absolute path to dataset file # Absolute path to dataset file
"dataset":"/path/to/dataset.json" "dataset":"/path/to/dataset.json"
... ...
......