tencentcloud-sdk-tione 3.0.422 → 3.0.423

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211111/models.rb +260 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90481e8114f9c3f7c8fe4f431bd1fb67986bdd1f
4
- data.tar.gz: 5f6bfc02e815632defbd514349fc360681ec0981
3
+ metadata.gz: 8df42c811ad59e9326d31cca2dc82ebaa71fffc4
4
+ data.tar.gz: c37e4898ed7fd21fef127c90e153f9370d327700
5
5
  SHA512:
6
- metadata.gz: 0275f6da542c13d9609cee1b57e2e8bb6ddb718e49e9174e4d5e10ec1ca84192196144ce4a8f21968cf93079469ef6d54e0686364539af3e868b948a331816ff
7
- data.tar.gz: 4c77752b5bc97b56f1e3ccdea447a9111e241296b33143f679db2626c48d097779c3b49216b4067fb75242dbacb8efdbf8318a216f504249cad6fc5aae5c2f16
6
+ metadata.gz: 059f54c0da8b32fe7e56d1fcf429ad3fe5c98ae7a507f254dfafd8a0ccabd2a38aaa2e37eedc56fbf187331d865e2db777af86bb22c96aaae3a6ee38d15e497a
7
+ data.tar.gz: ddcf6f2f89c1697b6ba310f774f1c371a2bb8463d0ab5174db4ead8e219d42497bf233f4aa2ee2f823287735d68e6db5d73d45f2071b93cd9bbfbee11597ec8c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.422
1
+ 3.0.423
@@ -587,10 +587,12 @@ module TencentCloud
587
587
  # @type SchemaInfos: Array
588
588
  # @param IsSchemaExisted: 数据是否存在表头
589
589
  # @type IsSchemaExisted: Boolean
590
+ # @param ContentType: 导入文件粒度,按行或者按文件
591
+ # @type ContentType: String
590
592
 
591
- attr_accessor :DatasetName, :DatasetType, :StorageDataPath, :StorageLabelPath, :DatasetTags, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :SchemaInfos, :IsSchemaExisted
593
+ attr_accessor :DatasetName, :DatasetType, :StorageDataPath, :StorageLabelPath, :DatasetTags, :AnnotationStatus, :AnnotationType, :AnnotationFormat, :SchemaInfos, :IsSchemaExisted, :ContentType
592
594
 
593
- def initialize(datasetname=nil, datasettype=nil, storagedatapath=nil, storagelabelpath=nil, datasettags=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, schemainfos=nil, isschemaexisted=nil)
595
+ def initialize(datasetname=nil, datasettype=nil, storagedatapath=nil, storagelabelpath=nil, datasettags=nil, annotationstatus=nil, annotationtype=nil, annotationformat=nil, schemainfos=nil, isschemaexisted=nil, contenttype=nil)
594
596
  @DatasetName = datasetname
595
597
  @DatasetType = datasettype
596
598
  @StorageDataPath = storagedatapath
@@ -601,6 +603,7 @@ module TencentCloud
601
603
  @AnnotationFormat = annotationformat
602
604
  @SchemaInfos = schemainfos
603
605
  @IsSchemaExisted = isschemaexisted
606
+ @ContentType = contenttype
604
607
  end
605
608
 
606
609
  def deserialize(params)
@@ -634,6 +637,7 @@ module TencentCloud
634
637
  end
635
638
  end
636
639
  @IsSchemaExisted = params['IsSchemaExisted']
640
+ @ContentType = params['ContentType']
637
641
  end
638
642
  end
639
643
 
@@ -2068,16 +2072,19 @@ module TencentCloud
2068
2072
  # @type AnnotationStatus: String
2069
2073
  # @param DatasetIds: 数据集ID列表
2070
2074
  # @type DatasetIds: Array
2075
+ # @param TextClassificationLabels: 要筛选的文本分类场景标签信息
2076
+ # @type TextClassificationLabels: Array
2071
2077
 
2072
- attr_accessor :DatasetId, :Offset, :Limit, :LabelList, :AnnotationStatus, :DatasetIds
2078
+ attr_accessor :DatasetId, :Offset, :Limit, :LabelList, :AnnotationStatus, :DatasetIds, :TextClassificationLabels
2073
2079
 
2074
- def initialize(datasetid=nil, offset=nil, limit=nil, labellist=nil, annotationstatus=nil, datasetids=nil)
2080
+ def initialize(datasetid=nil, offset=nil, limit=nil, labellist=nil, annotationstatus=nil, datasetids=nil, textclassificationlabels=nil)
2075
2081
  @DatasetId = datasetid
