すべてのプロダクト
Search
ドキュメントセンター

Platform For AI:カスタムテンプレートのデータ形式

最終更新日:Apr 10, 2026

iTAG におけるカスタムラベリングテンプレートの入力および出力データ形式です。

  • ユースケース

    デフォルトのラベリングテンプレートが要件を満たさない場合は、カスタムテンプレートを使用します。

  • データ構造

    • 入力データ

      .manifest ファイルの各行は、単一のデータオブジェクトを表します。フィールド名に制限はありません。ラベリングタスクの要件に応じてフィールドを選択します。

      {"data":{"picture_url":"oss://tongxin-lly.oss-cn-hangzhou.aliyuncs.com/iTAG/pic/13.jpg","text":"Alibaba Group celebrates its 10th anniversary and establishes Alibaba Cloud Computing"}}
      ...
    • 出力データ

      .manifest ファイルの各行は、データオブジェクトとそのラベリング結果を組み合わせたものです。次の例は、1 行の JSON 構造を示しています:

      {
          "data": {
              "picture_url": "oss://itag.oss-cn-hangzhou.aliyuncs.com/tongxin_pic/13.jpg", 
              "text": "Alibaba Group celebrates its 10th anniversary and establishes Alibaba Cloud Computing"
          }, 
          "label-1435504604476547072": {
              "results": [
                  {
                      "questionId": "1", 
                      "data": [
                          {
                              "id": "e0755602-b90f-4d15-a11d-8951e001****", 
                              "type": "image/polygon", 
                              "value": [
                                  [
                                      281.0181818181821, 
                                      451.49090909090916
                                  ], 
                                  [
                                      281.0181818181821, 
                                      1116.7636363636366
                                  ], 
                                  [
                                      829.927272727273, 
                                      1116.7636363636366
                                  ], 
                                  [
                                      829.927272727273, 
                                      451.49090909090916
                                  ]
                              ], 
                              "labels": {
                                  "boundingbox": "Label 2"
                              }
                          }
                      ], 
                      "rotation": 0, 
                      "markTitle": "Selection box-IMG-3", 
                      "width": 960, 
                      "type": "image", 
                      "height": 960
                  }, 
                  {
                      "objects": [
                          {
                              "result": {
                                  "NER": [
                                      "Label 7"
                                  ]
                              }, 
                              "color": null, 
                              "id": null, 
                              "text": "Group celebration", 
                              "start": 4, 
                              "end": 7
                          }
                      ], 
                      "empty": false
                  }, 
                  {
                      "questionId": "3", 
                      "data": "This is the answer to the fill-in-the-blank question.", 
                      "markTitle": "Text content", 
                      "type": "survey/value"
                  }, 
                  {
                      "questionId": "4", 
                      "data": "Label 222", 
                      "markTitle": "Single-choice", 
                      "type": "survey/value"
                  }
              ]
          }
      }