@alicloud/quanmiaolightapp20240801 2.4.1 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -239,6 +239,228 @@ export class GenerateOutputFormatResponseBodyData extends $dara.Model {
239
239
  }
240
240
  }
241
241
 
242
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsHeader extends $dara.Model {
243
+ /**
244
+ * @example
245
+ * DataNotExists
246
+ */
247
+ errorCode?: string;
248
+ errorMessage?: string;
249
+ /**
250
+ * @example
251
+ * task-finished
252
+ */
253
+ event?: string;
254
+ /**
255
+ * @example
256
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
257
+ */
258
+ requestId?: string;
259
+ static names(): { [key: string]: string } {
260
+ return {
261
+ errorCode: 'errorCode',
262
+ errorMessage: 'errorMessage',
263
+ event: 'event',
264
+ requestId: 'requestId',
265
+ };
266
+ }
267
+
268
+ static types(): { [key: string]: any } {
269
+ return {
270
+ errorCode: 'string',
271
+ errorMessage: 'string',
272
+ event: 'string',
273
+ requestId: 'string',
274
+ };
275
+ }
276
+
277
+ validate() {
278
+ super.validate();
279
+ }
280
+
281
+ constructor(map?: { [key: string]: any }) {
282
+ super(map);
283
+ }
284
+ }
285
+
286
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput extends $dara.Model {
287
+ /**
288
+ * @example
289
+ * xxxx
290
+ */
291
+ text?: string;
292
+ static names(): { [key: string]: string } {
293
+ return {
294
+ text: 'text',
295
+ };
296
+ }
297
+
298
+ static types(): { [key: string]: any } {
299
+ return {
300
+ text: 'string',
301
+ };
302
+ }
303
+
304
+ validate() {
305
+ super.validate();
306
+ }
307
+
308
+ constructor(map?: { [key: string]: any }) {
309
+ super(map);
310
+ }
311
+ }
312
+
313
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage extends $dara.Model {
314
+ /**
315
+ * @example
316
+ * 100
317
+ */
318
+ inputToken?: number;
319
+ /**
320
+ * @example
321
+ * 200
322
+ */
323
+ outputToken?: number;
324
+ /**
325
+ * @example
326
+ * 300
327
+ */
328
+ totalToken?: number;
329
+ static names(): { [key: string]: string } {
330
+ return {
331
+ inputToken: 'inputToken',
332
+ outputToken: 'outputToken',
333
+ totalToken: 'totalToken',
334
+ };
335
+ }
336
+
337
+ static types(): { [key: string]: any } {
338
+ return {
339
+ inputToken: 'number',
340
+ outputToken: 'number',
341
+ totalToken: 'number',
342
+ };
343
+ }
344
+
345
+ validate() {
346
+ super.validate();
347
+ }
348
+
349
+ constructor(map?: { [key: string]: any }) {
350
+ super(map);
351
+ }
352
+ }
353
+
354
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsPayload extends $dara.Model {
355
+ output?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput;
356
+ usage?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage;
357
+ static names(): { [key: string]: string } {
358
+ return {
359
+ output: 'output',
360
+ usage: 'usage',
361
+ };
362
+ }
363
+
364
+ static types(): { [key: string]: any } {
365
+ return {
366
+ output: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput,
367
+ usage: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage,
368
+ };
369
+ }
370
+
371
+ validate() {
372
+ if(this.output && typeof (this.output as any).validate === 'function') {
373
+ (this.output as any).validate();
374
+ }
375
+ if(this.usage && typeof (this.usage as any).validate === 'function') {
376
+ (this.usage as any).validate();
377
+ }
378
+ super.validate();
379
+ }
380
+
381
+ constructor(map?: { [key: string]: any }) {
382
+ super(map);
383
+ }
384
+ }
385
+
386
+ export class GetTagMiningAnalysisTaskResponseBodyDataResults extends $dara.Model {
387
+ /**
388
+ * @example
389
+ * 1
390
+ */
391
+ customId?: string;
392
+ header?: GetTagMiningAnalysisTaskResponseBodyDataResultsHeader;
393
+ payload?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayload;
394
+ static names(): { [key: string]: string } {
395
+ return {
396
+ customId: 'customId',
397
+ header: 'header',
398
+ payload: 'payload',
399
+ };
400
+ }
401
+
402
+ static types(): { [key: string]: any } {
403
+ return {
404
+ customId: 'string',
405
+ header: GetTagMiningAnalysisTaskResponseBodyDataResultsHeader,
406
+ payload: GetTagMiningAnalysisTaskResponseBodyDataResultsPayload,
407
+ };
408
+ }
409
+
410
+ validate() {
411
+ if(this.header && typeof (this.header as any).validate === 'function') {
412
+ (this.header as any).validate();
413
+ }
414
+ if(this.payload && typeof (this.payload as any).validate === 'function') {
415
+ (this.payload as any).validate();
416
+ }
417
+ super.validate();
418
+ }
419
+
420
+ constructor(map?: { [key: string]: any }) {
421
+ super(map);
422
+ }
423
+ }
424
+
425
+ export class GetTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
426
+ errorCode?: string;
427
+ errorMessage?: string;
428
+ results?: GetTagMiningAnalysisTaskResponseBodyDataResults[];
429
+ /**
430
+ * @example
431
+ * RUNNIN
432
+ */
433
+ status?: string;
434
+ static names(): { [key: string]: string } {
435
+ return {
436
+ errorCode: 'errorCode',
437
+ errorMessage: 'errorMessage',
438
+ results: 'results',
439
+ status: 'status',
440
+ };
441
+ }
442
+
443
+ static types(): { [key: string]: any } {
444
+ return {
445
+ errorCode: 'string',
446
+ errorMessage: 'string',
447
+ results: { 'type': 'array', 'itemType': GetTagMiningAnalysisTaskResponseBodyDataResults },
448
+ status: 'string',
449
+ };
450
+ }
451
+
452
+ validate() {
453
+ if(Array.isArray(this.results)) {
454
+ $dara.Model.validateArray(this.results);
455
+ }
456
+ super.validate();
457
+ }
458
+
459
+ constructor(map?: { [key: string]: any }) {
460
+ super(map);
461
+ }
462
+ }
463
+
242
464
  export class GetVideoAnalysisConfigResponseBodyData extends $dara.Model {
243
465
  /**
244
466
  * @example
@@ -594,6 +816,10 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
594
816
  * true
595
817
  */
596
818
  generateFinished?: boolean;
819
+ index?: number;
820
+ modelId?: string;
821
+ modelReduce?: boolean;
822
+ reasonText?: string;
597
823
  /**
598
824
  * @example
599
825
  * xxx
@@ -603,6 +829,10 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
603
829
  static names(): { [key: string]: string } {
604
830
  return {
605
831
  generateFinished: 'generateFinished',
832
+ index: 'index',
833
+ modelId: 'modelId',
834
+ modelReduce: 'modelReduce',
835
+ reasonText: 'reasonText',
606
836
  text: 'text',
607
837
  usage: 'usage',
608
838
  };
@@ -611,6 +841,10 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
611
841
  static types(): { [key: string]: any } {
612
842
  return {
613
843
  generateFinished: 'boolean',
844
+ index: 'number',
845
+ modelId: 'string',
846
+ modelReduce: 'boolean',
847
+ reasonText: 'string',
614
848
  text: 'string',
615
849
  usage: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultUsage,
616
850
  };
@@ -628,6 +862,76 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResul
628
862
  }
629
863
  }
630
864
 
865
+ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
866
+ inputTokens?: number;
867
+ outputTokens?: number;
868
+ totalTokens?: number;
869
+ static names(): { [key: string]: string } {
870
+ return {
871
+ inputTokens: 'inputTokens',
872
+ outputTokens: 'outputTokens',
873
+ totalTokens: 'totalTokens',
874
+ };
875
+ }
876
+
877
+ static types(): { [key: string]: any } {
878
+ return {
879
+ inputTokens: 'number',
880
+ outputTokens: 'number',
881
+ totalTokens: 'number',
882
+ };
883
+ }
884
+
885
+ validate() {
886
+ super.validate();
887
+ }
888
+
889
+ constructor(map?: { [key: string]: any }) {
890
+ super(map);
891
+ }
892
+ }
893
+
894
+ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults extends $dara.Model {
895
+ generateFinished?: boolean;
896
+ index?: number;
897
+ modelId?: string;
898
+ reasonText?: string;
899
+ text?: string;
900
+ usage?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage;
901
+ static names(): { [key: string]: string } {
902
+ return {
903
+ generateFinished: 'generateFinished',
904
+ index: 'index',
905
+ modelId: 'modelId',
906
+ reasonText: 'reasonText',
907
+ text: 'text',
908
+ usage: 'usage',
909
+ };
910
+ }
911
+
912
+ static types(): { [key: string]: any } {
913
+ return {
914
+ generateFinished: 'boolean',
915
+ index: 'number',
916
+ modelId: 'string',
917
+ reasonText: 'string',
918
+ text: 'string',
919
+ usage: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage,
920
+ };
921
+ }
922
+
923
+ validate() {
924
+ if(this.usage && typeof (this.usage as any).validate === 'function') {
925
+ (this.usage as any).validate();
926
+ }
927
+ super.validate();
928
+ }
929
+
930
+ constructor(map?: { [key: string]: any }) {
931
+ super(map);
932
+ }
933
+ }
934
+
631
935
  export class GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
632
936
  /**
633
937
  * @example
@@ -878,6 +1182,7 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
878
1182
  videoAnalysisResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult;
879
1183
  videoCaptionResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult;
880
1184
  videoGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult;
1185
+ videoGenerateResults?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults[];
881
1186
  videoMindMappingGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult;
882
1187
  videoTitleGenerateResult?: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult;
883
1188
  static names(): { [key: string]: string } {
@@ -886,6 +1191,7 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
886
1191
  videoAnalysisResult: 'videoAnalysisResult',
887
1192
  videoCaptionResult: 'videoCaptionResult',
888
1193
  videoGenerateResult: 'videoGenerateResult',
1194
+ videoGenerateResults: 'videoGenerateResults',
889
1195
  videoMindMappingGenerateResult: 'videoMindMappingGenerateResult',
890
1196
  videoTitleGenerateResult: 'videoTitleGenerateResult',
891
1197
  };
@@ -897,6 +1203,7 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
897
1203
  videoAnalysisResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult,
898
1204
  videoCaptionResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult,
899
1205
  videoGenerateResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult,
1206
+ videoGenerateResults: { 'type': 'array', 'itemType': GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults },
900
1207
  videoMindMappingGenerateResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult,
901
1208
  videoTitleGenerateResult: GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult,
902
1209
  };
@@ -912,6 +1219,9 @@ export class GetVideoAnalysisTaskResponseBodyDataPayloadOutput extends $dara.Mod
912
1219
  if(this.videoGenerateResult && typeof (this.videoGenerateResult as any).validate === 'function') {
913
1220
  (this.videoGenerateResult as any).validate();
914
1221
  }
1222
+ if(Array.isArray(this.videoGenerateResults)) {
1223
+ $dara.Model.validateArray(this.videoGenerateResults);
1224
+ }
915
1225
  if(this.videoMindMappingGenerateResult && typeof (this.videoMindMappingGenerateResult as any).validate === 'function') {
916
1226
  (this.videoMindMappingGenerateResult as any).validate();
917
1227
  }
@@ -3668,10 +3978,39 @@ export class RunVideoAnalysisRequestFrameSampleMethod extends $dara.Model {
3668
3978
  }
3669
3979
  }
3670
3980
 
3671
- export class RunVideoAnalysisRequestVideoRoles extends $dara.Model {
3672
- roleInfo?: string;
3673
- roleName?: string;
3674
- urls?: string[];
3981
+ export class RunVideoAnalysisRequestTextProcessTasks extends $dara.Model {
3982
+ modelCustomPromptTemplate?: string;
3983
+ modelCustomPromptTemplateId?: string;
3984
+ modelId?: string;
3985
+ static names(): { [key: string]: string } {
3986
+ return {
3987
+ modelCustomPromptTemplate: 'modelCustomPromptTemplate',
3988
+ modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
3989
+ modelId: 'modelId',
3990
+ };
3991
+ }
3992
+
3993
+ static types(): { [key: string]: any } {
3994
+ return {
3995
+ modelCustomPromptTemplate: 'string',
3996
+ modelCustomPromptTemplateId: 'string',
3997
+ modelId: 'string',
3998
+ };
3999
+ }
4000
+
4001
+ validate() {
4002
+ super.validate();
4003
+ }
4004
+
4005
+ constructor(map?: { [key: string]: any }) {
4006
+ super(map);
4007
+ }
4008
+ }
4009
+
4010
+ export class RunVideoAnalysisRequestVideoRoles extends $dara.Model {
4011
+ roleInfo?: string;
4012
+ roleName?: string;
4013
+ urls?: string[];
3675
4014
  static names(): { [key: string]: string } {
3676
4015
  return {
3677
4016
  roleInfo: 'roleInfo',
@@ -4027,19 +4366,23 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
4027
4366
  * true
4028
4367
  */
4029
4368
  generateFinished?: boolean;
4369
+ index?: number;
4030
4370
  /**
4031
4371
  * @example
4032
4372
  * qwen-max
4033
4373
  */
4034
4374
  modelId?: string;
4035
4375
  modelReduce?: boolean;
4376
+ reasonText?: string;
4036
4377
  text?: string;
4037
4378
  usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage;
4038
4379
  static names(): { [key: string]: string } {
4039
4380
  return {
4040
4381
  generateFinished: 'generateFinished',
4382
+ index: 'index',
4041
4383
  modelId: 'modelId',
4042
4384
  modelReduce: 'modelReduce',
4385
+ reasonText: 'reasonText',
4043
4386
  text: 'text',
4044
4387
  usage: 'usage',
4045
4388
  };
@@ -4048,8 +4391,10 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
4048
4391
  static types(): { [key: string]: any } {
4049
4392
  return {
4050
4393
  generateFinished: 'boolean',
4394
+ index: 'number',
4051
4395
  modelId: 'string',
4052
4396
  modelReduce: 'boolean',
4397
+ reasonText: 'string',
4053
4398
  text: 'string',
4054
4399
  usage: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage,
4055
4400
  };
@@ -4067,6 +4412,76 @@ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult extend
4067
4412
  }
4068
4413
  }
4069
4414
 
4415
+ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage extends $dara.Model {
4416
+ inputTokens?: number;
4417
+ outputTokens?: number;
4418
+ totalTokens?: number;
4419
+ static names(): { [key: string]: string } {
4420
+ return {
4421
+ inputTokens: 'inputTokens',
4422
+ outputTokens: 'outputTokens',
4423
+ totalTokens: 'totalTokens',
4424
+ };
4425
+ }
4426
+
4427
+ static types(): { [key: string]: any } {
4428
+ return {
4429
+ inputTokens: 'number',
4430
+ outputTokens: 'number',
4431
+ totalTokens: 'number',
4432
+ };
4433
+ }
4434
+
4435
+ validate() {
4436
+ super.validate();
4437
+ }
4438
+
4439
+ constructor(map?: { [key: string]: any }) {
4440
+ super(map);
4441
+ }
4442
+ }
4443
+
4444
+ export class RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults extends $dara.Model {
4445
+ generateFinished?: boolean;
4446
+ index?: number;
4447
+ modelId?: string;
4448
+ reasonText?: string;
4449
+ text?: string;
4450
+ usage?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage;
4451
+ static names(): { [key: string]: string } {
4452
+ return {
4453
+ generateFinished: 'generateFinished',
4454
+ index: 'index',
4455
+ modelId: 'modelId',
4456
+ reasonText: 'reasonText',
4457
+ text: 'text',
4458
+ usage: 'usage',
4459
+ };
4460
+ }
4461
+
4462
+ static types(): { [key: string]: any } {
4463
+ return {
4464
+ generateFinished: 'boolean',
4465
+ index: 'number',
4466
+ modelId: 'string',
4467
+ reasonText: 'string',
4468
+ text: 'string',
4469
+ usage: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage,
4470
+ };
4471
+ }
4472
+
4473
+ validate() {
4474
+ if(this.usage && typeof (this.usage as any).validate === 'function') {
4475
+ (this.usage as any).validate();
4476
+ }
4477
+ super.validate();
4478
+ }
4479
+
4480
+ constructor(map?: { [key: string]: any }) {
4481
+ super(map);
4482
+ }
4483
+ }
4484
+
4070
4485
  export class RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage extends $dara.Model {
4071
4486
  /**
4072
4487
  * @example
@@ -4424,6 +4839,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
4424
4839
  videoAnalysisResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult;
4425
4840
  videoCaptionResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult;
4426
4841
  videoGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult;
4842
+ videoGenerateResults?: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults[];
4427
4843
  videoMindMappingGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult;
4428
4844
  videoShotSnapshotResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult;
4429
4845
  videoTitleGenerateResult?: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult;
@@ -4433,6 +4849,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
4433
4849
  videoAnalysisResult: 'videoAnalysisResult',
4434
4850
  videoCaptionResult: 'videoCaptionResult',
4435
4851
  videoGenerateResult: 'videoGenerateResult',
4852
+ videoGenerateResults: 'videoGenerateResults',
4436
4853
  videoMindMappingGenerateResult: 'videoMindMappingGenerateResult',
4437
4854
  videoShotSnapshotResult: 'videoShotSnapshotResult',
4438
4855
  videoTitleGenerateResult: 'videoTitleGenerateResult',
@@ -4445,6 +4862,7 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
4445
4862
  videoAnalysisResult: RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult,
4446
4863
  videoCaptionResult: RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult,
4447
4864
  videoGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult,
4865
+ videoGenerateResults: { 'type': 'array', 'itemType': RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults },
4448
4866
  videoMindMappingGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult,
4449
4867
  videoShotSnapshotResult: RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult,
4450
4868
  videoTitleGenerateResult: RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult,
@@ -4461,6 +4879,9 @@ export class RunVideoAnalysisResponseBodyPayloadOutput extends $dara.Model {
4461
4879
  if(this.videoGenerateResult && typeof (this.videoGenerateResult as any).validate === 'function') {
4462
4880
  (this.videoGenerateResult as any).validate();
4463
4881
  }
4882
+ if(Array.isArray(this.videoGenerateResults)) {
4883
+ $dara.Model.validateArray(this.videoGenerateResults);
4884
+ }
4464
4885
  if(this.videoMindMappingGenerateResult && typeof (this.videoMindMappingGenerateResult as any).validate === 'function') {
4465
4886
  (this.videoMindMappingGenerateResult as any).validate();
4466
4887
  }
@@ -4539,6 +4960,67 @@ export class RunVideoAnalysisResponseBodyPayload extends $dara.Model {
4539
4960
  }
4540
4961
  }
4541
4962
 
4963
+ export class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
4964
+ /**
4965
+ * @example
4966
+ * xxxx
4967
+ */
4968
+ tagDefinePrompt?: string;
4969
+ /**
4970
+ * @example
4971
+ * xxxx
4972
+ */
4973
+ tagName?: string;
4974
+ static names(): { [key: string]: string } {
4975
+ return {
4976
+ tagDefinePrompt: 'tagDefinePrompt',
4977
+ tagName: 'tagName',
4978
+ };
4979
+ }
4980
+
4981
+ static types(): { [key: string]: any } {
4982
+ return {
4983
+ tagDefinePrompt: 'string',
4984
+ tagName: 'string',
4985
+ };
4986
+ }
4987
+
4988
+ validate() {
4989
+ super.validate();
4990
+ }
4991
+
4992
+ constructor(map?: { [key: string]: any }) {
4993
+ super(map);
4994
+ }
4995
+ }
4996
+
4997
+ export class SubmitTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
4998
+ /**
4999
+ * @example
5000
+ * 3feb69ed02d9b1a17d0f1a942675d300
5001
+ */
5002
+ taskId?: string;
5003
+ static names(): { [key: string]: string } {
5004
+ return {
5005
+ taskId: 'taskId',
5006
+ };
5007
+ }
5008
+
5009
+ static types(): { [key: string]: any } {
5010
+ return {
5011
+ taskId: 'string',
5012
+ };
5013
+ }
5014
+
5015
+ validate() {
5016
+ super.validate();
5017
+ }
5018
+
5019
+ constructor(map?: { [key: string]: any }) {
5020
+ super(map);
5021
+ }
5022
+ }
5023
+
4542
5024
  export class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model {
4543
5025
  /**
4544
5026
  * @example
@@ -4580,6 +5062,35 @@ export class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model
4580
5062
  }
4581
5063
  }
4582
5064
 
5065
+ export class SubmitVideoAnalysisTaskRequestTextProcessTasks extends $dara.Model {
5066
+ modelCustomPromptTemplate?: string;
5067
+ modelCustomPromptTemplateId?: string;
5068
+ modelId?: string;
5069
+ static names(): { [key: string]: string } {
5070
+ return {
5071
+ modelCustomPromptTemplate: 'modelCustomPromptTemplate',
5072
+ modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
5073
+ modelId: 'modelId',
5074
+ };
5075
+ }
5076
+
5077
+ static types(): { [key: string]: any } {
5078
+ return {
5079
+ modelCustomPromptTemplate: 'string',
5080
+ modelCustomPromptTemplateId: 'string',
5081
+ modelId: 'string',
5082
+ };
5083
+ }
5084
+
5085
+ validate() {
5086
+ super.validate();
5087
+ }
5088
+
5089
+ constructor(map?: { [key: string]: any }) {
5090
+ super(map);
5091
+ }
5092
+ }
5093
+
4583
5094
  export class SubmitVideoAnalysisTaskRequestVideoRoles extends $dara.Model {
4584
5095
  roleInfo?: string;
4585
5096
  roleName?: string;
@@ -4858,11 +5369,137 @@ export class GenerateOutputFormatShrinkRequest extends $dara.Model {
4858
5369
 
4859
5370
  static types(): { [key: string]: any } {
4860
5371
  return {
4861
- businessType: 'string',
4862
- content: 'string',
4863
- extraInfo: 'string',
4864
- tagsShrink: 'string',
4865
- taskDescription: 'string',
5372
+ businessType: 'string',
5373
+ content: 'string',
5374
+ extraInfo: 'string',
5375
+ tagsShrink: 'string',
5376
+ taskDescription: 'string',
5377
+ };
5378
+ }
5379
+
5380
+ validate() {
5381
+ super.validate();
5382
+ }
5383
+
5384
+ constructor(map?: { [key: string]: any }) {
5385
+ super(map);
5386
+ }
5387
+ }
5388
+
5389
+ export class GenerateOutputFormatResponseBody extends $dara.Model {
5390
+ /**
5391
+ * @example
5392
+ * successful
5393
+ */
5394
+ code?: string;
5395
+ data?: GenerateOutputFormatResponseBodyData;
5396
+ /**
5397
+ * @example
5398
+ * 200
5399
+ */
5400
+ httpStatusCode?: number;
5401
+ /**
5402
+ * @example
5403
+ * ok
5404
+ */
5405
+ message?: string;
5406
+ /**
5407
+ * @remarks
5408
+ * Id of the request
5409
+ *
5410
+ * @example
5411
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
5412
+ */
5413
+ requestId?: string;
5414
+ /**
5415
+ * @example
5416
+ * True
5417
+ */
5418
+ success?: boolean;
5419
+ static names(): { [key: string]: string } {
5420
+ return {
5421
+ code: 'code',
5422
+ data: 'data',
5423
+ httpStatusCode: 'httpStatusCode',
5424
+ message: 'message',
5425
+ requestId: 'requestId',
5426
+ success: 'success',
5427
+ };
5428
+ }
5429
+
5430
+ static types(): { [key: string]: any } {
5431
+ return {
5432
+ code: 'string',
5433
+ data: GenerateOutputFormatResponseBodyData,
5434
+ httpStatusCode: 'number',
5435
+ message: 'string',
5436
+ requestId: 'string',
5437
+ success: 'boolean',
5438
+ };
5439
+ }
5440
+
5441
+ validate() {
5442
+ if(this.data && typeof (this.data as any).validate === 'function') {
5443
+ (this.data as any).validate();
5444
+ }
5445
+ super.validate();
5446
+ }
5447
+
5448
+ constructor(map?: { [key: string]: any }) {
5449
+ super(map);
5450
+ }
5451
+ }
5452
+
5453
+ export class GenerateOutputFormatResponse extends $dara.Model {
5454
+ headers?: { [key: string]: string };
5455
+ statusCode?: number;
5456
+ body?: GenerateOutputFormatResponseBody;
5457
+ static names(): { [key: string]: string } {
5458
+ return {
5459
+ headers: 'headers',
5460
+ statusCode: 'statusCode',
5461
+ body: 'body',
5462
+ };
5463
+ }
5464
+
5465
+ static types(): { [key: string]: any } {
5466
+ return {
5467
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5468
+ statusCode: 'number',
5469
+ body: GenerateOutputFormatResponseBody,
5470
+ };
5471
+ }
5472
+
5473
+ validate() {
5474
+ if(this.headers) {
5475
+ $dara.Model.validateMap(this.headers);
5476
+ }
5477
+ if(this.body && typeof (this.body as any).validate === 'function') {
5478
+ (this.body as any).validate();
5479
+ }
5480
+ super.validate();
5481
+ }
5482
+
5483
+ constructor(map?: { [key: string]: any }) {
5484
+ super(map);
5485
+ }
5486
+ }
5487
+
5488
+ export class GetTagMiningAnalysisTaskRequest extends $dara.Model {
5489
+ /**
5490
+ * @example
5491
+ * a3d1c2ac-f086-4a21-9069-f5631542f5a2
5492
+ */
5493
+ taskId?: string;
5494
+ static names(): { [key: string]: string } {
5495
+ return {
5496
+ taskId: 'taskId',
5497
+ };
5498
+ }
5499
+
5500
+ static types(): { [key: string]: any } {
5501
+ return {
5502
+ taskId: 'string',
4866
5503
  };
4867
5504
  }
4868
5505
 
@@ -4875,34 +5512,34 @@ export class GenerateOutputFormatShrinkRequest extends $dara.Model {
4875
5512
  }
4876
5513
  }