2076
2082
  @Offset = offset
2077
2083
  @Limit = limit
2078
2084
  @LabelList = labellist
2079
2085
  @AnnotationStatus = annotationstatus
2080
2086
  @DatasetIds = datasetids
2087
+ @TextClassificationLabels = textclassificationlabels
2081
2088
  end
2082
2089
 
2083
2090
  def deserialize(params)
@@ -2087,6 +2094,14 @@ module TencentCloud
2087
2094
  @LabelList = params['LabelList']
2088
2095
  @AnnotationStatus = params['AnnotationStatus']
2089
2096
  @DatasetIds = params['DatasetIds']
2097
+ unless params['TextClassificationLabels'].nil?
2098
+ @TextClassificationLabels = []
2099
+ params['TextClassificationLabels'].each do |i|
2100
+ textlabeldistributioninfo_tmp = TextLabelDistributionInfo.new
2101
+ textlabeldistributioninfo_tmp.deserialize(i)
2102
+ @TextClassificationLabels << textlabeldistributioninfo_tmp
2103
+ end
2104
+ end
2090
2105
  end
2091
2106
  end
2092
2107
 
@@ -2104,16 +2119,20 @@ module TencentCloud
2104
2119
  # @param FilterLabelList: 过滤数据详情
2105
2120
  # 注意:此字段可能返回 null,表示取不到有效值。
2106
2121
  # @type FilterLabelList: Array
2122
+ # @param RowTexts: 数据文本行,默认返回前1000行
2123
+ # 注意:此字段可能返回 null,表示取不到有效值。
2124
+ # @type RowTexts: Array
2107
2125
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2108
2126
  # @type RequestId: String
2109
2127
 
2110
- attr_accessor :AnnotatedTotalCount, :NonAnnotatedTotalCount, :FilterTotalCount, :FilterLabelList, :RequestId
2128
+ attr_accessor :AnnotatedTotalCount, :NonAnnotatedTotalCount, :FilterTotalCount, :FilterLabelList, :RowTexts, :RequestId
2111
2129
 
2112
- def initialize(annotatedtotalcount=nil, nonannotatedtotalcount=nil, filtertotalcount=nil, filterlabellist=nil, requestid=nil)
2130
+ def initialize(annotatedtotalcount=nil, nonannotatedtotalcount=nil, filtertotalcount=nil, filterlabellist=nil, rowtexts=nil, requestid=nil)
2113
2131
  @AnnotatedTotalCount = annotatedtotalcount
2114
2132
  @NonAnnotatedTotalCount = nonannotatedtotalcount
2115
2133
  @FilterTotalCount = filtertotalcount
2116
2134
  @FilterLabelList = filterlabellist
2135
+ @RowTexts = rowtexts
2117
2136
  @RequestId = requestid
2118
2137
  end
2119
2138
 
@@ -2129,6 +2148,7 @@ module TencentCloud
2129
2148
  @FilterLabelList << filterlabelinfo_tmp
2130
2149
  end
2131
2150
  end
2151
+ @RowTexts = params['RowTexts']
2132
2152
  @RequestId = params['RequestId']
2133
2153
  end
2134
2154
  end
@@ -2956,10 +2976,22 @@ module TencentCloud
2956
2976
  # @param OcrLabels: OCR场景标签列表
2957
2977
  # 注意:此字段可能返回 null,表示取不到有效值。
2958
2978
  # @type OcrLabels: Array
2979
+ # @param OcrLabelInfo: OCR场景标签信息
2980
+ # 注意:此字段可能返回 null,表示取不到有效值。
2981
+ # @type OcrLabelInfo: String
2982
+ # @param TextClassificationLabelList: 文本分类场景标签结果,内容是json结构
2983
+ # 注意:此字段可能返回 null,表示取不到有效值。
2984
+ # @type TextClassificationLabelList: String
2985
+ # @param RowText: 文本内容,返回50字符
2986
+ # 注意:此字段可能返回 null,表示取不到有效值。
2987
+ # @type RowText: String
2988
+ # @param ContentOmit: 文本内容是否完全返回
2989
+ # 注意:此字段可能返回 null,表示取不到有效值。
2990
+ # @type ContentOmit: Boolean
2959
2991
 
