Skip to content

スライダー

ドラッグ可能なスライダーによる連続的な数値入力。

スライダーアノテーション

スライダータイプは、範囲内の数値を選択するためのドラッグ可能なスライダーを提供します。信頼度評価、強度スコア、その他の連続的な数値入力に最適です。

基本設定

yaml
annotation_schemes:
  - name: "confidence"
    description: "How confident are you in this answer?"
    annotation_type: "slider"
    min: 0
    max: 100
    step: 1
    default: 50

設定オプション

フィールドタイプ必須説明
namestringはいアノテーションの一意識別子
descriptionstringはいアノテーターに表示される指示
annotation_typestringはい"slider"でなければならない
minnumberはいスライダーの最小値
maxnumberはいスライダーの最大値
stepnumberいいえ増分値(デフォルト:1)
defaultnumberいいえスライダーの初期位置
min_labelstringいいえ最小端のラベル
max_labelstringいいえ最大端のラベル
show_valuebooleanいいえ現在の値を表示(デフォルト:true)

信頼度評価

yaml
- name: "confidence"
  description: "How confident are you in your annotation?"
  annotation_type: "slider"
  min: 0
  max: 100
  step: 5
  default: 50
  min_label: "Not confident at all"
  max_label: "Completely confident"
  show_value: true

強度スケール

yaml
- name: "intensity"
  description: "Rate the emotional intensity of this text"
  annotation_type: "slider"
  min: 1
  max: 10
  step: 1
  default: 5
  min_label: "Very mild"
  max_label: "Very intense"

パーセンテージ入力

yaml
- name: "agreement"
  description: "What percentage of people would agree with this statement?"
  annotation_type: "slider"
  min: 0
  max: 100
  step: 1
  default: 50
  show_value: true

出力形式

スライダーアノテーションは単一の数値を出力します:

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

スライダーと数値入力の使い分け

  • スライダーを使用 - 連続的なスケールで素早く直感的に選択させたい場合
  • 数値入力を使用 - 正確な値が必要な場合や範囲が非常に大きい場合

ベストプラクティス

  1. 適切なデフォルトを設定 - 意味のある位置にデフォルトを配置(多くの場合は中間点)
  2. 端点ラベルを使用 - アノテーターがスケールの意味を理解する助けになる
  3. 適切なステップサイズを選択 - 細かい区別には小さいステップ、粗い評価には大きいステップ
  4. 直感的な範囲を保つ - 0-100や1-10はほとんどのアノテーターにとって馴染みがある