forked from laiweijian4/doc-exports
Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
1133 lines
85 KiB
HTML
1133 lines
85 KiB
HTML
<a name="CreateDataset"></a><a name="CreateDataset"></a>
|
|
|
|
<h1 class="topictitle1">Creating a Dataset</h1>
|
|
<div id="body794016311223"><div class="section" id="CreateDataset__section394153118214"><h4 class="sectiontitle">Function</h4><p id="CreateDataset__p149411931222">This API is used to create a dataset.</p>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section149428311026"><h4 class="sectiontitle">URI</h4><p id="CreateDataset__p1494217311221">POST /v2/{project_id}/datasets</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__table15943631422" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="CreateDataset__row19942631121"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="CreateDataset__p29436311229">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="CreateDataset__p159449318216">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="CreateDataset__p8944103118210">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="CreateDataset__p1294413116216">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row09431311126"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="CreateDataset__p1794463117212">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="CreateDataset__p13945231621">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="CreateDataset__p894518312026">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="CreateDataset__p29467316215">Project ID. For details about how to obtain the project ID, see <a href="modelarts_03_0147.html">Obtaining a Project ID</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section179461831923"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_CreateDatasetReq" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="CreateDataset__row09475315211"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="CreateDataset__p13949133114217">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="CreateDataset__p1595011312219">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="CreateDataset__p1395015310215">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="CreateDataset__p79531031822">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row19476311421"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p5953131626">data_format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p895483119213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p1695423113211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p179551931421">Data format. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul095519313216"><li id="CreateDataset__li139556311524"><strong id="CreateDataset__b19557318215">Default</strong>: default format</li><li id="CreateDataset__li149553319216"><strong id="CreateDataset__b7955531829">CarbonData</strong>: CarbonData (supported only by table datasets)</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row2948153115219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p4956103115214">data_sources</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p119569311227">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p1995713311028">Array of <a href="#CreateDataset__request_DataSource">DataSource</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p149584312217">Input dataset path, which is used to synchronize source data (such as images, text files, and audio files) in the directory and its subdirectories to the dataset. For a table dataset, this parameter indicates the import directory. The work directory of a table dataset cannot be an OBS path in a KMS-encrypted bucket.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row9948133113217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p895820318215">dataset_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p696014311327">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p99607310210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p1396020311521">Dataset name. The value contains 1 to 100 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed, for example, dataset-9f3b.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row19486313218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p1396116311621">dataset_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p139614311124">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p179625311229">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p796223120216">Dataset type. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul79631631129"><li id="CreateDataset__li1096316316210"><strong id="CreateDataset__b89639311325">0</strong>: image classification</li><li id="CreateDataset__li18963831221"><strong id="CreateDataset__b1964113120212">1</strong>: object detection</li><li id="CreateDataset__li1396415311214"><strong id="CreateDataset__b396493115214">100</strong>: text classification</li><li id="CreateDataset__li196420317215"><strong id="CreateDataset__b8964163119212">101</strong>: named entity recognition</li><li id="CreateDataset__li8964231221"><strong id="CreateDataset__b49651031923">102</strong>: text triplet</li><li id="CreateDataset__li1996543117213"><strong id="CreateDataset__b3965103114220">200</strong>: sound classification</li><li id="CreateDataset__li189658311725"><strong id="CreateDataset__b396516311527">201</strong>: speech content</li><li id="CreateDataset__li1896603112211"><strong id="CreateDataset__b596623113213">202</strong>: speech paragraph labeling</li><li id="CreateDataset__li59661431823"><strong id="CreateDataset__b496717313212">400</strong>: table dataset</li><li id="CreateDataset__li189671731527"><strong id="CreateDataset__b09671831428">600</strong>: video labeling</li><li id="CreateDataset__li2096715316214"><strong id="CreateDataset__b189671831222">900</strong>: custom format</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row594816311625"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p1968831526">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p189681731620">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p109685311623">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p69689311226">Dataset description. The value is empty by default. The description contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row494843115212"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p3969143119219">import_annotations</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p1096910311823">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p1796943115212">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p18970173111217">Whether to automatically import the labeling information in the input directory, supporting detection, image classification, and text classification. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul179703312026"><li id="CreateDataset__li17971183118219"><strong id="CreateDataset__b49718313214">true</strong>: Import labeling information in the input directory. (Default value)</li><li id="CreateDataset__li1397119318215"><strong id="CreateDataset__b15971153110214">false</strong>: Do not import labeling information in the input directory.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row99487316218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p1697113311522">import_data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p797214311924">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p139722318218">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p99721031025">Whether to import data. This parameter is used only for table datasets. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul179727312215"><li id="CreateDataset__li1297210312027"><strong id="CreateDataset__b997343113211">true</strong>: Import data when creating a database.</li><li id="CreateDataset__li159731331623"><strong id="CreateDataset__b197314311323">false</strong>: Do not import data when creating a database. (Default value)</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row19488317213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p159731831623">label_format</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p1797373116214">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p15974133113219"><a href="#CreateDataset__request_LabelFormat">LabelFormat</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p1397413113220">Label format information. This parameter is used only for text datasets.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row199482311526"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p69741311929">labels</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p199753319219">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p8975331428">Array of <a href="#CreateDataset__request_Label">Label</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p1997653117210">Dataset label list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row159482311217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p69761831224">managed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p7976531526">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p19771031328">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p6977163118217">Whether to host a dataset. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul12978183119213"><li id="CreateDataset__li6978103113218"><strong id="CreateDataset__b1997823118214">true</strong>: Host a dataset.</li><li id="CreateDataset__li197873120212"><strong id="CreateDataset__b189797311923">false</strong>: Do not host a dataset. (Default value)</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row49482314219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p9979113110211">schema</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p39807319213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p169801831125">Array of <a href="#CreateDataset__request_Field">Field</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p6980123119210">Schema list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row3948133110217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p159811431522">work_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p1098114314219">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p13981123120213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p20981431327">Output dataset path, which is used to store output files such as label files.</p>
|
|
<ul id="CreateDataset__ul10982143113212"><li id="CreateDataset__li14982113112210">The format is /<em id="CreateDataset__i498215313210">Bucket name</em>/<em id="CreateDataset__i139821311226">File path</em>, for example, /<strong id="CreateDataset__b79829311024">obs-bucket</strong>/<strong id="CreateDataset__b798212311025">flower</strong>/<strong id="CreateDataset__b109821311926">rose</strong>/. (The directory is used as the path.)</li><li id="CreateDataset__li149821531629">A bucket cannot be directly used as a path.</li><li id="CreateDataset__li99831931128">The output dataset path is different from the input dataset path or its subdirectory.</li><li id="CreateDataset__li49834311423">The value contains 3 to 700 characters.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row109491431925"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p89848312219">work_path_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p09841031623">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p139848311620">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p298493113213">Type of the dataset output path. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul13985831622"><li id="CreateDataset__li129853313217"><strong id="CreateDataset__b179854311524">0</strong>: OBS bucket (default value)</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row494914311421"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p1298519311724">workforce_information</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p99851231526">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p1898614311220"><a href="#CreateDataset__request_WorkforceInformation">WorkforceInformation</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p1998619311625">Team labeling information.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row2949173113220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="CreateDataset__p1498623111215">workspace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="CreateDataset__p1998743115212">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="CreateDataset__p1398716313210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="CreateDataset__p998710311823">Workspace ID. If no workspace is created, the default value is <strong id="CreateDataset__b209874311212">0</strong>. If a workspace is created and used, use the actual value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_DataSource"></a><a name="request_DataSource"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_DataSource" frame="border" border="1" rules="all"><caption><b>Table 3 </b>DataSource</caption><thead align="left"><tr id="CreateDataset__row198818315210"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="CreateDataset__p10989531527">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="CreateDataset__p1989331527">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="CreateDataset__p49901531428">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="CreateDataset__p149901531925">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row1988173113213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateDataset__p799019318210">data_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateDataset__p2991173113213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateDataset__p129911318217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateDataset__p899116311821">Data source path.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row199881031329"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateDataset__p69923314213">data_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateDataset__p16992113118215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateDataset__p10992931325">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateDataset__p16993133118215">Data type. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul599316311322"><li id="CreateDataset__li14993031121"><strong id="CreateDataset__b109931311228">0</strong>: OBS bucket (default value)</li><li id="CreateDataset__li199363113215"><strong id="CreateDataset__b1994531825">1</strong>: GaussDB(DWS)</li><li id="CreateDataset__li5994031921"><strong id="CreateDataset__b19994153115218">2</strong>: DLI</li><li id="CreateDataset__li2994231321"><strong id="CreateDataset__b0994103115213">3</strong>: RDS</li><li id="CreateDataset__li1994831927"><strong id="CreateDataset__b199514314214">4</strong>: MRS</li><li id="CreateDataset__li599511318212"><strong id="CreateDataset__b1995931122">5</strong>: AI Gallery</li><li id="CreateDataset__li159951431826"><strong id="CreateDataset__b7996143117214">6</strong>: Inference service</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row129881031328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateDataset__p4996133112213">schema_maps</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateDataset__p12997163116210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateDataset__p14997173111218">Array of <a href="#CreateDataset__request_SchemaMap">SchemaMap</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateDataset__p149994314213">Schema mapping information corresponding to the table data.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row2098843117215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateDataset__p109992311520">source_info</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateDataset__p20011321626">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateDataset__p120143211217"><a href="#CreateDataset__request_SourceInfo">SourceInfo</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateDataset__p1012329214">Information required for importing a table data source.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row179881731428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="CreateDataset__p171103220210">with_column_header</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="CreateDataset__p1011632628">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="CreateDataset__p1210321627">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="CreateDataset__p1821321228">Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul227321925"><li id="CreateDataset__li92203213211"><strong id="CreateDataset__b1236321424">true</strong>: The first row in the file is the column name.</li><li id="CreateDataset__li231632825"><strong id="CreateDataset__b535321213">false</strong>: The first row in the file is not the column name.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_SchemaMap"></a><a name="request_SchemaMap"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_SchemaMap" frame="border" border="1" rules="all"><caption><b>Table 4 </b>SchemaMap</caption><thead align="left"><tr id="CreateDataset__row837321221"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="CreateDataset__p124173216212">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="CreateDataset__p175163217220">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="CreateDataset__p357321728">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="CreateDataset__p768321821">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row93532626"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateDataset__p96143216213">dest_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateDataset__p156132326">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateDataset__p9773216217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateDataset__p8717322021">Name of the destination column.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1341323211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="CreateDataset__p1872326218">src_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="CreateDataset__p13712326220">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="CreateDataset__p78232821">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="CreateDataset__p1381321125">Name of the source column.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_SourceInfo"></a><a name="request_SourceInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_SourceInfo" frame="border" border="1" rules="all"><caption><b>Table 5 </b>SourceInfo</caption><thead align="left"><tr id="CreateDataset__row491932120"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="CreateDataset__p91216321211">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="CreateDataset__p111214320217">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="CreateDataset__p91320322218">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="CreateDataset__p71311321429">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row13933210220"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p10134324214">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p201417328210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p18141832023">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p21419323215">ID of an MRS cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row31011321629"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p6151232028">cluster_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p1815153215218">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p3151032320">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p51610322022">Running mode of an MRS cluster. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul316133213212"><li id="CreateDataset__li2016532928"><strong id="CreateDataset__b7172327210">0</strong>: normal cluster</li><li id="CreateDataset__li517432123"><strong id="CreateDataset__b21714320215">1</strong>: security cluster</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row141033219214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p21703218214">cluster_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p101817324214">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p7183320215">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p13188329211">Name of an MRS cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1910632520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p1019103214211">database_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p2198321622">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p1119123220212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p72013210217">Name of the database to which the table dataset is imported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1310103217210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p102053217216">input</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p4214321218">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p521163214219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p112218321723">HDFS path of a table dataset.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row2102322213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p192215322210">ip</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p19221432820">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p0231732925">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p1723632229">IP address of your GaussDB(DWS) cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row101011321224"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p02315321928">port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p1633133211215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p133310321220">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p3331432922">Port number of your GaussDB(DWS) cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row13107321624"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p13418321215">queue_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p19347321422">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p1734103216217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p43518321529">DLI queue name of a table dataset.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row91173219210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p0351332027">subnet_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p935103214220">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p1351532527">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p38595321427">Subnet ID of an MRS cluster.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row18111328213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p585915328218">table_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p17859532622">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p18602321521">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p198608325218">Name of the table to which a table dataset is imported.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1611432121"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p108601432226">user_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p1086016323220">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p128601032423">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p68604329217">Username, which is mandatory for GaussDB(DWS) data.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row17113325210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p208601432922">user_password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p148616322024">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p686103214212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p208611232225">User password, which is mandatory for GaussDB(DWS) data.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row171110321024"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="CreateDataset__p7861153219217">vpc_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="CreateDataset__p986103218211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="CreateDataset__p386115321026">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="CreateDataset__p158618321723">ID of the VPC where an MRS cluster resides.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_LabelFormat"></a><a name="request_LabelFormat"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_LabelFormat" frame="border" border="1" rules="all"><caption><b>Table 6 </b>LabelFormat</caption><thead align="left"><tr id="CreateDataset__row124119325216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="CreateDataset__p1386293219213">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="CreateDataset__p1086243214217">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="CreateDataset__p186218320215">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="CreateDataset__p13862113219215">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row1341133216210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateDataset__p1686214321920">label_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateDataset__p18862193211216">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateDataset__p1886213329217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateDataset__p1075514204312">Label type of text classification. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul246016231335"><li id="CreateDataset__li11383930839"><strong id="CreateDataset__b638810301633">0</strong>: The label is separated from the text, and they are distinguished by the fixed suffix <strong id="CreateDataset__b63889301739">_result</strong>. For example, the text file is <strong id="CreateDataset__b16388133011310">abc.txt</strong>, and the label file is <strong id="CreateDataset__b163881430639">abc_result.txt</strong>.</li><li id="CreateDataset__li64607231230"><strong id="CreateDataset__b3863123210219">1</strong>: Default value. Labels and texts are stored in the same file and separated by separators. You can use <strong id="CreateDataset__b38636321428">text_sample_separator</strong> to specify the separator between the text and label and <strong id="CreateDataset__b1886303214219">text_label_separator</strong> to specify the separator between labels.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row17411132928"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateDataset__p1486311322219">text_label_separator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateDataset__p11863163210210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateDataset__p1086316321320">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateDataset__p1886363213220">Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1142932227"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="CreateDataset__p148632323210">text_sample_separator</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="CreateDataset__p38631432121">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="CreateDataset__p686320321324">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="CreateDataset__p18631532523">Separator between the text and label. By default, the <strong id="CreateDataset__b086319328213">Tab</strong> key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_Label"></a><a name="request_Label"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_Label" frame="border" border="1" rules="all"><caption><b>Table 7 </b>Label</caption><thead align="left"><tr id="CreateDataset__row2476320219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="CreateDataset__p18641323216">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="CreateDataset__p1086413216216">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="CreateDataset__p148649321527">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="CreateDataset__p786412322219">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row11470326215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateDataset__p28646321126">attributes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateDataset__p148641832626">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateDataset__p286483214213">Array of <a href="#CreateDataset__request_LabelAttribute">LabelAttribute</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateDataset__p586417321215">Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row147133217213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateDataset__p118649321626">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateDataset__p2086514323216">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateDataset__p186514321729">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateDataset__p1286511321229">Label name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row84719321727"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateDataset__p138657322215">property</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateDataset__p20865163215217">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateDataset__p138657321127"><a href="#CreateDataset__request_LabelProperty">LabelProperty</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateDataset__p128659321521">Basic attribute key-value pair of a label, such as color and shortcut keys.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row648113218215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="CreateDataset__p186563214218">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="CreateDataset__p88659327210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="CreateDataset__p14865113216218">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="CreateDataset__p5865632124">Label type. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul148651432023"><li id="CreateDataset__li88656321923"><strong id="CreateDataset__b15866143215214">0</strong>: image classification</li><li id="CreateDataset__li168660325213"><strong id="CreateDataset__b78663321027">1</strong>: object detection</li><li id="CreateDataset__li208664326219"><strong id="CreateDataset__b14866203211218">100</strong>: text classification</li><li id="CreateDataset__li148662321028"><strong id="CreateDataset__b2086613321527">101</strong>: named entity recognition</li><li id="CreateDataset__li158667321225"><strong id="CreateDataset__b786618323213">102</strong>: text triplet relationship</li><li id="CreateDataset__li986611325211"><strong id="CreateDataset__b17866173211216">103</strong>: text triplet entity</li><li id="CreateDataset__li886712326211"><strong id="CreateDataset__b786793215218">200</strong>: speech classification</li><li id="CreateDataset__li1286723217211"><strong id="CreateDataset__b1486763219210">201</strong>: speech content</li><li id="CreateDataset__li9867732723"><strong id="CreateDataset__b4867232724">202</strong>: speech paragraph labeling</li><li id="CreateDataset__li186793214210"><strong id="CreateDataset__b188672321526">600</strong>: video classification</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_LabelAttribute"></a><a name="request_LabelAttribute"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_LabelAttribute" frame="border" border="1" rules="all"><caption><b>Table 8 </b>LabelAttribute</caption><thead align="left"><tr id="CreateDataset__row65515320219"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="CreateDataset__p28681532722">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="CreateDataset__p386883210215">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="CreateDataset__p178682321124">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="CreateDataset__p386810328217">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row135515321628"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateDataset__p1786915324218">default_value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateDataset__p48691321324">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateDataset__p386915321216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateDataset__p188691432726">Default value of a label attribute.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row45583213215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateDataset__p48701532426">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateDataset__p1787053211213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateDataset__p4870133217210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateDataset__p1487013219216">Label attribute ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1655173214217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateDataset__p18870232225">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateDataset__p198708321215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateDataset__p1087112321326">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateDataset__p5871153213212">Label attribute name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row8561132826"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateDataset__p168719326217">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateDataset__p148719321128">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateDataset__p187113321121">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateDataset__p188715329215">Label attribute type. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul78719321424"><li id="CreateDataset__li1687119327210"><strong id="CreateDataset__b16871143220217">text</strong>: text</li><li id="CreateDataset__li7872532126"><strong id="CreateDataset__b14872123210211">select</strong>: single-choice drop-down list</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row17561328213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="CreateDataset__p687214321522">values</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="CreateDataset__p987218321218">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="CreateDataset__p188721432120">Array of <a href="#CreateDataset__request_LabelAttributeValue">LabelAttributeValue</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="CreateDataset__p108728322217">List of label attribute values.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_LabelAttributeValue"></a><a name="request_LabelAttributeValue"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_LabelAttributeValue" frame="border" border="1" rules="all"><caption><b>Table 9 </b>LabelAttributeValue</caption><thead align="left"><tr id="CreateDataset__row863173217214"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.1"><p id="CreateDataset__p1287311321725">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.2"><p id="CreateDataset__p158733321628">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.3"><p id="CreateDataset__p18873143213214">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.9.2.5.1.4"><p id="CreateDataset__p198730322212">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row36333211216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="CreateDataset__p2087312328214">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="CreateDataset__p1187316327212">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="CreateDataset__p11873153217212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="CreateDataset__p1987363212220">Label attribute value ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row76318322214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="CreateDataset__p58731332129">value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="CreateDataset__p108731932422">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="CreateDataset__p188738321128">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="CreateDataset__p58741432624">Label attribute value.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_LabelProperty"></a><a name="request_LabelProperty"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_LabelProperty" frame="border" border="1" rules="all"><caption><b>Table 10 </b>LabelProperty</caption><thead align="left"><tr id="CreateDataset__row166132025"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.1"><p id="CreateDataset__p387473211216">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.2"><p id="CreateDataset__p78741321820">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.3"><p id="CreateDataset__p4874163214220">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.10.2.5.1.4"><p id="CreateDataset__p887418323212">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row17669321210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="CreateDataset__p48742324219">@modelarts:color</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="CreateDataset__p6874143220219">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="CreateDataset__p78745321629">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="CreateDataset__p1187563215213">Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: <strong id="CreateDataset__b19875133218211">#FFFFF0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row17672325218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="CreateDataset__p387543213213">@modelarts:default_shape</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="CreateDataset__p1787519321721">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="CreateDataset__p13875203216217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="CreateDataset__p1687512321422">Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul48756321723"><li id="CreateDataset__li19875103219216"><strong id="CreateDataset__b187518321127">bndbox</strong>: rectangle</li><li id="CreateDataset__li687563210213"><strong id="CreateDataset__b1087519329214">polygon</strong>: polygon</li><li id="CreateDataset__li19875132723"><strong id="CreateDataset__b787663219217">circle</strong>: circle</li><li id="CreateDataset__li38760321426"><strong id="CreateDataset__b1487612321212">line</strong>: straight line</li><li id="CreateDataset__li208761332124"><strong id="CreateDataset__b68767326211">dashed</strong>: dotted line</li><li id="CreateDataset__li1287623210214"><strong id="CreateDataset__b587610327218">point</strong>: point</li><li id="CreateDataset__li1787613213219"><strong id="CreateDataset__b1287673219216">polyline</strong>: polyline</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row267113213213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="CreateDataset__p187663220218">@modelarts:from_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="CreateDataset__p188767326214">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="CreateDataset__p1287615327217">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="CreateDataset__p787723212210">Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row16675321218"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="CreateDataset__p68775327219">@modelarts:rename_to</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="CreateDataset__p1887713321525">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="CreateDataset__p17877123213219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="CreateDataset__p987712329213">Default attribute: The new name of the label.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1675320219"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="CreateDataset__p58777325214">@modelarts:shortcut</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="CreateDataset__p78771932321">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="CreateDataset__p108771132824">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="CreateDataset__p2087723215213">Default attribute: Label shortcut key. By default, this parameter is left blank. For example: <strong id="CreateDataset__b5877183210210">D</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1673329211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="CreateDataset__p787713218219">@modelarts:to_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="CreateDataset__p15878133213211">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="CreateDataset__p987893216216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="CreateDataset__p68789321223">Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_Field"></a><a name="request_Field"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_Field" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Field</caption><thead align="left"><tr id="CreateDataset__row376113212217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.1"><p id="CreateDataset__p148781323217">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.2"><p id="CreateDataset__p188784325219">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.3"><p id="CreateDataset__p387863216215">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.11.2.5.1.4"><p id="CreateDataset__p118781032828">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row15760324213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="CreateDataset__p387819326218">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="CreateDataset__p16879153212213">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="CreateDataset__p487973216213">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="CreateDataset__p1587919321122">Schema description.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row17765323210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="CreateDataset__p7879103218217">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="CreateDataset__p2879113217212">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="CreateDataset__p12879153217219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="CreateDataset__p10879732724">Schema name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row476113214216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="CreateDataset__p1487918327215">schema_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="CreateDataset__p287923213210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="CreateDataset__p1187916321219">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="CreateDataset__p48792032528">Schema ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row17761432126"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="CreateDataset__p287915324210">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="CreateDataset__p18792321828">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="CreateDataset__p158801932721">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="CreateDataset__p3880832729">Schema value type.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_WorkforceInformation"></a><a name="request_WorkforceInformation"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_WorkforceInformation" frame="border" border="1" rules="all"><caption><b>Table 12 </b>WorkforceInformation</caption><thead align="left"><tr id="CreateDataset__row48213220217"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.1"><p id="CreateDataset__p088033211213">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.2"><p id="CreateDataset__p148801232927">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.3"><p id="CreateDataset__p14880153219216">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.12.2.5.1.4"><p id="CreateDataset__p1988010325213">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row98263218213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p18808324211">data_sync_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p198811032122">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p15881732824">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p988143216213">Synchronization type. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul2088193219212"><li id="CreateDataset__li128811328219"><strong id="CreateDataset__b108819324218">0</strong>: not to be synchronized</li><li id="CreateDataset__li588173213210"><strong id="CreateDataset__b3881832323">1</strong>: data to be synchronized</li><li id="CreateDataset__li14881532122"><strong id="CreateDataset__b1788112321124">2</strong>: label to be synchronized</li><li id="CreateDataset__li178811321626"><strong id="CreateDataset__b788112321629">3</strong>: data and label to be synchronized</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row9834321923"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p12881532726">repetition</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p1688143213216">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p18882103218216">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p9882123218214">Number of persons who label each sample. The minimum value is <strong id="CreateDataset__b1888215326217">1</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row283732625"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p18828327219">synchronize_auto_labeling_data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p118821032922">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p1188219321128">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p1988210321026">Whether to synchronously update auto labeling data. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul12882532428"><li id="CreateDataset__li20882532320"><strong id="CreateDataset__b288216329219">true</strong>: Update auto labeling data synchronously.</li><li id="CreateDataset__li18882232821"><strong id="CreateDataset__b1188210320216">false</strong>: Do not update auto labeling data synchronously.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row12837321217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p288214321724">synchronize_data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p168821732020">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p108837321824">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p488319328217">Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul388303217217"><li id="CreateDataset__li78831432423"><strong id="CreateDataset__b198835321729">true</strong>: Synchronize updated data to team members.</li><li id="CreateDataset__li11883163216216"><strong id="CreateDataset__b188831322215">false</strong>: Do not synchronize updated data to team members.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row6833328213"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p3883113212213">task_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p4883532727">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p1788310321326">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p988383212211">ID of a team labeling task.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row148319328214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p1088313212212">task_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p158831532323">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p168841232324">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p1188416321028">Name of a team labeling task. The value contains 1 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1383232827"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="CreateDataset__p488414321425">workforces_config</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="CreateDataset__p288418321824">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="CreateDataset__p1688419321628"><a href="#CreateDataset__request_WorkforcesConfig">WorkforcesConfig</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="CreateDataset__p78851632723">Manpower assignment of a team labeling task. You can delegate the team administrator to assign the manpower or do it by yourself.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_WorkforcesConfig"></a><a name="request_WorkforcesConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_WorkforcesConfig" frame="border" border="1" rules="all"><caption><b>Table 13 </b>WorkforcesConfig</caption><thead align="left"><tr id="CreateDataset__row129383212216"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.13.2.5.1.1"><p id="CreateDataset__p788512327213">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.13.2.5.1.2"><p id="CreateDataset__p108851321625">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.13.2.5.1.3"><p id="CreateDataset__p188510321626">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.13.2.5.1.4"><p id="CreateDataset__p688517325218">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row89412321820"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.1 "><p id="CreateDataset__p1588610322217">agency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.2 "><p id="CreateDataset__p4886232523">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.3 "><p id="CreateDataset__p5886203220219">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.13.2.5.1.4 "><p id="CreateDataset__p2088611327213">Team administrator.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row69410321214"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.1 "><p id="CreateDataset__p198861032226">workforces</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.2 "><p id="CreateDataset__p688610322023">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.13.2.5.1.3 "><p id="CreateDataset__p19886123220215">Array of <a href="#CreateDataset__request_WorkforceConfig">WorkforceConfig</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.13.2.5.1.4 "><p id="CreateDataset__p38861321628">List of teams that execute labeling tasks.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_WorkforceConfig"></a><a name="request_WorkforceConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_WorkforceConfig" frame="border" border="1" rules="all"><caption><b>Table 14 </b>WorkforceConfig</caption><thead align="left"><tr id="CreateDataset__row89843211213"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.14.2.5.1.1"><p id="CreateDataset__p118877322027">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.14.2.5.1.2"><p id="CreateDataset__p188763218211">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.14.2.5.1.3"><p id="CreateDataset__p11887193212213">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.14.2.5.1.4"><p id="CreateDataset__p1888773218218">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row99817321428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.1 "><p id="CreateDataset__p118875320211">workers</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.2 "><p id="CreateDataset__p1588712321526">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.3 "><p id="CreateDataset__p1488715328213">Array of <a href="#CreateDataset__request_Worker">Worker</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.14.2.5.1.4 "><p id="CreateDataset__p1388718321026">List of labeling team members.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1598163216210"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.1 "><p id="CreateDataset__p68875327214">workforce_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.2 "><p id="CreateDataset__p888813214210">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.3 "><p id="CreateDataset__p1688818321924">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.14.2.5.1.4 "><p id="CreateDataset__p14888432427">ID of a labeling team.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row598632823"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.1 "><p id="CreateDataset__p1488815321424">workforce_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.2 "><p id="CreateDataset__p19888103213215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.14.2.5.1.3 "><p id="CreateDataset__p1688833214210">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.14.2.5.1.4 "><p id="CreateDataset__p688818329214">Name of a labeling team. The value contains 0 to 1024 characters and does not support the following special characters: !<>=&"'</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="CreateDataset__request_Worker"></a><a name="request_Worker"></a><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__request_Worker" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Worker</caption><thead align="left"><tr id="CreateDataset__row1010318329212"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.15.2.5.1.1"><p id="CreateDataset__p158891325220">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.15.2.5.1.2"><p id="CreateDataset__p38897321125">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.15.2.5.1.3"><p id="CreateDataset__p388914321629">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.15.2.5.1.4"><p id="CreateDataset__p388919321424">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row810320321827"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p98892032322">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p18889153218215">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p1088911329211">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p88892321521">Creation time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row11036329217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p888973211218">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p1688911320214">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p188891321223">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p788919323218">Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row3103132328"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p1988943213213">email</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p88908321623">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p108909323216">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p19890103220214">Email address of a labeling team member.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1310315329215"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p18890123219213">role</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p189011321125">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p8890432329">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p1289013321215">Role. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul689011321029"><li id="CreateDataset__li1889010321023"><strong id="CreateDataset__b2890103218212">0</strong>: labeling personnel</li><li id="CreateDataset__li178905329212"><strong id="CreateDataset__b089013219219">1</strong>: reviewer</li><li id="CreateDataset__li9890133211213"><strong id="CreateDataset__b16890432526">2</strong>: team administrator</li><li id="CreateDataset__li1989043219212"><strong id="CreateDataset__b789116325219">3</strong>: dataset owner</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row11104832524"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p18911932029">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p589114325218">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p68911322026">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p1589116322029">Current login status of a labeling team member. The options are as follows:</p>
|
|
<ul id="CreateDataset__ul20891163215218"><li id="CreateDataset__li28911332520"><strong id="CreateDataset__b198911732623">0</strong>: The invitation email has not been sent.</li><li id="CreateDataset__li38910321820"><strong id="CreateDataset__b88912322021">1</strong>: The invitation email has been sent but the user has not logged in.</li><li id="CreateDataset__li5891143216211"><strong id="CreateDataset__b38911032129">2</strong>: The user has logged in.</li><li id="CreateDataset__li9891173216217"><strong id="CreateDataset__b689117321726">3</strong>: The labeling team member has been deleted.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row151047321023"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p20891143213212">update_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p168921432626">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p1889212321723">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p128921932429">Update time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1104183210217"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p6892432027">worker_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p089213321323">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p889283216211">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p19892143211217">ID of a labeling team member.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1104163210211"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.1 "><p id="CreateDataset__p48921732020">workforce_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.2 "><p id="CreateDataset__p589212325219">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.15.2.5.1.3 "><p id="CreateDataset__p108921332124">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.15.2.5.1.4 "><p id="CreateDataset__p1989219327216">ID of a labeling team.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section5892232929"><h4 class="sectiontitle">Response Parameters</h4><p id="CreateDataset__p789314327215"><strong id="CreateDataset__b178931632725">Status code: 201</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__response_CreateDatasetResp" frame="border" border="1" rules="all"><caption><b>Table 16 </b>Response body parameters</caption><thead align="left"><tr id="CreateDataset__row5118193218218"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="CreateDataset__p1089333218212">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="CreateDataset__p989320323216">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="CreateDataset__p18931321923">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row101186321529"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateDataset__p198935321826">dataset_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateDataset__p78938325212">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateDataset__p1889312321920">Dataset ID.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row3118632128"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateDataset__p0893232524">error_code</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateDataset__p188949321423">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateDataset__p158941232421">Error code.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row51183321525"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateDataset__p188943321622">error_msg</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateDataset__p198946321827">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateDataset__p8894143218215">Error message.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row411819329216"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="CreateDataset__p1689414321320">import_task_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="CreateDataset__p158941532625">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="CreateDataset__p789416321623">ID of an import task.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section48945321213"><h4 class="sectiontitle">Example Requests</h4><ul id="CreateDataset__ul1089420321423"><li id="CreateDataset__li889423216220">Creating an Image Classification Dataset<pre class="screen" id="CreateDataset__screen289423217215">{
|
|
"workspace_id" : "0",
|
|
"dataset_name" : "dataset-457f",
|
|
"dataset_type" : 0,
|
|
"data_sources" : [ {
|
|
"data_type" : 0,
|
|
"data_path" : "/test-obs/classify/input/cat-rabbit/"
|
|
} ],
|
|
"description" : "",
|
|
"work_path" : "/test-obs/classify/output/",
|
|
"work_path_type" : 0,
|
|
"labels" : [ {
|
|
"name" : "Cat",
|
|
"type" : 0,
|
|
"property" : {
|
|
"@modelarts:color" : "#3399ff"
|
|
}
|
|
}, {
|
|
"name" : "Rabbit",
|
|
"type" : 0,
|
|
"property" : {
|
|
"@modelarts:color" : "#3399ff"
|
|
}
|
|
} ]
|
|
}</pre>
|
|
</li><li id="CreateDataset__li68972321327">Creating an Object Detection Dataset<pre class="screen" id="CreateDataset__screen989715321523">{
|
|
"workspace_id" : "0",
|
|
"dataset_name" : "dataset-95a6",
|
|
"dataset_type" : 1,
|
|
"data_sources" : [ {
|
|
"data_type" : 0,
|
|
"data_path" : "/test-obs/detect/input/cat-rabbit/"
|
|
} ],
|
|
"description" : "",
|
|
"work_path" : "/test-obs/detect/output/",
|
|
"work_path_type" : 0,
|
|
"labels" : [ {
|
|
"name" : "Cat",
|
|
"type" : 1,
|
|
"property" : {
|
|
"@modelarts:color" : "#3399ff"
|
|
}
|
|
}, {
|
|
"name" : "Rabbit",
|
|
"type" : 1,
|
|
"property" : {
|
|
"@modelarts:color" : "#3399ff"
|
|
}
|
|
} ]
|
|
}</pre>
|
|
</li><li id="CreateDataset__li12899932723">Creating a Table Dataset<pre class="screen" id="CreateDataset__screen0899632529">{
|
|
"workspace_id" : "0",
|
|
"dataset_name" : "dataset-de83",
|
|
"dataset_type" : 400,
|
|
"data_sources" : [ {
|
|
"data_type" : 0,
|
|
"data_path" : "/test-obs/table/input/",
|
|
"with_column_header" : true
|
|
} ],
|
|
"description" : "",
|
|
"work_path" : "/test-obs/table/output/",
|
|
"work_path_type" : 0,
|
|
"schema" : [ {
|
|
"schema_id" : 1,
|
|
"name" : "150",
|
|
"type" : "STRING"
|
|
}, {
|
|
"schema_id" : 2,
|
|
"name" : "4",
|
|
"type" : "STRING"
|
|
}, {
|
|
"schema_id" : 3,
|
|
"name" : "setosa",
|
|
"type" : "STRING"
|
|
}, {
|
|
"schema_id" : 4,
|
|
"name" : "versicolor",
|
|
"type" : "STRING"
|
|
}, {
|
|
"schema_id" : 5,
|
|
"name" : "virginica",
|
|
"type" : "STRING"
|
|
} ],
|
|
"import_data" : true
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section69021732429"><h4 class="sectiontitle">Example Responses</h4><p id="CreateDataset__p19048321923"><strong id="CreateDataset__b119043321123">Status code: 201</strong></p>
|
|
<p id="CreateDataset__p11904193219217">Created</p>
|
|
<pre class="screen" id="CreateDataset__screen1190453217216">{
|
|
"dataset_id" : "WxCREuCkBSAlQr9xrde"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section18905183218211"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="CreateDataset__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="CreateDataset__row13142173211211"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="CreateDataset__p290511321421">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="CreateDataset__p1590513210215">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="CreateDataset__row61421325217"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateDataset__p99062321926">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateDataset__p8906123218213">Created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row5142332828"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateDataset__p169064325219">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateDataset__p790614321423">Unauthorized</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row1214212326219"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateDataset__p29068321825">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateDataset__p4907832026">Forbidden</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="CreateDataset__row614233218212"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="CreateDataset__p990710327211">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="CreateDataset__p49071132226">Not Found</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="CreateDataset__section1690783216212"><h4 class="sectiontitle">Error Codes</h4><p id="CreateDataset__p139078328218">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dataset_management.html">Dataset Management</a></div>
|
|
</div>
|
|
</div>
|
|
|