2960
- attr_accessor :DatasetId, :FileId, :FileName, :ClassificationLabels, :DetectionLabels, :SegmentationLabels, :RGBPath, :LabelTemplateType, :DownloadUrl, :DownloadThumbnailUrl, :DownloadRGBUrl, :OcrScene, :OcrLabels
2992
+ attr_accessor :DatasetId, :FileId, :FileName, :ClassificationLabels, :DetectionLabels, :SegmentationLabels, :RGBPath, :LabelTemplateType, :DownloadUrl, :DownloadThumbnailUrl, :DownloadRGBUrl, :OcrScene, :OcrLabels, :OcrLabelInfo, :TextClassificationLabelList, :RowText, :ContentOmit
2961
2993
 
2962
- def initialize(datasetid=nil, fileid=nil, filename=nil, classificationlabels=nil, detectionlabels=nil, segmentationlabels=nil, rgbpath=nil, labeltemplatetype=nil, downloadurl=nil, downloadthumbnailurl=nil, downloadrgburl=nil, ocrscene=nil, ocrlabels=nil)
2994
+ def initialize(datasetid=nil, fileid=nil, filename=nil, classificationlabels=nil, detectionlabels=nil, segmentationlabels=nil, rgbpath=nil, labeltemplatetype=nil, downloadurl=nil, downloadthumbnailurl=nil, downloadrgburl=nil, ocrscene=nil, ocrlabels=nil, ocrlabelinfo=nil, textclassificationlabellist=nil, rowtext=nil, contentomit=nil)
2963
2995
  @DatasetId = datasetid
2964
2996
  @FileId = fileid
2965
2997
  @FileName = filename
@@ -2973,6 +3005,10 @@ module TencentCloud
2973
3005
  @DownloadRGBUrl = downloadrgburl
2974
3006
  @OcrScene = ocrscene
2975
3007
  @OcrLabels = ocrlabels
3008
+ @OcrLabelInfo = ocrlabelinfo
3009
+ @TextClassificationLabelList = textclassificationlabellist
3010
+ @RowText = rowtext
3011
+ @ContentOmit = contentomit
2976
3012
  end
2977
3013
 
2978
3014
  def deserialize(params)
@@ -3010,6 +3046,10 @@ module TencentCloud
3010
3046
  @OcrLabels << ocrlabelinfo_tmp
3011
3047
  end
3012
3048
  end
3049
+ @OcrLabelInfo = params['OcrLabelInfo']
3050
+ @TextClassificationLabelList = params['TextClassificationLabelList']
3051
+ @RowText = params['RowText']
3052
+ @ContentOmit = params['ContentOmit']
3013
3053
  end
3014
3054
  end
3015
3055
 
@@ -4106,6 +4146,218 @@ module TencentCloud
4106
4146
  end
4107
4147
  end
4108
4148
 
