ci:CreateDataset permission to the action of the authorization policy. For all operation APIs supported by Cloud Infinite, see CI action.Region can only be set to ap-jakarta.POST /dataset HTTP/1.1Host: <AppId>.ci.ap-jakarta.myqcloud.comAuthorization: Auth StringContent-Length: xxxContent-Type: application/jsonAccept: application/json
{"DatasetName": "test","Description": "test","TemplateId": "Official:COSBasicMeta"}
Parameter Name | Description | Type | Required |
DatasetName | Dataset name, unique within the same account. Naming rules: 1-64 characters in length Can contain only lowercase letters, digits, and hyphens (-). Must start with a letter or digit. | String | Yes |
Description | Dataset description. The length is 1 to 256 English or Chinese characters. The default value is empty. | String | No |
TemplateId | For the search template associated with a dataset, the backend determines which metadata of files to collect based on the search template when creating metadata indexes. Each search template contains several operators, and different operators represent different processing capabilities. For more information, see Search Templates and Operators. The default value is empty, which means no search template is associated and no metadata is collected. | String | No |
Version | Dataset version. basic or standard. The default value is basic. | String | No |
Volume | Estimated data volume of the current dataset. MetaInsight adjusts the data distribution policy based on this parameter to ensure query performance. When Version is basic, the value is 50w. When Version is standard, the default value is 500w, and you can set it to a value from 1 to 10000 in the unit of w. If you set it to 0, the default value is used. | Integer | No |
TrainingMode | Source mode of training data. The default value is 0, indicating that training data comes from a specified dataset. When the value is 1, training data comes from files in a bucket directory of cos. It takes effect only when Version is standard. | Integer | No |
TrainingDataset | Dataset name of the training data. It takes effect only when TrainingMode is 0. | String | No |
TrainingURI | Resource path of the training data. It takes effect only when TrainingMode is 1. | String | No |
SceneType | It takes effect when TemplateId=Official:ImageSearch and indicates the scene type. Optional values: general (default value): general scenario E-commercial: e-commerce scenario iDrive: travel scenario | String | No |
{"Dataset": {"BindCount": 0,"CreateTime": "2023-12-25 15:16:20.692674978 +0800 CST","DatasetName": "test","Description": "test","FileCount": 0,"TemplateId": "Official:COSBasicMeta","TotalFileSize": 0,"UpdateTime": "2023-12-25 15:16:20.692675128 +0800 CST"},"RequestId": "NWFjMzQ0MDZfOTBmYTUwXzZkZV8z****"}
Parameter Name | Description | Type |
Dataset | Dataset information | Container |
RequestId | Request ID. | String |
Parameter Name | Description | Type |
BindCount | Number of COS buckets currently bound to the dataset | Long |
CreateTime | Timestamp of the data set creation time in RFC3339Nano format | String |
DatasetName | Data set name | String |
Description | Dataset description | String |
FileCount | Number of files in the dataset for which metadata indexes have been created | Long |
Region | Region where the dataset resides | String |
SceneType | Scene type. Supports general, E-commercial, and iDrive. The default value is general. | String |
State | Training status Unstart: Not started Running: Training in progress Success: Training succeeded Failed: Training failed | String |
TaskProgress | Percentage value of training progress. The value ranges from 0 to 100. | Int |
TemplateId | Search template | String |
TotalFileSize | Total size of files in the dataset for which metadata indexes have been created, in bytes | Long |
UpdateTime | The timestamp of the dataset modification time, in RFC3339Nano format. After a dataset is created, if it has not been updated, the timestamp of the dataset modification time is the same as the timestamp of the dataset creation time. | String |
Version | Dataset version | String |
피드백