Skip to content

Slider

Configure a continuous numeric slider in Potato with custom min, max, step size, default value, and optional label display for granular rating and scoring tasks.

The slider type provides a draggable slider for selecting numeric values within a range. Ideal for confidence ratings, intensity scores, or any continuous numerical input.

Slider annotation interfaceDraggable slider for continuous numeric annotation in Potato

Basic Configuration

yaml
annotation_schemes:
  - name: "confidence"

Configuration Options

FieldTypeRequiredDescription
namestringYesUnique identifier for the annotation
descriptionstringYesInstructions shown to annotators
annotation_typestringYesMust be "slider"
minnumberYesMinimum slider value
maxnumberYesMaximum slider value
stepnumberNoIncrement value (default: 1)
defaultnumberNoInitial slider position
min_labelstringNoLabel for minimum end
max_labelstringNoLabel for maximum end
show_valuebooleanNoDisplay current value (default: true)

Examples

Confidence Rating

yaml
- name: "confidence"

Intensity Scale

yaml
- name: "intensity"

Percentage Input

yaml
- name: "agreement"

Output Format

The slider annotation outputs a single numeric value:

json
{
  "id": "item_1",
  "annotations": {
    "confidence": 75
  }
}

When to Use Slider vs Number Input

  • Use Slider when you want annotators to make quick, intuitive selections on a continuous scale
  • Use Number Input when you need precise values or when the range is very large

Best Practices

  1. Set sensible defaults - Place the default at a meaningful position (often the midpoint)
  2. Use endpoint labels - Help annotators understand what the scale represents
  3. Choose appropriate step sizes - Smaller steps for fine-grained distinctions, larger for coarse ratings
  4. Keep ranges intuitive - 0-100 or 1-10 are familiar to most annotators