4149
+ # 五级标签
4150
+ class TextLabelDistributionDetailInfoFifthClass < TencentCloud::Common::AbstractModel
4151
+ # @param LabelValue: 标签名称
4152
+ # 注意:此字段可能返回 null,表示取不到有效值。
4153
+ # @type LabelValue: String
4154
+ # @param LabelCount: 标签个数
4155
+ # 注意:此字段可能返回 null,表示取不到有效值。
4156
+ # @type LabelCount: Integer
4157
+ # @param LabelPercentage: 标签占比
4158
+ # 注意:此字段可能返回 null,表示取不到有效值。
4159
+ # @type LabelPercentage: Float
4160
+
4161
+ attr_accessor :LabelValue, :LabelCount, :LabelPercentage
4162
+
4163
+ def initialize(labelvalue=nil, labelcount=nil, labelpercentage=nil)
4164
+ @LabelValue = labelvalue
4165
+ @LabelCount = labelcount
4166
+ @LabelPercentage = labelpercentage
4167
+ end
4168
+
4169
+ def deserialize(params)
4170
+ @LabelValue = params['LabelValue']
4171
+ @LabelCount = params['LabelCount']
4172
+ @LabelPercentage = params['LabelPercentage']
4173
+ end
4174
+ end
4175
+
4176
+ # 一级标签
4177
+ class TextLabelDistributionDetailInfoFirstClass < TencentCloud::Common::AbstractModel
4178
+ # @param LabelValue: 标签名称
4179
+ # 注意:此字段可能返回 null,表示取不到有效值。
4180
+ # @type LabelValue: String
4181
+ # @param LabelCount: 标签个数
4182
+ # 注意:此字段可能返回 null,表示取不到有效值。
4183
+ # @type LabelCount: Integer
4184
+ # @param LabelPercentage: 标签占比
4185
+ # 注意:此字段可能返回 null,表示取不到有效值。
4186
+ # @type LabelPercentage: Float
4187
+ # @param ChildLabelList: 子标签分布
4188
+ # 注意:此字段可能返回 null,表示取不到有效值。
4189
+ # @type ChildLabelList: Array
4190
+
4191
+ attr_accessor :LabelValue, :LabelCount, :LabelPercentage, :ChildLabelList
4192
+
4193
+ def initialize(labelvalue=nil, labelcount=nil, labelpercentage=nil, childlabellist=nil)
4194
+ @LabelValue = labelvalue
4195
+ @LabelCount = labelcount
4196
+ @LabelPercentage = labelpercentage
4197
+ @ChildLabelList = childlabellist
4198
+ end
4199
+
4200
+ def deserialize(params)
4201
+ @LabelValue = params['LabelValue']
4202
+ @LabelCount = params['LabelCount']
4203
+ @LabelPercentage = params['LabelPercentage']
4204
+ unless params['ChildLabelList'].nil?
4205
+ @ChildLabelList = []
4206
+ params['ChildLabelList'].each do |i|
4207
+ textlabeldistributiondetailinfosecondclass_tmp = TextLabelDistributionDetailInfoSecondClass.new
4208
+ textlabeldistributiondetailinfosecondclass_tmp.deserialize(i)
4209
+ @ChildLabelList << textlabeldistributiondetailinfosecondclass_tmp
4210
+ end
4211
+ end
4212
+ end
4213
+ end
4214
+
4215
+ # 四级标签
4216
+ class TextLabelDistributionDetailInfoFourthClass < TencentCloud::Common::AbstractModel
4217
+ # @param LabelValue: 标签名称
4218
+ # 注意:此字段可能返回 null,表示取不到有效值。
4219
+ # @type LabelValue: String
4220
+ # @param LabelCount: 标签个数
4221
+ # 注意:此字段可能返回 null,表示取不到有效值。
4222
+ # @type LabelCount: Integer
4223
+ # @param LabelPercentage: 标签占比
4224
+ # 注意:此字段可能返回 null,表示取不到有效值。
4225
+ # @type LabelPercentage: Float
4226
+ # @param ChildLabelList: 子标签分布
4227
+ # 注意:此字段可能返回 null,表示取不到有效值。
4228
+ # @type ChildLabelList: Array
4229
+
4230
+ attr_accessor :LabelValue, :LabelCount, :LabelPercentage, :ChildLabelList
4231
+
4232
+ def initialize(labelvalue=nil, labelcount=nil, labelpercentage=nil, childlabellist=nil)
4233
+ @LabelValue = labelvalue
4234
+ @LabelCount = labelcount
4235
+ @LabelPercentage = labelpercentage
4236
+ @ChildLabelList = childlabellist
4237
+ end
4238
+
4239
+ def deserialize(params)
4240
+ @LabelValue = params['LabelValue']
4241
+ @LabelCount = params['LabelCount']
4242
+ @LabelPercentage = params['LabelPercentage']
4243
+ unless params['ChildLabelList'].nil?
4244
+ @ChildLabelList = []
4245
+ params['ChildLabelList'].each do |i|
4246
+ textlabeldistributiondetailinfofifthclass_tmp = TextLabelDistributionDetailInfoFifthClass.new
4247
+ textlabeldistributiondetailinfofifthclass_tmp.deserialize(i)
4248
+ @ChildLabelList << textlabeldistributiondetailinfofifthclass_tmp
4249
+ end
4250
+ end
4251
+ end
4252
+ end
4253
+
4254
+ # 二级标签
4255
+ class TextLabelDistributionDetailInfoSecondClass < TencentCloud::Common::AbstractModel
4256
+ # @param LabelValue: 标签名称
4257
+ # 注意:此字段可能返回 null,表示取不到有效值。
4258
+ # @type LabelValue: String
4259
+ # @param LabelCount: 标签个数
4260
+ # 注意:此字段可能返回 null,表示取不到有效值。
4261
+ # @type LabelCount: Integer
4262
+ # @param LabelPercentage: 标签占比
4263
+ # 注意:此字段可能返回 null,表示取不到有效值。
4264
+ # @type LabelPercentage: Float
4265
+ # @param ChildLabelList: 子标签分布
4266
+ # 注意:此字段可能返回 null,表示取不到有效值。
4267
+ # @type ChildLabelList: Array
4268
+
4269
+ attr_accessor :LabelValue, :LabelCount, :LabelPercentage, :ChildLabelList
4270
+
4271
+ def initialize(labelvalue=nil, labelcount=nil, labelpercentage=nil, childlabellist=nil)
4272
+ @LabelValue = labelvalue
4273
+ @LabelCount = labelcount
4274
+ @LabelPercentage = labelpercentage
4275
+ @ChildLabelList = childlabellist
4276
+ end
4277
+
4278
+ def deserialize(params)
4279
+ @LabelValue = params['LabelValue']
4280
+ @LabelCount = params['LabelCount']
4281
+ @LabelPercentage = params['LabelPercentage']
4282
+ unless params['ChildLabelList'].nil?
4283
+ @ChildLabelList = []
4284
+ params['ChildLabelList'].each do |i|
4285
+ textlabeldistributiondetailinfothirdclass_tmp = TextLabelDistributionDetailInfoThirdClass.new
4286
+ textlabeldistributiondetailinfothirdclass_tmp.deserialize(i)
4287
+ @ChildLabelList << textlabeldistributiondetailinfothirdclass_tmp
4288
+ end
4289
+ end
4290
+ end
4291
+ end
4292
+
4293
+ # 三级标签
4294
+ class TextLabelDistributionDetailInfoThirdClass < TencentCloud::Common::AbstractModel
4295
+ # @param LabelValue: 标签名称
4296
+ # 注意:此字段可能返回 null,表示取不到有效值。
4297
+ # @type LabelValue: String
4298
+ # @param LabelCount: 标签个数
4299
+ # 注意:此字段可能返回 null,表示取不到有效值。
4300
+ # @type LabelCount: Integer
4301
+ # @param LabelPercentage: 标签占比
4302
+ # 注意:此字段可能返回 null,表示取不到有效值。
4303
+ # @type LabelPercentage: Float
4304
+ # @param ChildLabelList: 子标签分布
4305
+ # 注意:此字段可能返回 null,表示取不到有效值。
4306
+ # @type ChildLabelList: Array
4307
+
4308
+ attr_accessor :LabelValue, :LabelCount, :LabelPercentage, :ChildLabelList
4309
+
4310
+ def initialize(labelvalue=nil, labelcount=nil, labelpercentage=nil, childlabellist=nil)
4311
+ @LabelValue = labelvalue
4312
+ @LabelCount = labelcount
4313
+ @LabelPercentage = labelpercentage
4314
+ @ChildLabelList = childlabellist
4315
+ end
4316
+
4317
+ def deserialize(params)
4318
+ @LabelValue = params['LabelValue']
4319
+ @LabelCount = params['LabelCount']
4320
+ @LabelPercentage = params['LabelPercentage']
4321
+ unless params['ChildLabelList'].nil?
4322
+ @ChildLabelList = []
4323
+ params['ChildLabelList'].each do |i|
4324
+ textlabeldistributiondetailinfofourthclass_tmp = TextLabelDistributionDetailInfoFourthClass.new
4325
+ textlabeldistributiondetailinfofourthclass_tmp.deserialize(i)
4326
+ @ChildLabelList << textlabeldistributiondetailinfofourthclass_tmp
4327
+ end
4328
+ end
4329
+ end
4330
+ end
4331
+
4332
+ # 文本标签
4333
+ class TextLabelDistributionInfo < TencentCloud::Common::AbstractModel
4334
+ # @param Theme: 文本分类题目名称
4335
+ # 注意:此字段可能返回 null,表示取不到有效值。
4336
+ # @type Theme: String
4337
+ # @param ClassLabelList: 一级标签分布
4338
+ # 注意:此字段可能返回 null,表示取不到有效值。
4339
+ # @type ClassLabelList: Array
4340
+
4341
+ attr_accessor :Theme, :ClassLabelList
4342
+
4343
+ def initialize(theme=nil, classlabellist=nil)
4344
+ @Theme = theme
4345
+ @ClassLabelList = classlabellist
4346
+ end
4347
+
4348
+ def deserialize(params)
4349
+ @Theme = params['Theme']
4350
+ unless params['ClassLabelList'].nil?
4351
+ @ClassLabelList = []
4352
+ params['ClassLabelList'].each do |i|
4353
+ textlabeldistributiondetailinfofirstclass_tmp = TextLabelDistributionDetailInfoFirstClass.new
4354
+ textlabeldistributiondetailinfofirstclass_tmp.deserialize(i)
4355
+ @ClassLabelList << textlabeldistributiondetailinfofirstclass_tmp
4356
+ end
4357
+ end
4358
+ end
4359
+ end
4360
+
4109
4361
  # 训练数据
4110
4362
  class TrainingDataPoint < TencentCloud::Common::AbstractModel
4111
4363
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tione
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.422
4
+ version: 3.0.423
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common