Select (Dropdown)
Configure a dropdown select field in Potato for single-choice annotation over long option lists, with optional required answers and shuffled option order.
The select type provides a dropdown menu for single selection. Best for longer lists of options (5+) where radio buttons would be visually overwhelming.
Select dropdown in Potato
Basic Configuration
annotation_schemes:
- name: "category"
description: "Select the document category"
annotation_type: "select"
labels:
- "news"
- "opinion"
- "tutorial"
- "review"
- "other"Configuration Options
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique identifier for the annotation |
description | string | Yes | Instructions shown to annotators |
annotation_type | string | Yes | Must be "select" |
labels | array or string | Yes, unless use_predefined_labels is set | List of options to choose from, or the path of a text file with one option per line |
use_predefined_labels | string | No | A built-in list: "country", "ethnicity" or "religion" |
required | boolean | No | Whether selection is required |
randomize_order | boolean | No | Shuffle the options for each annotator and item. A built-in list keeps its own order |
Every dropdown opens on a blank -- select one -- entry. Potato reads no default key for a select scheme.
Examples
Document Classification
- name: "document_type"
description: "What type of document is this?"
annotation_type: "select"
labels:
- "Research Paper"
- "News Article"
- "Blog Post"
- "Technical Documentation"
- "Legal Document"
- "Marketing Material"
- "Personal Communication"
- "Other"Language Selection
- name: "language"
description: "What language is this text written in?"
annotation_type: "select"
labels:
- "English"
- "Spanish"
- "French"
- "German"
- "Chinese"
- "Japanese"
- "Other"
required: trueRandomized Option Order
- name: "genre"
description: "Select the genre of this text"
annotation_type: "select"
labels:
- "Fiction"
- "Non-fiction"
- "Poetry"
- "Drama"
randomize_order: trueOptions From a Text File
A long list can live in a file, one option per line:
- name: "language"
description: "Which language is this text in?"
annotation_type: "select"
labels: "options/languages.txt"The path is relative to task_dir, then to the config file's directory, and has to stay inside task_dir. Blank lines are skipped. Potato refuses an empty file and a file that lists an option twice. The file is read when the server starts, so an edit to it takes a restart. Survey phase files accept the same form.
Built-in Lists
- name: "country"
description: "Which country do you live in?"
annotation_type: "select"
use_predefined_labels: "country"A scheme with use_predefined_labels needs no labels. With labels set as well, the page shows the built-in list and the server log warns that labels is ignored. A name other than country, ethnicity or religion stops the server at startup.
Output Format
A select answer is stored under the label name select-one, with the chosen
option as its value:
{
"instance_id": "item_1",
"user_id": "annotator1",
"labels": {
"category": {
"select-one": "tutorial"
}
},
"spans": {},
"links": {}
}When to Use Select vs Radio
| Use Select | Use Radio |
|---|---|
| 5+ options | 2-5 options |
| Options are well-known to annotators | Need to see all options at once |
| Space is limited | Keyboard shortcuts are important |
| Long option labels | Quick visual scanning needed |
Best Practices
- Order options logically - Alphabetically, by frequency, or by semantic grouping
- Include "Other" option - When the list might not be exhaustive
- Use clear, distinct labels - Avoid ambiguous or overlapping categories
- Set
required: truewhen every item needs an answer - Every dropdown opens on a blank entry, and an annotator can leave the entry blank unless the scheme is required