4877
5514
 
4878
- export class GenerateOutputFormatResponseBody extends $dara.Model {
5515
+ export class GetTagMiningAnalysisTaskResponseBody extends $dara.Model {
4879
5516
  /**
4880
5517
  * @example
4881
5518
  * successful
4882
5519
  */
4883
5520
  code?: string;
4884
- data?: GenerateOutputFormatResponseBodyData;
5521
+ data?: GetTagMiningAnalysisTaskResponseBodyData;
4885
5522
  /**
4886
5523
  * @example
4887
5524
  * 200
4888
5525
  */
4889
- httpStatusCode?: number;
5526
+ httpStatusCode?: string;
4890
5527
  /**
4891
5528
  * @example
4892
- * ok
5529
+ * DataNotExists
4893
5530
  */
4894
5531
  message?: string;
4895
5532
  /**
4896
5533
  * @remarks
4897
- * Id of the request
5534
+ * requestId
4898
5535
  *
4899
5536
  * @example
4900
- * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
5537
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
4901
5538
  */
4902
5539
  requestId?: string;
4903
5540
  /**
4904
5541
  * @example
4905
- * True
5542
+ * true
4906
5543
  */
4907
5544
  success?: boolean;
4908
5545
  static names(): { [key: string]: string } {
@@ -4919,8 +5556,8 @@ export class GenerateOutputFormatResponseBody extends $dara.Model {
4919
5556
  static types(): { [key: string]: any } {
4920
5557
  return {
4921
5558
  code: 'string',
4922
- data: GenerateOutputFormatResponseBodyData,
4923
- httpStatusCode: 'number',
5559
+ data: GetTagMiningAnalysisTaskResponseBodyData,
5560
+ httpStatusCode: 'string',
4924
5561
  message: 'string',
4925
5562
  requestId: 'string',
4926
5563
  success: 'boolean',
@@ -4939,10 +5576,10 @@ export class GenerateOutputFormatResponseBody extends $dara.Model {
4939
5576
  }
4940
5577
  }
4941
5578
 
4942
- export class GenerateOutputFormatResponse extends $dara.Model {
5579
+ export class GetTagMiningAnalysisTaskResponse extends $dara.Model {
4943
5580
  headers?: { [key: string]: string };
4944
5581
  statusCode?: number;
4945
- body?: GenerateOutputFormatResponseBody;
5582
+ body?: GetTagMiningAnalysisTaskResponseBody;
4946
5583
  static names(): { [key: string]: string } {
4947
5584
  return {
4948
5585
  headers: 'headers',
@@ -4955,7 +5592,7 @@ export class GenerateOutputFormatResponse extends $dara.Model {
4955
5592
  return {
4956
5593
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4957
5594
  statusCode: 'number',
4958
- body: GenerateOutputFormatResponseBody,
5595
+ body: GetTagMiningAnalysisTaskResponseBody,
4959
5596
  };
4960
5597
  }
4961
5598
 
@@ -7114,6 +7751,7 @@ export class RunTagMiningAnalysisResponse extends $dara.Model {
7114
7751
  }
7115
7752
 
7116
7753
  export class RunVideoAnalysisRequest extends $dara.Model {
7754
+ faceIdentitySimilarityMinScore?: number;
7117
7755
  frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
7118
7756
  generateOptions?: string[];
7119
7757
  /**
@@ -7143,6 +7781,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7143
7781
  * a3d1c2ac-f086-4a21-9069-f5631542f5a2
7144
7782
  */
7145
7783
  taskId?: string;
7784
+ textProcessTasks?: RunVideoAnalysisRequestTextProcessTasks[];
7146
7785
  videoExtraInfo?: string;
7147
7786
  videoModelCustomPromptTemplate?: string;
7148
7787
  /**
@@ -7151,6 +7790,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7151
7790
  */
7152
7791
  videoModelId?: string;
7153
7792
  videoRoles?: RunVideoAnalysisRequestVideoRoles[];
7793
+ videoShotFaceIdentityCount?: number;
7154
7794
  /**
7155
7795
  * @example
7156
7796
  * http://xxxx.mp4
@@ -7158,6 +7798,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7158
7798
  videoUrl?: string;
7159
7799
  static names(): { [key: string]: string } {
7160
7800
  return {
7801
+ faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
7161
7802
  frameSampleMethod: 'frameSampleMethod',
7162
7803
  generateOptions: 'generateOptions',
7163
7804
  language: 'language',
@@ -7167,16 +7808,19 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7167
7808
  originalSessionId: 'originalSessionId',
7168
7809
  snapshotInterval: 'snapshotInterval',
7169
7810
  taskId: 'taskId',
7811
+ textProcessTasks: 'textProcessTasks',
7170
7812
  videoExtraInfo: 'videoExtraInfo',
7171
7813
  videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
7172
7814
  videoModelId: 'videoModelId',
7173
7815
  videoRoles: 'videoRoles',
7816
+ videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
7174
7817
  videoUrl: 'videoUrl',
7175
7818
  };
7176
7819
  }
7177
7820
 
7178
7821
  static types(): { [key: string]: any } {
7179
7822
  return {
7823
+ faceIdentitySimilarityMinScore: 'number',
7180
7824
  frameSampleMethod: RunVideoAnalysisRequestFrameSampleMethod,
7181
7825
  generateOptions: { 'type': 'array', 'itemType': 'string' },
7182
7826
  language: 'string',
@@ -7186,23 +7830,275 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7186
7830
  originalSessionId: 'string',
7187
7831
  snapshotInterval: 'number',
7188
7832
  taskId: 'string',
7833
+ textProcessTasks: { 'type': 'array', 'itemType': RunVideoAnalysisRequestTextProcessTasks },
7189
7834
  videoExtraInfo: 'string',
7190
7835
  videoModelCustomPromptTemplate: 'string',
7191
7836
  videoModelId: 'string',
7192
7837
  videoRoles: { 'type': 'array', 'itemType': RunVideoAnalysisRequestVideoRoles },
7838
+ videoShotFaceIdentityCount: 'number',
7839
+ videoUrl: 'string',
7840
+ };
7841
+ }
7842
+
7843
+ validate() {
7844
+ if(this.frameSampleMethod && typeof (this.frameSampleMethod as any).validate === 'function') {
7845
+ (this.frameSampleMethod as any).validate();
7846
+ }
7847
+ if(Array.isArray(this.generateOptions)) {
7848
+ $dara.Model.validateArray(this.generateOptions);
7849
+ }
7850
+ if(Array.isArray(this.textProcessTasks)) {
7851
+ $dara.Model.validateArray(this.textProcessTasks);
7852
+ }
7853
+ if(Array.isArray(this.videoRoles)) {
7854
+ $dara.Model.validateArray(this.videoRoles);
7855
+ }
7856
+ super.validate();
7857
+ }
7858
+
7859
+ constructor(map?: { [key: string]: any }) {
7860
+ super(map);
7861
+ }
7862
+ }
7863
+
7864
+ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7865
+ faceIdentitySimilarityMinScore?: number;
7866
+ frameSampleMethodShrink?: string;
7867
+ generateOptionsShrink?: string;
7868
+ /**
7869
+ * @example
7870
+ * english
7871
+ */
7872
+ language?: string;
7873
+ modelCustomPromptTemplate?: string;
7874
+ /**
7875
+ * @example
7876
+ * PlotDetail
7877
+ */
7878
+ modelCustomPromptTemplateId?: string;
7879
+ /**
7880
+ * @example
7881
+ * qwen-max
7882
+ */
7883
+ modelId?: string;
7884
+ /**
7885
+ * @example
7886
+ * a3d1c2ac-f086-4a21-9069-f5631542f5ax
7887
+ */
7888
+ originalSessionId?: string;
7889
+ snapshotInterval?: number;
7890
+ /**
7891
+ * @example
7892
+ * a3d1c2ac-f086-4a21-9069-f5631542f5a2
7893
+ */
7894
+ taskId?: string;
7895
+ textProcessTasksShrink?: string;
7896
+ videoExtraInfo?: string;
7897
+ videoModelCustomPromptTemplate?: string;
7898
+ /**
7899
+ * @example
7900
+ * qwen-vl-max
7901
+ */
7902
+ videoModelId?: string;
7903
+ videoRolesShrink?: string;
7904
+ videoShotFaceIdentityCount?: number;
7905
+ /**
7906
+ * @example
7907
+ * http://xxxx.mp4
7908
+ */
7909
+ videoUrl?: string;
7910
+ static names(): { [key: string]: string } {
7911
+ return {
7912
+ faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
7913
+ frameSampleMethodShrink: 'frameSampleMethod',
7914
+ generateOptionsShrink: 'generateOptions',
7915
+ language: 'language',
7916
+ modelCustomPromptTemplate: 'modelCustomPromptTemplate',
7917
+ modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
7918
+ modelId: 'modelId',
7919
+ originalSessionId: 'originalSessionId',
7920
+ snapshotInterval: 'snapshotInterval',
7921
+ taskId: 'taskId',
7922
+ textProcessTasksShrink: 'textProcessTasks',
7923
+ videoExtraInfo: 'videoExtraInfo',
7924
+ videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
7925
+ videoModelId: 'videoModelId',
7926
+ videoRolesShrink: 'videoRoles',
7927
+ videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
7928
+ videoUrl: 'videoUrl',
7929
+ };
7930
+ }
7931
+
7932
+ static types(): { [key: string]: any } {
7933
+ return {
7934
+ faceIdentitySimilarityMinScore: 'number',
7935
+ frameSampleMethodShrink: 'string',
7936
+ generateOptionsShrink: 'string',
7937
+ language: 'string',
7938
+ modelCustomPromptTemplate: 'string',
7939
+ modelCustomPromptTemplateId: 'string',
7940
+ modelId: 'string',
7941
+ originalSessionId: 'string',
7942
+ snapshotInterval: 'number',
7943
+ taskId: 'string',
7944
+ textProcessTasksShrink: 'string',
7945
+ videoExtraInfo: 'string',
7946
+ videoModelCustomPromptTemplate: 'string',
7947
+ videoModelId: 'string',
7948
+ videoRolesShrink: 'string',
7949
+ videoShotFaceIdentityCount: 'number',
7193
7950
  videoUrl: 'string',
7194
7951
  };
7195
7952
  }
7196
7953
 
7197
7954
  validate() {
7198
- if(this.frameSampleMethod && typeof (this.frameSampleMethod as any).validate === 'function') {
7199
- (this.frameSampleMethod as any).validate();
7200
- }
7201
- if(Array.isArray(this.generateOptions)) {
7202
- $dara.Model.validateArray(this.generateOptions);
7955
+ super.validate();
7956
+ }
7957
+
7958
+ constructor(map?: { [key: string]: any }) {
7959
+ super(map);
7960
+ }
7961
+ }
7962
+
7963
+ export class RunVideoAnalysisResponseBody extends $dara.Model {
7964
+ header?: RunVideoAnalysisResponseBodyHeader;
7965
+ payload?: RunVideoAnalysisResponseBodyPayload;
7966
+ /**
7967
+ * @example
7968
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
7969
+ */
7970
+ requestId?: string;
7971
+ static names(): { [key: string]: string } {
7972
+ return {
7973
+ header: 'header',
7974
+ payload: 'payload',
7975
+ requestId: 'requestId',
7976
+ };
7977
+ }
7978
+
7979
+ static types(): { [key: string]: any } {
7980
+ return {
7981
+ header: RunVideoAnalysisResponseBodyHeader,
7982
+ payload: RunVideoAnalysisResponseBodyPayload,
7983
+ requestId: 'string',
7984
+ };
7985
+ }
7986
+
7987
+ validate() {
7988
+ if(this.header && typeof (this.header as any).validate === 'function') {
7989
+ (this.header as any).validate();
7990
+ }
7991
+ if(this.payload && typeof (this.payload as any).validate === 'function') {
7992
+ (this.payload as any).validate();
7993
+ }
7994
+ super.validate();
7995
+ }
7996
+
7997
+ constructor(map?: { [key: string]: any }) {
7998
+ super(map);
7999
+ }
8000
+ }
8001
+
8002
+ export class RunVideoAnalysisResponse extends $dara.Model {
8003
+ headers?: { [key: string]: string };
8004
+ statusCode?: number;
8005
+ body?: RunVideoAnalysisResponseBody;
8006
+ static names(): { [key: string]: string } {
8007
+ return {
8008
+ headers: 'headers',
8009
+ statusCode: 'statusCode',
8010
+ body: 'body',
8011
+ };
8012
+ }
8013
+
8014
+ static types(): { [key: string]: any } {
8015
+ return {
8016
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8017
+ statusCode: 'number',
8018
+ body: RunVideoAnalysisResponseBody,
8019
+ };
8020
+ }
8021
+
8022
+ validate() {
8023
+ if(this.headers) {
8024
+ $dara.Model.validateMap(this.headers);
8025
+ }
8026
+ if(this.body && typeof (this.body as any).validate === 'function') {
8027
+ (this.body as any).validate();
8028
+ }
8029
+ super.validate();
8030
+ }
8031
+
8032
+ constructor(map?: { [key: string]: any }) {
8033
+ super(map);
8034
+ }
8035
+ }
8036
+
8037
+ export class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
8038
+ /**
8039
+ * @example
8040
+ * clueMining
8041
+ */
8042
+ businessType?: string;
8043
+ contents?: string[];
8044
+ /**
8045
+ * @example
8046
+ * 额外信息
8047
+ */
8048
+ extraInfo?: string;
8049
+ /**
8050
+ * @example
8051
+ * qwen-max
8052
+ */
8053
+ modelId?: string;
8054
+ /**
8055
+ * @example
8056
+ * 请返回如下JSON格式,{"key1":"","key2":""}
8057
+ */
8058
+ outputFormat?: string;
8059
+ tags?: SubmitTagMiningAnalysisTaskRequestTags[];
8060
+ /**
8061
+ * @example
8062
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
8063
+ */
8064
+ taskDescription?: string;
8065
+ /**
8066
+ * @example
8067
+ * http://www.example.com/xxxx.txt
8068
+ */
8069
+ url?: string;
8070
+ static names(): { [key: string]: string } {
8071
+ return {
8072
+ businessType: 'businessType',
8073
+ contents: 'contents',
8074
+ extraInfo: 'extraInfo',
8075
+ modelId: 'modelId',
8076
+ outputFormat: 'outputFormat',
8077
+ tags: 'tags',
8078
+ taskDescription: 'taskDescription',
8079
+ url: 'url',
8080
+ };
8081
+ }
8082
+
8083
+ static types(): { [key: string]: any } {
8084
+ return {
8085
+ businessType: 'string',
8086
+ contents: { 'type': 'array', 'itemType': 'string' },
8087
+ extraInfo: 'string',
8088
+ modelId: 'string',
8089
+ outputFormat: 'string',
8090
+ tags: { 'type': 'array', 'itemType': SubmitTagMiningAnalysisTaskRequestTags },
8091
+ taskDescription: 'string',
8092
+ url: 'string',
8093
+ };
8094
+ }
8095
+
8096
+ validate() {
8097
+ if(Array.isArray(this.contents)) {
8098
+ $dara.Model.validateArray(this.contents);
7203
8099
  }
7204
- if(Array.isArray(this.videoRoles)) {
7205
- $dara.Model.validateArray(this.videoRoles);
8100
+ if(Array.isArray(this.tags)) {
8101
+ $dara.Model.validateArray(this.tags);
7206
8102
  }
7207
8103
  super.validate();
7208
8104
  }
@@ -7212,20 +8108,18 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7212
8108
  }
7213
8109
  }
7214
8110
 
7215
- export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7216
- frameSampleMethodShrink?: string;
7217
- generateOptionsShrink?: string;
8111
+ export class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
7218
8112
  /**
7219
8113
  * @example
7220
- * english
8114
+ * clueMining
7221
8115
  */
7222
- language?: string;
7223
- modelCustomPromptTemplate?: string;
8116
+ businessType?: string;
8117
+ contentsShrink?: string;
7224
8118
  /**
7225
8119
  * @example
7226
- * PlotDetail
8120
+ * 额外信息
7227
8121
  */
7228
- modelCustomPromptTemplateId?: string;
8122
+ extraInfo?: string;
7229
8123
  /**
7230
8124
  * @example
7231
8125
  * qwen-max
@@ -7233,63 +8127,43 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7233
8127
  modelId?: string;
7234
8128
  /**
7235
8129
  * @example
7236
- * a3d1c2ac-f086-4a21-9069-f5631542f5ax
7237
- */
7238
- originalSessionId?: string;
7239
- snapshotInterval?: number;
7240
- /**
7241
- * @example
7242
- * a3d1c2ac-f086-4a21-9069-f5631542f5a2
8130
+ * 请返回如下JSON格式,{"key1":"","key2":""}
7243
8131
  */
7244
- taskId?: string;
7245
- videoExtraInfo?: string;
7246
- videoModelCustomPromptTemplate?: string;
8132
+ outputFormat?: string;
8133
+ tagsShrink?: string;
7247
8134
  /**
7248
8135
  * @example
7249
- * qwen-vl-max
8136
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
7250
8137
  */
7251
- videoModelId?: string;
7252
- videoRolesShrink?: string;
8138
+ taskDescription?: string;
7253
8139
  /**
7254
8140
  * @example
7255
- * http://xxxx.mp4
8141
+ * http://www.example.com/xxxx.txt
7256
8142
  */
7257
- videoUrl?: string;
8143
+ url?: string;
7258
8144
  static names(): { [key: string]: string } {
7259
8145
  return {
7260
- frameSampleMethodShrink: 'frameSampleMethod',
7261
- generateOptionsShrink: 'generateOptions',
7262
- language: 'language',
7263
- modelCustomPromptTemplate: 'modelCustomPromptTemplate',
7264
- modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
8146
+ businessType: 'businessType',
8147
+ contentsShrink: 'contents',
8148
+ extraInfo: 'extraInfo',
7265
8149
  modelId: 'modelId',
7266
- originalSessionId: 'originalSessionId',
7267
- snapshotInterval: 'snapshotInterval',
7268
- taskId: 'taskId',
7269
- videoExtraInfo: 'videoExtraInfo',
7270
- videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
7271
- videoModelId: 'videoModelId',
7272
- videoRolesShrink: 'videoRoles',
7273
- videoUrl: 'videoUrl',
8150
+ outputFormat: 'outputFormat',
8151
+ tagsShrink: 'tags',
8152
+ taskDescription: 'taskDescription',
8153
+ url: 'url',
7274
8154
  };
7275
8155
  }
7276
8156
 
7277
8157
  static types(): { [key: string]: any } {
7278
8158
  return {
7279
- frameSampleMethodShrink: 'string',
7280
- generateOptionsShrink: 'string',
7281
- language: 'string',
7282
- modelCustomPromptTemplate: 'string',
7283
- modelCustomPromptTemplateId: 'string',
8159
+ businessType: 'string',
8160
+ contentsShrink: 'string',
8161
+ extraInfo: 'string',
7284
8162
  modelId: 'string',
7285
- originalSessionId: 'string',
7286
- snapshotInterval: 'number',
7287
- taskId: 'string',
7288
- videoExtraInfo: 'string',
7289
- videoModelCustomPromptTemplate: 'string',
7290
- videoModelId: 'string',
7291
- videoRolesShrink: 'string',
7292
- videoUrl: 'string',
8163
+ outputFormat: 'string',
8164
+ tagsShrink: 'string',
8165
+ taskDescription: 'string',
8166
+ url: 'string',
7293
8167
  };
7294
8168
  }
7295
8169
 
@@ -7302,36 +8176,61 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7302
8176
  }
7303
8177
  }
7304
8178
 
7305
- export class RunVideoAnalysisResponseBody extends $dara.Model {
7306
- header?: RunVideoAnalysisResponseBodyHeader;
7307
- payload?: RunVideoAnalysisResponseBodyPayload;
8179
+ export class SubmitTagMiningAnalysisTaskResponseBody extends $dara.Model {
8180
+ /**
8181
+ * @example
8182
+ * successful
8183
+ */
8184
+ code?: string;
8185
+ data?: SubmitTagMiningAnalysisTaskResponseBodyData;
8186
+ /**
8187
+ * @example
8188
+ * 200
8189
+ */
8190
+ httpStatusCode?: number;
7308
8191
  /**
8192
+ * @example
8193
+ * ok
8194
+ */
8195
+ message?: string;
8196
+ /**
8197
+ * @remarks
8198
+ * Id of the request
8199
+ *
7309
8200
  * @example
7310
8201
  * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
7311
8202
  */
7312
8203
  requestId?: string;
8204
+ /**
8205
+ * @example
8206
+ * true
8207
+ */
8208
+ success?: boolean;
7313
8209
  static names(): { [key: string]: string } {
7314
8210
  return {
7315
- header: 'header',
7316
- payload: 'payload',
8211
+ code: 'code',
8212
+ data: 'data',
8213
+ httpStatusCode: 'httpStatusCode',
8214
+ message: 'message',
7317
8215
  requestId: 'requestId',
8216
+ success: 'success',
7318
8217
  };
7319
8218
  }
7320
8219
 
7321
8220
  static types(): { [key: string]: any } {
7322
8221
  return {
7323
- header: RunVideoAnalysisResponseBodyHeader,
7324
- payload: RunVideoAnalysisResponseBodyPayload,
8222
+ code: 'string',
8223
+ data: SubmitTagMiningAnalysisTaskResponseBodyData,
8224
+ httpStatusCode: 'number',
8225
+ message: 'string',
7325
8226
  requestId: 'string',
8227
+ success: 'boolean',
7326
8228
  };
7327
8229
  }
7328
8230
 
7329
8231
  validate() {
7330
- if(this.header && typeof (this.header as any).validate === 'function') {
7331
- (this.header as any).validate();
7332
- }
7333
- if(this.payload && typeof (this.payload as any).validate === 'function') {
7334
- (this.payload as any).validate();
8232
+ if(this.data && typeof (this.data as any).validate === 'function') {
8233
+ (this.data as any).validate();
7335
8234
  }
7336
8235
  super.validate();
7337
8236
  }
@@ -7341,10 +8240,10 @@ export class RunVideoAnalysisResponseBody extends $dara.Model {
7341
8240
  }
7342
8241
  }
7343
8242
 
7344
- export class RunVideoAnalysisResponse extends $dara.Model {
8243
+ export class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
7345
8244
  headers?: { [key: string]: string };
7346
8245
  statusCode?: number;
7347
- body?: RunVideoAnalysisResponseBody;
8246
+ body?: SubmitTagMiningAnalysisTaskResponseBody;
7348
8247
  static names(): { [key: string]: string } {
7349
8248
  return {
7350
8249
  headers: 'headers',
@@ -7357,7 +8256,7 @@ export class RunVideoAnalysisResponse extends $dara.Model {
7357
8256
  return {
7358
8257
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7359
8258
  statusCode: 'number',
7360
- body: RunVideoAnalysisResponseBody,
8259
+ body: SubmitTagMiningAnalysisTaskResponseBody,
7361
8260
  };
7362
8261
  }
7363
8262
 
@@ -7377,6 +8276,7 @@ export class RunVideoAnalysisResponse extends $dara.Model {
7377
8276
  }
7378
8277
 
7379
8278
  export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8279
+ faceIdentitySimilarityMinScore?: number;
7380
8280
  frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
7381
8281
  generateOptions?: string[];
7382
8282
  /**
@@ -7400,6 +8300,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7400
8300
  * 2
7401
8301
  */
7402
8302
  snapshotInterval?: number;
8303
+ textProcessTasks?: SubmitVideoAnalysisTaskRequestTextProcessTasks[];
7403
8304
  videoExtraInfo?: string;
7404
8305
  videoModelCustomPromptTemplate?: string;
7405
8306
  /**
@@ -7408,6 +8309,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7408
8309
  */
7409
8310
  videoModelId?: string;
7410
8311
  videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
8312
+ videoShotFaceIdentityCount?: number;
7411
8313
  /**
7412
8314
  * @remarks
7413
8315
  * This parameter is required.
@@ -7418,6 +8320,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7418
8320
  videoUrl?: string;
7419
8321
  static names(): { [key: string]: string } {
7420
8322
  return {
8323
+ faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
7421
8324
  frameSampleMethod: 'frameSampleMethod',
7422
8325
  generateOptions: 'generateOptions',
7423
8326
  language: 'language',
@@ -7425,16 +8328,19 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7425
8328
  modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
7426
8329
  modelId: 'modelId',
7427
8330
  snapshotInterval: 'snapshotInterval',
8331
+ textProcessTasks: 'textProcessTasks',
7428
8332
  videoExtraInfo: 'videoExtraInfo',
7429
8333
  videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
7430
8334
  videoModelId: 'videoModelId',
7431
8335
  videoRoles: 'videoRoles',
8336
+ videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
7432
8337
  videoUrl: 'videoUrl',
7433
8338
  };
7434
8339
  }
7435
8340
 
7436
8341
  static types(): { [key: string]: any } {
7437
8342
  return {
8343
+ faceIdentitySimilarityMinScore: 'number',
7438
8344
  frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
7439
8345
  generateOptions: { 'type': 'array', 'itemType': 'string' },
7440
8346
  language: 'string',
@@ -7442,10 +8348,12 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7442
8348
  modelCustomPromptTemplateId: 'string',
7443
8349
  modelId: 'string',
7444
8350
  snapshotInterval: 'number',
8351
+ textProcessTasks: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestTextProcessTasks },
7445
8352
  videoExtraInfo: 'string',
7446
8353
  videoModelCustomPromptTemplate: 'string',
7447
8354
  videoModelId: 'string',
7448
8355
  videoRoles: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestVideoRoles },
8356
+ videoShotFaceIdentityCount: 'number',
7449
8357
  videoUrl: 'string',
7450
8358
  };
7451
8359
  }
@@ -7457,6 +8365,9 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7457
8365
  if(Array.isArray(this.generateOptions)) {
7458
8366
  $dara.Model.validateArray(this.generateOptions);
7459
8367
  }
8368
+ if(Array.isArray(this.textProcessTasks)) {
8369
+ $dara.Model.validateArray(this.textProcessTasks);
8370
+ }
7460
8371
  if(Array.isArray(this.videoRoles)) {
7461
8372
  $dara.Model.validateArray(this.videoRoles);
7462
8373
  }
@@ -7469,6 +8380,7 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7469
8380
  }
7470
8381
 
7471
8382
  export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
8383
+ faceIdentitySimilarityMinScore?: number;
7472
8384
  frameSampleMethodShrink?: string;
7473
8385
  generateOptionsShrink?: string;
7474
8386
  /**
@@ -7492,6 +8404,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7492
8404
  * 2
7493
8405
  */
7494
8406
  snapshotInterval?: number;
8407
+ textProcessTasksShrink?: string;
7495
8408
  videoExtraInfo?: string;
7496
8409
  videoModelCustomPromptTemplate?: string;
7497
8410
  /**
@@ -7500,6 +8413,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7500
8413
  */
7501
8414
  videoModelId?: string;
7502
8415
  videoRolesShrink?: string;
8416
+ videoShotFaceIdentityCount?: number;
7503
8417
  /**
7504
8418
  * @remarks
7505
8419
  * This parameter is required.
@@ -7510,6 +8424,7 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7510
8424
  videoUrl?: string;
7511
8425
  static names(): { [key: string]: string } {
7512
8426
  return {
8427
+ faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
7513
8428
  frameSampleMethodShrink: 'frameSampleMethod',
7514
8429
  generateOptionsShrink: 'generateOptions',
7515
8430
  language: 'language',
@@ -7517,16 +8432,19 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7517
8432
  modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
7518
8433
  modelId: 'modelId',
7519
8434
  snapshotInterval: 'snapshotInterval',
8435
+ textProcessTasksShrink: 'textProcessTasks',
7520
8436
  videoExtraInfo: 'videoExtraInfo',
7521
8437
  videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
7522
8438
  videoModelId: 'videoModelId',
7523
8439
  videoRolesShrink: 'videoRoles',
8440
+ videoShotFaceIdentityCount: 'videoShotFaceIdentityCount',
7524
8441
  videoUrl: 'videoUrl',
7525
8442
  };
7526
8443
  }
7527
8444
 
7528
8445
  static types(): { [key: string]: any } {
7529
8446
  return {
8447
+ faceIdentitySimilarityMinScore: 'number',
7530
8448
  frameSampleMethodShrink: 'string',
7531
8449
  generateOptionsShrink: 'string',
7532
8450
  language: 'string',
@@ -7534,10 +8452,12 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7534
8452
  modelCustomPromptTemplateId: 'string',
7535
8453
  modelId: 'string',
7536
8454
  snapshotInterval: 'number',
8455
+ textProcessTasksShrink: 'string',
7537
8456
  videoExtraInfo: 'string',
7538
8457
  videoModelCustomPromptTemplate: 'string',
7539
8458
  videoModelId: 'string',
7540
8459
  videoRolesShrink: 'string',
8460
+ videoShotFaceIdentityCount: 'number',
7541
8461
  videoUrl: 'string',
7542
8462
  };
7543
8463
  }
@@ -7915,6 +8835,56 @@ export default class Client extends OpenApi {
7915
8835
  return await this.generateOutputFormatWithOptions(workspaceId, request, headers, runtime);
7916
8836
  }
7917
8837
 
8838
+ /**
8839
+ * 获取挖掘分析任务结果
8840
+ *
8841
+ * @param request - GetTagMiningAnalysisTaskRequest
8842
+ * @param headers - map
8843
+ * @param runtime - runtime options for this request RuntimeOptions
8844
+ * @returns GetTagMiningAnalysisTaskResponse
8845
+ */
8846
+ async getTagMiningAnalysisTaskWithOptions(workspaceId: string, request: GetTagMiningAnalysisTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<GetTagMiningAnalysisTaskResponse> {
8847
+ request.validate();
8848
+ let query : {[key: string ]: any} = { };
8849
+ if (!$dara.isNull(request.taskId)) {
8850
+ query["taskId"] = request.taskId;
8851
+ }
8852
+
8853
+ let req = new $OpenApiUtil.OpenApiRequest({
8854
+ headers: headers,
8855
+ query: OpenApiUtil.query(query),
8856
+ });
8857
+ let params = new $OpenApiUtil.Params({
8858
+ action: "GetTagMiningAnalysisTask",
8859
+ version: "2024-08-01",
8860
+ protocol: "HTTPS",
8861
+ pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/getTagMiningAnalysisTask`,
8862
+ method: "GET",
8863
+ authType: "AK",
8864
+ style: "ROA",
8865
+ reqBodyType: "json",
8866
+ bodyType: "json",
8867
+ });
8868
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8869
+ return $dara.cast<GetTagMiningAnalysisTaskResponse>(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
8870
+ } else {
8871
+ return $dara.cast<GetTagMiningAnalysisTaskResponse>(await this.execute(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
8872
+ }
8873
+
8874
+ }
8875
+
8876
+ /**
8877
+ * 获取挖掘分析任务结果
8878
+ *
8879
+ * @param request - GetTagMiningAnalysisTaskRequest
8880
+ * @returns GetTagMiningAnalysisTaskResponse
8881
+ */
8882
+ async getTagMiningAnalysisTask(workspaceId: string, request: GetTagMiningAnalysisTaskRequest): Promise<GetTagMiningAnalysisTaskResponse> {
8883
+ let runtime = new $dara.RuntimeOptions({ });
8884
+ let headers : {[key: string ]: string} = { };
8885
+ return await this.getTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
8886
+ }
8887
+
7918
8888
  /**
7919
8889
  * 视频理解-获取配置
7920
8890
  *
@@ -8889,11 +9859,19 @@ export default class Client extends OpenApi {
8889
9859
  request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
8890
9860
  }
8891
9861
 
9862
+ if (!$dara.isNull(tmpReq.textProcessTasks)) {
9863
+ request.textProcessTasksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.textProcessTasks, "textProcessTasks", "json");
9864
+ }
9865
+
8892
9866
  if (!$dara.isNull(tmpReq.videoRoles)) {
8893
9867
  request.videoRolesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
8894
9868
  }
8895
9869
 
8896
9870
  let body : {[key: string ]: any} = { };
9871
+ if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
9872
+ body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
9873
+ }
9874
+
8897
9875
  if (!$dara.isNull(request.frameSampleMethodShrink)) {
8898
9876
  body["frameSampleMethod"] = request.frameSampleMethodShrink;
8899
9877
  }
@@ -8930,6 +9908,10 @@ export default class Client extends OpenApi {
8930
9908
  body["taskId"] = request.taskId;
8931
9909
  }
8932
9910
 
9911
+ if (!$dara.isNull(request.textProcessTasksShrink)) {
9912
+ body["textProcessTasks"] = request.textProcessTasksShrink;
9913
+ }
9914
+
8933
9915
  if (!$dara.isNull(request.videoExtraInfo)) {
8934
9916
  body["videoExtraInfo"] = request.videoExtraInfo;
8935
9917
  }
@@ -8946,6 +9928,10 @@ export default class Client extends OpenApi {
8946
9928
  body["videoRoles"] = request.videoRolesShrink;
8947
9929
  }
8948
9930
 
9931
+ if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
9932
+ body["videoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
9933
+ }
9934
+
8949
9935
  if (!$dara.isNull(request.videoUrl)) {
8950
9936
  body["videoUrl"] = request.videoUrl;
8951
9937
  }
@@ -8985,6 +9971,94 @@ export default class Client extends OpenApi {
8985
9971
  return await this.runVideoAnalysisWithOptions(workspaceId, request, headers, runtime);
8986
9972
  }
8987
9973
 
9974
+ /**
9975
+ * 轻应用-标签挖掘
9976
+ *
9977
+ * @param tmpReq - SubmitTagMiningAnalysisTaskRequest
9978
+ * @param headers - map
9979
+ * @param runtime - runtime options for this request RuntimeOptions
9980
+ * @returns SubmitTagMiningAnalysisTaskResponse
9981
+ */
9982
+ async submitTagMiningAnalysisTaskWithOptions(workspaceId: string, tmpReq: SubmitTagMiningAnalysisTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<SubmitTagMiningAnalysisTaskResponse> {
9983
+ tmpReq.validate();
9984
+ let request = new SubmitTagMiningAnalysisTaskShrinkRequest({ });
9985
+ OpenApiUtil.convert(tmpReq, request);
9986
+ if (!$dara.isNull(tmpReq.contents)) {
9987
+ request.contentsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contents, "contents", "json");
9988
+ }
9989
+
9990
+ if (!$dara.isNull(tmpReq.tags)) {
9991
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
9992
+ }
9993
+
9994
+ let body : {[key: string ]: any} = { };
9995
+ if (!$dara.isNull(request.businessType)) {
9996
+ body["businessType"] = request.businessType;
9997
+ }
9998
+
9999
+ if (!$dara.isNull(request.contentsShrink)) {
10000
+ body["contents"] = request.contentsShrink;
10001
+ }
10002
+
10003
+ if (!$dara.isNull(request.extraInfo)) {
10004
+ body["extraInfo"] = request.extraInfo;
10005
+ }
10006
+
10007
+ if (!$dara.isNull(request.modelId)) {
10008
+ body["modelId"] = request.modelId;
10009
+ }
10010
+
10011
+ if (!$dara.isNull(request.outputFormat)) {
10012
+ body["outputFormat"] = request.outputFormat;
10013
+ }
10014
+
10015
+ if (!$dara.isNull(request.tagsShrink)) {
10016
+ body["tags"] = request.tagsShrink;
10017
+ }
10018
+
10019
+ if (!$dara.isNull(request.taskDescription)) {
10020
+ body["taskDescription"] = request.taskDescription;
10021
+ }
10022
+
10023
+ if (!$dara.isNull(request.url)) {
10024
+ body["url"] = request.url;
10025
+ }
10026
+
10027
+ let req = new $OpenApiUtil.OpenApiRequest({
10028
+ headers: headers,
10029
+ body: OpenApiUtil.parseToMap(body),
10030
+ });
10031
+ let params = new $OpenApiUtil.Params({
10032
+ action: "SubmitTagMiningAnalysisTask",
10033
+ version: "2024-08-01",
10034
+ protocol: "HTTPS",
10035
+ pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/submitTagMiningAnalysisTask`,
10036
+ method: "POST",
10037
+ authType: "AK",
10038
+ style: "ROA",
10039
+ reqBodyType: "formData",
10040
+ bodyType: "json",
10041
+ });
10042
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
10043
+ return $dara.cast<SubmitTagMiningAnalysisTaskResponse>(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
10044
+ } else {
10045
+ return $dara.cast<SubmitTagMiningAnalysisTaskResponse>(await this.execute(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
10046
+ }
10047
+
10048
+ }
10049
+
10050
+ /**
10051
+ * 轻应用-标签挖掘
10052
+ *
10053
+ * @param request - SubmitTagMiningAnalysisTaskRequest
10054
+ * @returns SubmitTagMiningAnalysisTaskResponse
10055
+ */
10056
+ async submitTagMiningAnalysisTask(workspaceId: string, request: SubmitTagMiningAnalysisTaskRequest): Promise<SubmitTagMiningAnalysisTaskResponse> {
10057
+ let runtime = new $dara.RuntimeOptions({ });
10058
+ let headers : {[key: string ]: string} = { };
10059
+ return await this.submitTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
10060
+ }
10061
+
8988
10062
  /**
8989
10063
  * 轻应用-提交视频理解任务
8990
10064
  *
@@ -9005,11 +10079,19 @@ export default class Client extends OpenApi {
9005
10079
  request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
9006
10080
  }
9007
10081
 
10082
+ if (!$dara.isNull(tmpReq.textProcessTasks)) {
10083
+ request.textProcessTasksShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.textProcessTasks, "textProcessTasks", "json");
10084
+ }
10085
+
9008
10086
  if (!$dara.isNull(tmpReq.videoRoles)) {
9009
10087
  request.videoRolesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
9010
10088
  }
9011
10089
 
9012
10090
  let body : {[key: string ]: any} = { };
10091
+ if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
10092
+ body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
10093
+ }
10094
+
9013
10095
  if (!$dara.isNull(request.frameSampleMethodShrink)) {
9014
10096
  body["frameSampleMethod"] = request.frameSampleMethodShrink;
9015
10097
  }
@@ -9038,6 +10120,10 @@ export default class Client extends OpenApi {
9038
10120
  body["snapshotInterval"] = request.snapshotInterval;
9039
10121
  }
9040
10122
 
10123
+ if (!$dara.isNull(request.textProcessTasksShrink)) {
10124
+ body["textProcessTasks"] = request.textProcessTasksShrink;
10125
+ }
10126
+
9041
10127
  if (!$dara.isNull(request.videoExtraInfo)) {
9042
10128
  body["videoExtraInfo"] = request.videoExtraInfo;
9043
10129
  }
@@ -9054,6 +10140,10 @@ export default class Client extends OpenApi {
9054
10140
  body["videoRoles"] = request.videoRolesShrink;
9055
10141
  }
9056
10142
 
10143
+ if (!$dara.isNull(request.videoShotFaceIdentityCount)) {
10144
+ body["videoShotFaceIdentityCount"] = request.videoShotFaceIdentityCount;
10145
+ }
10146
+
9057
10147
  if (!$dara.isNull(request.videoUrl)) {
9058
10148
  body["videoUrl"] = request.videoUrl;
9059
10149
  }