スライダー
ドラッグ可能なスライダーによる連続的な数値入力。
スライダーアノテーション
スライダータイプは、範囲内の数値を選択するためのドラッグ可能なスライダーを提供します。信頼度評価、強度スコア、その他の連続的な数値入力に最適です。
基本設定
yaml
annotation_schemes:
- name: "confidence"
description: "How confident are you in this answer?"
annotation_type: "slider"
min: 0
max: 100
step: 1
default: 50設定オプション
| フィールド | タイプ | 必須 | 説明 |
|---|---|---|---|
name | string | はい | アノテーションの一意識別子 |
description | string | はい | アノテーターに表示される指示 |
annotation_type | string | はい | "slider"でなければならない |
min | number | はい | スライダーの最小値 |
max | number | はい | スライダーの最大値 |
step | number | いいえ | 増分値(デフォルト:1) |
default | number | いいえ | スライダーの初期位置 |
min_label | string | いいえ | 最小端のラベル |
max_label | string | いいえ | 最大端のラベル |
show_value | boolean | いいえ | 現在の値を表示(デフォルト: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
}
}スライダーと数値入力の使い分け
- スライダーを使用 - 連続的なスケールで素早く直感的に選択させたい場合
- 数値入力を使用 - 正確な値が必要な場合や範囲が非常に大きい場合
ベストプラクティス
- 適切なデフォルトを設定 - 意味のある位置にデフォルトを配置(多くの場合は中間点)
- 端点ラベルを使用 - アノテーターがスケールの意味を理解する助けになる
- 適切なステップサイズを選択 - 細かい区別には小さいステップ、粗い評価には大きいステップ
- 直感的な範囲を保つ - 0-100や1-10はほとんどのアノテーターにとって馴染みがある