@alicloud/quanmiaolightapp20240801 1.4.0 → 1.5.0
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/dist/client.d.ts +758 -136
- package/dist/client.js +638 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1528 -486
package/src/client.ts
CHANGED
|
@@ -346,31 +346,71 @@ export class RunCommentGenerationResponse extends $tea.Model {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
export class
|
|
350
|
-
|
|
351
|
-
|
|
349
|
+
export class RunHotTopicChatRequest extends $tea.Model {
|
|
350
|
+
category?: string;
|
|
351
|
+
generateOptions?: string[];
|
|
352
|
+
/**
|
|
353
|
+
* @example
|
|
354
|
+
* 2024-09-13_12
|
|
355
|
+
*/
|
|
356
|
+
hotTopicVersion?: string;
|
|
357
|
+
hotTopics?: string[];
|
|
358
|
+
/**
|
|
359
|
+
* @example
|
|
360
|
+
* 1
|
|
361
|
+
*/
|
|
362
|
+
imageCount?: number;
|
|
363
|
+
/**
|
|
364
|
+
* @example
|
|
365
|
+
* xx
|
|
366
|
+
*/
|
|
367
|
+
modelCustomPromptTemplate?: string;
|
|
352
368
|
/**
|
|
353
369
|
* @example
|
|
354
370
|
* qwen-max
|
|
355
|
-
* qwen-plus
|
|
356
371
|
*/
|
|
357
372
|
modelId?: string;
|
|
358
|
-
|
|
373
|
+
/**
|
|
374
|
+
* @example
|
|
375
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
376
|
+
*/
|
|
377
|
+
originalSessionId?: string;
|
|
378
|
+
prompt?: string;
|
|
379
|
+
stepForBroadcastContentConfig?: RunHotTopicChatRequestStepForBroadcastContentConfig;
|
|
380
|
+
/**
|
|
381
|
+
* @example
|
|
382
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
383
|
+
*/
|
|
384
|
+
taskId?: string;
|
|
359
385
|
static names(): { [key: string]: string } {
|
|
360
386
|
return {
|
|
361
|
-
|
|
362
|
-
|
|
387
|
+
category: 'category',
|
|
388
|
+
generateOptions: 'generateOptions',
|
|
389
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
390
|
+
hotTopics: 'hotTopics',
|
|
391
|
+
imageCount: 'imageCount',
|
|
392
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
363
393
|
modelId: 'modelId',
|
|
364
|
-
|
|
394
|
+
originalSessionId: 'originalSessionId',
|
|
395
|
+
prompt: 'prompt',
|
|
396
|
+
stepForBroadcastContentConfig: 'stepForBroadcastContentConfig',
|
|
397
|
+
taskId: 'taskId',
|
|
365
398
|
};
|
|
366
399
|
}
|
|
367
400
|
|
|
368
401
|
static types(): { [key: string]: any } {
|
|
369
402
|
return {
|
|
370
|
-
|
|
371
|
-
|
|
403
|
+
category: 'string',
|
|
404
|
+
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
405
|
+
hotTopicVersion: 'string',
|
|
406
|
+
hotTopics: { 'type': 'array', 'itemType': 'string' },
|
|
407
|
+
imageCount: 'number',
|
|
408
|
+
modelCustomPromptTemplate: 'string',
|
|
372
409
|
modelId: 'string',
|
|
373
|
-
|
|
410
|
+
originalSessionId: 'string',
|
|
411
|
+
prompt: 'string',
|
|
412
|
+
stepForBroadcastContentConfig: RunHotTopicChatRequestStepForBroadcastContentConfig,
|
|
413
|
+
taskId: 'string',
|
|
374
414
|
};
|
|
375
415
|
}
|
|
376
416
|
|
|
@@ -379,31 +419,71 @@ export class RunMarketingInformationExtractRequest extends $tea.Model {
|
|
|
379
419
|
}
|
|
380
420
|
}
|
|
381
421
|
|
|
382
|
-
export class
|
|
383
|
-
|
|
384
|
-
|
|
422
|
+
export class RunHotTopicChatShrinkRequest extends $tea.Model {
|
|
423
|
+
category?: string;
|
|
424
|
+
generateOptionsShrink?: string;
|
|
425
|
+
/**
|
|
426
|
+
* @example
|
|
427
|
+
* 2024-09-13_12
|
|
428
|
+
*/
|
|
429
|
+
hotTopicVersion?: string;
|
|
430
|
+
hotTopicsShrink?: string;
|
|
431
|
+
/**
|
|
432
|
+
* @example
|
|
433
|
+
* 1
|
|
434
|
+
*/
|
|
435
|
+
imageCount?: number;
|
|
436
|
+
/**
|
|
437
|
+
* @example
|
|
438
|
+
* xx
|
|
439
|
+
*/
|
|
440
|
+
modelCustomPromptTemplate?: string;
|
|
385
441
|
/**
|
|
386
442
|
* @example
|
|
387
443
|
* qwen-max
|
|
388
|
-
* qwen-plus
|
|
389
444
|
*/
|
|
390
445
|
modelId?: string;
|
|
391
|
-
|
|
446
|
+
/**
|
|
447
|
+
* @example
|
|
448
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
449
|
+
*/
|
|
450
|
+
originalSessionId?: string;
|
|
451
|
+
prompt?: string;
|
|
452
|
+
stepForBroadcastContentConfigShrink?: string;
|
|
453
|
+
/**
|
|
454
|
+
* @example
|
|
455
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
456
|
+
*/
|
|
457
|
+
taskId?: string;
|
|
392
458
|
static names(): { [key: string]: string } {
|
|
393
459
|
return {
|
|
394
|
-
|
|
395
|
-
|
|
460
|
+
category: 'category',
|
|
461
|
+
generateOptionsShrink: 'generateOptions',
|
|
462
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
463
|
+
hotTopicsShrink: 'hotTopics',
|
|
464
|
+
imageCount: 'imageCount',
|
|
465
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
396
466
|
modelId: 'modelId',
|
|
397
|
-
|
|
467
|
+
originalSessionId: 'originalSessionId',
|
|
468
|
+
prompt: 'prompt',
|
|
469
|
+
stepForBroadcastContentConfigShrink: 'stepForBroadcastContentConfig',
|
|
470
|
+
taskId: 'taskId',
|
|
398
471
|
};
|
|
399
472
|
}
|
|
400
473
|
|
|
401
474
|
static types(): { [key: string]: any } {
|
|
402
475
|
return {
|
|
403
|
-
|
|
404
|
-
|
|
476
|
+
category: 'string',
|
|
477
|
+
generateOptionsShrink: 'string',
|
|
478
|
+
hotTopicVersion: 'string',
|
|
479
|
+
hotTopicsShrink: 'string',
|
|
480
|
+
imageCount: 'number',
|
|
481
|
+
modelCustomPromptTemplate: 'string',
|
|
405
482
|
modelId: 'string',
|
|
406
|
-
|
|
483
|
+
originalSessionId: 'string',
|
|
484
|
+
prompt: 'string',
|
|
485
|
+
stepForBroadcastContentConfigShrink: 'string',
|
|
486
|
+
taskId: 'string',
|
|
407
487
|
};
|
|
408
488
|
}
|
|
409
489
|
|
|
@@ -412,27 +492,27 @@ export class RunMarketingInformationExtractShrinkRequest extends $tea.Model {
|
|
|
412
492
|
}
|
|
413
493
|
}
|
|
414
494
|
|
|
415
|
-
export class
|
|
495
|
+
export class RunHotTopicChatResponseBody extends $tea.Model {
|
|
496
|
+
header?: RunHotTopicChatResponseBodyHeader;
|
|
497
|
+
payload?: RunHotTopicChatResponseBodyPayload;
|
|
416
498
|
/**
|
|
417
499
|
* @example
|
|
418
|
-
*
|
|
500
|
+
* 04DA1A52-4E51-56CB-BA64-FDDA0B53BAE8
|
|
419
501
|
*/
|
|
420
|
-
|
|
421
|
-
header?: RunMarketingInformationExtractResponseBodyHeader;
|
|
422
|
-
payload?: RunMarketingInformationExtractResponseBodyPayload;
|
|
502
|
+
requestId?: string;
|
|
423
503
|
static names(): { [key: string]: string } {
|
|
424
504
|
return {
|
|
425
|
-
end: 'end',
|
|
426
505
|
header: 'header',
|
|
427
506
|
payload: 'payload',
|
|
507
|
+
requestId: 'requestId',
|
|
428
508
|
};
|
|
429
509
|
}
|
|
430
510
|
|
|
431
511
|
static types(): { [key: string]: any } {
|
|
432
512
|
return {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
513
|
+
header: RunHotTopicChatResponseBodyHeader,
|
|
514
|
+
payload: RunHotTopicChatResponseBodyPayload,
|
|
515
|
+
requestId: 'string',
|
|
436
516
|
};
|
|
437
517
|
}
|
|
438
518
|
|
|
@@ -441,10 +521,10 @@ export class RunMarketingInformationExtractResponseBody extends $tea.Model {
|
|
|
441
521
|
}
|
|
442
522
|
}
|
|
443
523
|
|
|
444
|
-
export class
|
|
524
|
+
export class RunHotTopicChatResponse extends $tea.Model {
|
|
445
525
|
headers?: { [key: string]: string };
|
|
446
526
|
statusCode?: number;
|
|
447
|
-
body?:
|
|
527
|
+
body?: RunHotTopicChatResponseBody;
|
|
448
528
|
static names(): { [key: string]: string } {
|
|
449
529
|
return {
|
|
450
530
|
headers: 'headers',
|
|
@@ -457,7 +537,7 @@ export class RunMarketingInformationExtractResponse extends $tea.Model {
|
|
|
457
537
|
return {
|
|
458
538
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
459
539
|
statusCode: 'number',
|
|
460
|
-
body:
|
|
540
|
+
body: RunHotTopicChatResponseBody,
|
|
461
541
|
};
|
|
462
542
|
}
|
|
463
543
|
|
|
@@ -466,85 +546,41 @@ export class RunMarketingInformationExtractResponse extends $tea.Model {
|
|
|
466
546
|
}
|
|
467
547
|
}
|
|
468
548
|
|
|
469
|
-
export class
|
|
470
|
-
customPrompt?: string;
|
|
549
|
+
export class RunHotTopicSummaryRequest extends $tea.Model {
|
|
471
550
|
/**
|
|
551
|
+
* @remarks
|
|
552
|
+
* This parameter is required.
|
|
553
|
+
*
|
|
472
554
|
* @example
|
|
473
|
-
*
|
|
474
|
-
* qwen-plus
|
|
555
|
+
* 2024-10-16_8
|
|
475
556
|
*/
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
modelId: 'modelId',
|
|
483
|
-
sourceMaterial: 'sourceMaterial',
|
|
484
|
-
writingType: 'writingType',
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
static types(): { [key: string]: any } {
|
|
489
|
-
return {
|
|
490
|
-
customPrompt: 'string',
|
|
491
|
-
modelId: 'string',
|
|
492
|
-
sourceMaterial: 'string',
|
|
493
|
-
writingType: 'string',
|
|
494
|
-
};
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
constructor(map?: { [key: string]: any }) {
|
|
498
|
-
super(map);
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
export class RunMarketingInformationWritingResponseBody extends $tea.Model {
|
|
557
|
+
hotTopicVersion?: string;
|
|
558
|
+
/**
|
|
559
|
+
* @remarks
|
|
560
|
+
* This parameter is required.
|
|
561
|
+
*/
|
|
562
|
+
stepForCustomSummaryStyleConfig?: RunHotTopicSummaryRequestStepForCustomSummaryStyleConfig;
|
|
503
563
|
/**
|
|
564
|
+
* @remarks
|
|
565
|
+
* This parameter is required.
|
|
566
|
+
*
|
|
504
567
|
* @example
|
|
505
|
-
*
|
|
568
|
+
* xxxxx
|
|
506
569
|
*/
|
|
507
|
-
|
|
508
|
-
header?: RunMarketingInformationWritingResponseBodyHeader;
|
|
509
|
-
payload?: RunMarketingInformationWritingResponseBodyPayload;
|
|
510
|
-
static names(): { [key: string]: string } {
|
|
511
|
-
return {
|
|
512
|
-
end: 'end',
|
|
513
|
-
header: 'header',
|
|
514
|
-
payload: 'payload',
|
|
515
|
-
};
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
static types(): { [key: string]: any } {
|
|
519
|
-
return {
|
|
520
|
-
end: 'boolean',
|
|
521
|
-
header: RunMarketingInformationWritingResponseBodyHeader,
|
|
522
|
-
payload: RunMarketingInformationWritingResponseBodyPayload,
|
|
523
|
-
};
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
constructor(map?: { [key: string]: any }) {
|
|
527
|
-
super(map);
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
export class RunMarketingInformationWritingResponse extends $tea.Model {
|
|
532
|
-
headers?: { [key: string]: string };
|
|
533
|
-
statusCode?: number;
|
|
534
|
-
body?: RunMarketingInformationWritingResponseBody;
|
|
570
|
+
topicIds?: string[];
|
|
535
571
|
static names(): { [key: string]: string } {
|
|
536
572
|
return {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
573
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
574
|
+
stepForCustomSummaryStyleConfig: 'stepForCustomSummaryStyleConfig',
|
|
575
|
+
topicIds: 'topicIds',
|
|
540
576
|
};
|
|
541
577
|
}
|
|
542
578
|
|
|
543
579
|
static types(): { [key: string]: any } {
|
|
544
580
|
return {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
581
|
+
hotTopicVersion: 'string',
|
|
582
|
+
stepForCustomSummaryStyleConfig: RunHotTopicSummaryRequestStepForCustomSummaryStyleConfig,
|
|
583
|
+
topicIds: { 'type': 'array', 'itemType': 'string' },
|
|
548
584
|
};
|
|
549
585
|
}
|
|
550
586
|
|
|
@@ -553,38 +589,41 @@ export class RunMarketingInformationWritingResponse extends $tea.Model {
|
|
|
553
589
|
}
|
|
554
590
|
}
|
|
555
591
|
|
|
556
|
-
export class
|
|
592
|
+
export class RunHotTopicSummaryShrinkRequest extends $tea.Model {
|
|
557
593
|
/**
|
|
594
|
+
* @remarks
|
|
595
|
+
* This parameter is required.
|
|
596
|
+
*
|
|
558
597
|
* @example
|
|
559
|
-
*
|
|
598
|
+
* 2024-10-16_8
|
|
560
599
|
*/
|
|
561
|
-
|
|
600
|
+
hotTopicVersion?: string;
|
|
562
601
|
/**
|
|
563
|
-
* @
|
|
564
|
-
*
|
|
602
|
+
* @remarks
|
|
603
|
+
* This parameter is required.
|
|
565
604
|
*/
|
|
566
|
-
|
|
605
|
+
stepForCustomSummaryStyleConfigShrink?: string;
|
|
567
606
|
/**
|
|
568
607
|
* @remarks
|
|
569
608
|
* This parameter is required.
|
|
570
609
|
*
|
|
571
610
|
* @example
|
|
572
|
-
*
|
|
611
|
+
* xxxxx
|
|
573
612
|
*/
|
|
574
|
-
|
|
613
|
+
topicIdsShrink?: string;
|
|
575
614
|
static names(): { [key: string]: string } {
|
|
576
615
|
return {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
616
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
617
|
+
stepForCustomSummaryStyleConfigShrink: 'stepForCustomSummaryStyleConfig',
|
|
618
|
+
topicIdsShrink: 'topicIds',
|
|
580
619
|
};
|
|
581
620
|
}
|
|
582
621
|
|
|
583
622
|
static types(): { [key: string]: any } {
|
|
584
623
|
return {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
624
|
+
hotTopicVersion: 'string',
|
|
625
|
+
stepForCustomSummaryStyleConfigShrink: 'string',
|
|
626
|
+
topicIdsShrink: 'string',
|
|
588
627
|
};
|
|
589
628
|
}
|
|
590
629
|
|
|
@@ -593,23 +632,30 @@ export class RunScriptContinueRequest extends $tea.Model {
|
|
|
593
632
|
}
|
|
594
633
|
}
|
|
595
634
|
|
|
596
|
-
export class
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
635
|
+
export class RunHotTopicSummaryResponseBody extends $tea.Model {
|
|
636
|
+
header?: RunHotTopicSummaryResponseBodyHeader;
|
|
637
|
+
payload?: RunHotTopicSummaryResponseBodyPayload;
|
|
638
|
+
/**
|
|
639
|
+
* @remarks
|
|
640
|
+
* Id of the request
|
|
641
|
+
*
|
|
642
|
+
* @example
|
|
643
|
+
* 5D0E915E-655D-59A8-894F-93873F73AAE5
|
|
644
|
+
*/
|
|
645
|
+
requestId?: string;
|
|
600
646
|
static names(): { [key: string]: string } {
|
|
601
647
|
return {
|
|
602
|
-
end: 'end',
|
|
603
648
|
header: 'header',
|
|
604
649
|
payload: 'payload',
|
|
650
|
+
requestId: 'requestId',
|
|
605
651
|
};
|
|
606
652
|
}
|
|
607
653
|
|
|
608
654
|
static types(): { [key: string]: any } {
|
|
609
655
|
return {
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
656
|
+
header: RunHotTopicSummaryResponseBodyHeader,
|
|
657
|
+
payload: RunHotTopicSummaryResponseBodyPayload,
|
|
658
|
+
requestId: 'string',
|
|
613
659
|
};
|
|
614
660
|
}
|
|
615
661
|
|
|
@@ -618,10 +664,10 @@ export class RunScriptContinueResponseBody extends $tea.Model {
|
|
|
618
664
|
}
|
|
619
665
|
}
|
|
620
666
|
|
|
621
|
-
export class
|
|
667
|
+
export class RunHotTopicSummaryResponse extends $tea.Model {
|
|
622
668
|
headers?: { [key: string]: string };
|
|
623
669
|
statusCode?: number;
|
|
624
|
-
body?:
|
|
670
|
+
body?: RunHotTopicSummaryResponseBody;
|
|
625
671
|
static names(): { [key: string]: string } {
|
|
626
672
|
return {
|
|
627
673
|
headers: 'headers',
|
|
@@ -634,7 +680,7 @@ export class RunScriptContinueResponse extends $tea.Model {
|
|
|
634
680
|
return {
|
|
635
681
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
636
682
|
statusCode: 'number',
|
|
637
|
-
body:
|
|
683
|
+
body: RunHotTopicSummaryResponseBody,
|
|
638
684
|
};
|
|
639
685
|
}
|
|
640
686
|
|
|
@@ -643,58 +689,64 @@ export class RunScriptContinueResponse extends $tea.Model {
|
|
|
643
689
|
}
|
|
644
690
|
}
|
|
645
691
|
|
|
646
|
-
export class
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
* 故事尽可能狗血
|
|
650
|
-
*/
|
|
651
|
-
additionalNote?: string;
|
|
652
|
-
dialogueInScene?: boolean;
|
|
653
|
-
plotConflict?: boolean;
|
|
692
|
+
export class RunMarketingInformationExtractRequest extends $tea.Model {
|
|
693
|
+
customPrompt?: string;
|
|
694
|
+
extractType?: string;
|
|
654
695
|
/**
|
|
655
696
|
* @example
|
|
656
|
-
*
|
|
697
|
+
* qwen-max
|
|
698
|
+
* qwen-plus
|
|
657
699
|
*/
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
700
|
+
modelId?: string;
|
|
701
|
+
sourceMaterials?: string[];
|
|
702
|
+
static names(): { [key: string]: string } {
|
|
703
|
+
return {
|
|
704
|
+
customPrompt: 'customPrompt',
|
|
705
|
+
extractType: 'extractType',
|
|
706
|
+
modelId: 'modelId',
|
|
707
|
+
sourceMaterials: 'sourceMaterials',
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
static types(): { [key: string]: any } {
|
|
712
|
+
return {
|
|
713
|
+
customPrompt: 'string',
|
|
714
|
+
extractType: 'string',
|
|
715
|
+
modelId: 'string',
|
|
716
|
+
sourceMaterials: { 'type': 'array', 'itemType': 'string' },
|
|
717
|
+
};
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
constructor(map?: { [key: string]: any }) {
|
|
721
|
+
super(map);
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export class RunMarketingInformationExtractShrinkRequest extends $tea.Model {
|
|
726
|
+
customPrompt?: string;
|
|
727
|
+
extractType?: string;
|
|
672
728
|
/**
|
|
673
729
|
* @example
|
|
674
|
-
*
|
|
730
|
+
* qwen-max
|
|
731
|
+
* qwen-plus
|
|
675
732
|
*/
|
|
676
|
-
|
|
733
|
+
modelId?: string;
|
|
734
|
+
sourceMaterialsShrink?: string;
|
|
677
735
|
static names(): { [key: string]: string } {
|
|
678
736
|
return {
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
scriptShotCount: 'scriptShotCount',
|
|
684
|
-
scriptSummary: 'scriptSummary',
|
|
685
|
-
scriptTypeKeyword: 'scriptTypeKeyword',
|
|
737
|
+
customPrompt: 'customPrompt',
|
|
738
|
+
extractType: 'extractType',
|
|
739
|
+
modelId: 'modelId',
|
|
740
|
+
sourceMaterialsShrink: 'sourceMaterials',
|
|
686
741
|
};
|
|
687
742
|
}
|
|
688
743
|
|
|
689
744
|
static types(): { [key: string]: any } {
|
|
690
745
|
return {
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
scriptShotCount: 'number',
|
|
696
|
-
scriptSummary: 'string',
|
|
697
|
-
scriptTypeKeyword: 'string',
|
|
746
|
+
customPrompt: 'string',
|
|
747
|
+
extractType: 'string',
|
|
748
|
+
modelId: 'string',
|
|
749
|
+
sourceMaterialsShrink: 'string',
|
|
698
750
|
};
|
|
699
751
|
}
|
|
700
752
|
|
|
@@ -703,10 +755,14 @@ export class RunScriptPlanningRequest extends $tea.Model {
|
|
|
703
755
|
}
|
|
704
756
|
}
|
|
705
757
|
|
|
706
|
-
export class
|
|
758
|
+
export class RunMarketingInformationExtractResponseBody extends $tea.Model {
|
|
759
|
+
/**
|
|
760
|
+
* @example
|
|
761
|
+
* {\\"TimeZone\\": \\"Asia/Shanghai\\", \\"DateTime\\": \\"2024-03-07T17:00:09+08:00\\"}
|
|
762
|
+
*/
|
|
707
763
|
end?: boolean;
|
|
708
|
-
header?:
|
|
709
|
-
payload?:
|
|
764
|
+
header?: RunMarketingInformationExtractResponseBodyHeader;
|
|
765
|
+
payload?: RunMarketingInformationExtractResponseBodyPayload;
|
|
710
766
|
static names(): { [key: string]: string } {
|
|
711
767
|
return {
|
|
712
768
|
end: 'end',
|
|
@@ -718,8 +774,8 @@ export class RunScriptPlanningResponseBody extends $tea.Model {
|
|
|
718
774
|
static types(): { [key: string]: any } {
|
|
719
775
|
return {
|
|
720
776
|
end: 'boolean',
|
|
721
|
-
header:
|
|
722
|
-
payload:
|
|
777
|
+
header: RunMarketingInformationExtractResponseBodyHeader,
|
|
778
|
+
payload: RunMarketingInformationExtractResponseBodyPayload,
|
|
723
779
|
};
|
|
724
780
|
}
|
|
725
781
|
|
|
@@ -728,10 +784,10 @@ export class RunScriptPlanningResponseBody extends $tea.Model {
|
|
|
728
784
|
}
|
|
729
785
|
}
|
|
730
786
|
|
|
731
|
-
export class
|
|
787
|
+
export class RunMarketingInformationExtractResponse extends $tea.Model {
|
|
732
788
|
headers?: { [key: string]: string };
|
|
733
789
|
statusCode?: number;
|
|
734
|
-
body?:
|
|
790
|
+
body?: RunMarketingInformationExtractResponseBody;
|
|
735
791
|
static names(): { [key: string]: string } {
|
|
736
792
|
return {
|
|
737
793
|
headers: 'headers',
|
|
@@ -744,7 +800,7 @@ export class RunScriptPlanningResponse extends $tea.Model {
|
|
|
744
800
|
return {
|
|
745
801
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
746
802
|
statusCode: 'number',
|
|
747
|
-
body:
|
|
803
|
+
body: RunMarketingInformationExtractResponseBody,
|
|
748
804
|
};
|
|
749
805
|
}
|
|
750
806
|
|
|
@@ -753,38 +809,60 @@ export class RunScriptPlanningResponse extends $tea.Model {
|
|
|
753
809
|
}
|
|
754
810
|
}
|
|
755
811
|
|
|
756
|
-
export class
|
|
757
|
-
|
|
758
|
-
* @remarks
|
|
759
|
-
* This parameter is required.
|
|
760
|
-
*/
|
|
761
|
-
learningSamples?: string[];
|
|
812
|
+
export class RunMarketingInformationWritingRequest extends $tea.Model {
|
|
813
|
+
customPrompt?: string;
|
|
762
814
|
/**
|
|
763
|
-
* @
|
|
764
|
-
*
|
|
815
|
+
* @example
|
|
816
|
+
* qwen-max
|
|
817
|
+
* qwen-plus
|
|
765
818
|
*/
|
|
766
|
-
|
|
767
|
-
|
|
819
|
+
modelId?: string;
|
|
820
|
+
sourceMaterial?: string;
|
|
821
|
+
writingType?: string;
|
|
822
|
+
static names(): { [key: string]: string } {
|
|
823
|
+
return {
|
|
824
|
+
customPrompt: 'customPrompt',
|
|
825
|
+
modelId: 'modelId',
|
|
826
|
+
sourceMaterial: 'sourceMaterial',
|
|
827
|
+
writingType: 'writingType',
|
|
828
|
+
};
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
static types(): { [key: string]: any } {
|
|
832
|
+
return {
|
|
833
|
+
customPrompt: 'string',
|
|
834
|
+
modelId: 'string',
|
|
835
|
+
sourceMaterial: 'string',
|
|
836
|
+
writingType: 'string',
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
constructor(map?: { [key: string]: any }) {
|
|
841
|
+
super(map);
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
export class RunMarketingInformationWritingResponseBody extends $tea.Model {
|
|
768
846
|
/**
|
|
769
|
-
* @
|
|
770
|
-
*
|
|
847
|
+
* @example
|
|
848
|
+
* 2024-06-21T10:29:52+08:00
|
|
771
849
|
*/
|
|
772
|
-
|
|
850
|
+
end?: boolean;
|
|
851
|
+
header?: RunMarketingInformationWritingResponseBodyHeader;
|
|
852
|
+
payload?: RunMarketingInformationWritingResponseBodyPayload;
|
|
773
853
|
static names(): { [key: string]: string } {
|
|
774
854
|
return {
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
writingTheme: 'writingTheme',
|
|
855
|
+
end: 'end',
|
|
856
|
+
header: 'header',
|
|
857
|
+
payload: 'payload',
|
|
779
858
|
};
|
|
780
859
|
}
|
|
781
860
|
|
|
782
861
|
static types(): { [key: string]: any } {
|
|
783
862
|
return {
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
writingTheme: 'string',
|
|
863
|
+
end: 'boolean',
|
|
864
|
+
header: RunMarketingInformationWritingResponseBodyHeader,
|
|
865
|
+
payload: RunMarketingInformationWritingResponseBodyPayload,
|
|
788
866
|
};
|
|
789
867
|
}
|
|
790
868
|
|
|
@@ -793,38 +871,63 @@ export class RunStyleWritingRequest extends $tea.Model {
|
|
|
793
871
|
}
|
|
794
872
|
}
|
|
795
873
|
|
|
796
|
-
export class
|
|
874
|
+
export class RunMarketingInformationWritingResponse extends $tea.Model {
|
|
875
|
+
headers?: { [key: string]: string };
|
|
876
|
+
statusCode?: number;
|
|
877
|
+
body?: RunMarketingInformationWritingResponseBody;
|
|
878
|
+
static names(): { [key: string]: string } {
|
|
879
|
+
return {
|
|
880
|
+
headers: 'headers',
|
|
881
|
+
statusCode: 'statusCode',
|
|
882
|
+
body: 'body',
|
|
883
|
+
};
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
static types(): { [key: string]: any } {
|
|
887
|
+
return {
|
|
888
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
889
|
+
statusCode: 'number',
|
|
890
|
+
body: RunMarketingInformationWritingResponseBody,
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
constructor(map?: { [key: string]: any }) {
|
|
895
|
+
super(map);
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
export class RunScriptContinueRequest extends $tea.Model {
|
|
797
900
|
/**
|
|
798
|
-
* @
|
|
799
|
-
*
|
|
901
|
+
* @example
|
|
902
|
+
* 一队全副武装的执法人员和消防员闯入了一间明显已被遗弃多日、门窗紧闭并用胶带封死的公寓,面对着屋内令人作呕的恶臭和门厅里的混乱场面,他们似乎在寻找某种隐藏的真相或危险源,而一封日期为16号的信件成为了揭开谜团的关键线索,随着便衣探员深入探索,一系列封闭的房间暗示着这里曾发生过不为人知的秘密事件。
|
|
800
903
|
*/
|
|
801
|
-
|
|
904
|
+
scriptSummary?: string;
|
|
802
905
|
/**
|
|
803
|
-
* @
|
|
804
|
-
*
|
|
906
|
+
* @example
|
|
907
|
+
* 悬疑,都市,惊悚
|
|
805
908
|
*/
|
|
806
|
-
|
|
807
|
-
styleFeature?: string;
|
|
909
|
+
scriptTypeKeyword?: string;
|
|
808
910
|
/**
|
|
809
911
|
* @remarks
|
|
810
912
|
* This parameter is required.
|
|
913
|
+
*
|
|
914
|
+
* @example
|
|
915
|
+
* 门厅一片狼藉。朝向天井的窗户开着。公寓门突然被撞开了。\n一名便衣探员、两名穿制服的警察和几位消防员———也身着工作服———进来,四下张望。他们都戴着手套以及盖住口鼻的面罩。在他们身后,门房和他妻子也挤进门厅。他们都捂着鼻子。门房的另一只手里拿着一叠信件和促销广告单。他们身后,跟着一位女邻居。\n便衣探员(对门房和邻居):请在外面等候。\n他向一名警察示意,警察正忙着把好奇的旁观者请出门外。\n警察(对门房,指着那一叠信件):最近的一封是哪天的?\n门房(查对信件):最近的一封似乎是16号的......等一下......\n便衣探员想打开左侧的门,却是徒劳。门用胶带封上了。\n便衣探员(对消防员):你来试一下好吗?\n消防员摆弄门的时候,便衣探员进了卧室隔壁的餐厅。他迅速打开窗,转身,想经过对开门进左侧的房间。这两扇门也锁着,门缝被贴上了胶带。他右转进入起居室,也打开了窗户
|
|
811
916
|
*/
|
|
812
|
-
|
|
917
|
+
userProvidedContent?: string;
|
|
813
918
|
static names(): { [key: string]: string } {
|
|
814
919
|
return {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
writingTheme: 'writingTheme',
|
|
920
|
+
scriptSummary: 'scriptSummary',
|
|
921
|
+
scriptTypeKeyword: 'scriptTypeKeyword',
|
|
922
|
+
userProvidedContent: 'userProvidedContent',
|
|
819
923
|
};
|
|
820
924
|
}
|
|
821
925
|
|
|
822
926
|
static types(): { [key: string]: any } {
|
|
823
927
|
return {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
writingTheme: 'string',
|
|
928
|
+
scriptSummary: 'string',
|
|
929
|
+
scriptTypeKeyword: 'string',
|
|
930
|
+
userProvidedContent: 'string',
|
|
828
931
|
};
|
|
829
932
|
}
|
|
830
933
|
|
|
@@ -833,18 +936,10 @@ export class RunStyleWritingShrinkRequest extends $tea.Model {
|
|
|
833
936
|
}
|
|
834
937
|
}
|
|
835
938
|
|
|
836
|
-
export class
|
|
837
|
-
/**
|
|
838
|
-
* @example
|
|
839
|
-
* true
|
|
840
|
-
*/
|
|
939
|
+
export class RunScriptContinueResponseBody extends $tea.Model {
|
|
841
940
|
end?: boolean;
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
* {"event":"task-progress-start-generating","sessionId":"3cd10828-0e42-471c-8f1a-931cde20b035","taskId":"d3be9981-ca2d-4e17-bf31-1c0a628e9f99","traceId":"66bef4a7f5d61ff3c43f3b710574e175"}
|
|
845
|
-
*/
|
|
846
|
-
header?: RunStyleWritingResponseBodyHeader;
|
|
847
|
-
payload?: RunStyleWritingResponseBodyPayload;
|
|
941
|
+
header?: RunScriptContinueResponseBodyHeader;
|
|
942
|
+
payload?: RunScriptContinueResponseBodyPayload;
|
|
848
943
|
static names(): { [key: string]: string } {
|
|
849
944
|
return {
|
|
850
945
|
end: 'end',
|
|
@@ -856,8 +951,8 @@ export class RunStyleWritingResponseBody extends $tea.Model {
|
|
|
856
951
|
static types(): { [key: string]: any } {
|
|
857
952
|
return {
|
|
858
953
|
end: 'boolean',
|
|
859
|
-
header:
|
|
860
|
-
payload:
|
|
954
|
+
header: RunScriptContinueResponseBodyHeader,
|
|
955
|
+
payload: RunScriptContinueResponseBodyPayload,
|
|
861
956
|
};
|
|
862
957
|
}
|
|
863
958
|
|
|
@@ -866,10 +961,10 @@ export class RunStyleWritingResponseBody extends $tea.Model {
|
|
|
866
961
|
}
|
|
867
962
|
}
|
|
868
963
|
|
|
869
|
-
export class
|
|
964
|
+
export class RunScriptContinueResponse extends $tea.Model {
|
|
870
965
|
headers?: { [key: string]: string };
|
|
871
966
|
statusCode?: number;
|
|
872
|
-
body?:
|
|
967
|
+
body?: RunScriptContinueResponseBody;
|
|
873
968
|
static names(): { [key: string]: string } {
|
|
874
969
|
return {
|
|
875
970
|
headers: 'headers',
|
|
@@ -882,7 +977,7 @@ export class RunStyleWritingResponse extends $tea.Model {
|
|
|
882
977
|
return {
|
|
883
978
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
884
979
|
statusCode: 'number',
|
|
885
|
-
body:
|
|
980
|
+
body: RunScriptContinueResponseBody,
|
|
886
981
|
};
|
|
887
982
|
}
|
|
888
983
|
|
|
@@ -891,25 +986,273 @@ export class RunStyleWritingResponse extends $tea.Model {
|
|
|
891
986
|
}
|
|
892
987
|
}
|
|
893
988
|
|
|
894
|
-
export class
|
|
895
|
-
generateOptions?: string[];
|
|
896
|
-
modelCustomPromptTemplate?: string;
|
|
989
|
+
export class RunScriptPlanningRequest extends $tea.Model {
|
|
897
990
|
/**
|
|
898
991
|
* @example
|
|
899
|
-
*
|
|
992
|
+
* 故事尽可能狗血
|
|
900
993
|
*/
|
|
901
|
-
|
|
994
|
+
additionalNote?: string;
|
|
995
|
+
dialogueInScene?: boolean;
|
|
996
|
+
plotConflict?: boolean;
|
|
902
997
|
/**
|
|
903
998
|
* @example
|
|
904
|
-
*
|
|
999
|
+
* 都市战神
|
|
905
1000
|
*/
|
|
906
|
-
|
|
1001
|
+
scriptName?: string;
|
|
907
1002
|
/**
|
|
908
1003
|
* @example
|
|
909
|
-
*
|
|
1004
|
+
* 3
|
|
910
1005
|
*/
|
|
911
|
-
|
|
912
|
-
|
|
1006
|
+
scriptShotCount?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* @remarks
|
|
1009
|
+
* This parameter is required.
|
|
1010
|
+
*
|
|
1011
|
+
* @example
|
|
1012
|
+
* 在一个宁静的小镇上,每个家庭都在同一天收到一个神秘的、没有标记的包裹。
|
|
1013
|
+
*/
|
|
1014
|
+
scriptSummary?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* @example
|
|
1017
|
+
* 现代,都市,爱情,玄幻
|
|
1018
|
+
*/
|
|
1019
|
+
scriptTypeKeyword?: string;
|
|
1020
|
+
static names(): { [key: string]: string } {
|
|
1021
|
+
return {
|
|
1022
|
+
additionalNote: 'additionalNote',
|
|
1023
|
+
dialogueInScene: 'dialogueInScene',
|
|
1024
|
+
plotConflict: 'plotConflict',
|
|
1025
|
+
scriptName: 'scriptName',
|
|
1026
|
+
scriptShotCount: 'scriptShotCount',
|
|
1027
|
+
scriptSummary: 'scriptSummary',
|
|
1028
|
+
scriptTypeKeyword: 'scriptTypeKeyword',
|
|
1029
|
+
};
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
static types(): { [key: string]: any } {
|
|
1033
|
+
return {
|
|
1034
|
+
additionalNote: 'string',
|
|
1035
|
+
dialogueInScene: 'boolean',
|
|
1036
|
+
plotConflict: 'boolean',
|
|
1037
|
+
scriptName: 'string',
|
|
1038
|
+
scriptShotCount: 'number',
|
|
1039
|
+
scriptSummary: 'string',
|
|
1040
|
+
scriptTypeKeyword: 'string',
|
|
1041
|
+
};
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
constructor(map?: { [key: string]: any }) {
|
|
1045
|
+
super(map);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
export class RunScriptPlanningResponseBody extends $tea.Model {
|
|
1050
|
+
end?: boolean;
|
|
1051
|
+
header?: RunScriptPlanningResponseBodyHeader;
|
|
1052
|
+
payload?: RunScriptPlanningResponseBodyPayload;
|
|
1053
|
+
static names(): { [key: string]: string } {
|
|
1054
|
+
return {
|
|
1055
|
+
end: 'end',
|
|
1056
|
+
header: 'header',
|
|
1057
|
+
payload: 'payload',
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
static types(): { [key: string]: any } {
|
|
1062
|
+
return {
|
|
1063
|
+
end: 'boolean',
|
|
1064
|
+
header: RunScriptPlanningResponseBodyHeader,
|
|
1065
|
+
payload: RunScriptPlanningResponseBodyPayload,
|
|
1066
|
+
};
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
constructor(map?: { [key: string]: any }) {
|
|
1070
|
+
super(map);
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
export class RunScriptPlanningResponse extends $tea.Model {
|
|
1075
|
+
headers?: { [key: string]: string };
|
|
1076
|
+
statusCode?: number;
|
|
1077
|
+
body?: RunScriptPlanningResponseBody;
|
|
1078
|
+
static names(): { [key: string]: string } {
|
|
1079
|
+
return {
|
|
1080
|
+
headers: 'headers',
|
|
1081
|
+
statusCode: 'statusCode',
|
|
1082
|
+
body: 'body',
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
static types(): { [key: string]: any } {
|
|
1087
|
+
return {
|
|
1088
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1089
|
+
statusCode: 'number',
|
|
1090
|
+
body: RunScriptPlanningResponseBody,
|
|
1091
|
+
};
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
constructor(map?: { [key: string]: any }) {
|
|
1095
|
+
super(map);
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
export class RunStyleWritingRequest extends $tea.Model {
|
|
1100
|
+
/**
|
|
1101
|
+
* @remarks
|
|
1102
|
+
* This parameter is required.
|
|
1103
|
+
*/
|
|
1104
|
+
learningSamples?: string[];
|
|
1105
|
+
/**
|
|
1106
|
+
* @remarks
|
|
1107
|
+
* This parameter is required.
|
|
1108
|
+
*/
|
|
1109
|
+
referenceMaterials?: string[];
|
|
1110
|
+
styleFeature?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* @remarks
|
|
1113
|
+
* This parameter is required.
|
|
1114
|
+
*/
|
|
1115
|
+
writingTheme?: string;
|
|
1116
|
+
static names(): { [key: string]: string } {
|
|
1117
|
+
return {
|
|
1118
|
+
learningSamples: 'learningSamples',
|
|
1119
|
+
referenceMaterials: 'referenceMaterials',
|
|
1120
|
+
styleFeature: 'styleFeature',
|
|
1121
|
+
writingTheme: 'writingTheme',
|
|
1122
|
+
};
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
static types(): { [key: string]: any } {
|
|
1126
|
+
return {
|
|
1127
|
+
learningSamples: { 'type': 'array', 'itemType': 'string' },
|
|
1128
|
+
referenceMaterials: { 'type': 'array', 'itemType': 'string' },
|
|
1129
|
+
styleFeature: 'string',
|
|
1130
|
+
writingTheme: 'string',
|
|
1131
|
+
};
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
constructor(map?: { [key: string]: any }) {
|
|
1135
|
+
super(map);
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
export class RunStyleWritingShrinkRequest extends $tea.Model {
|
|
1140
|
+
/**
|
|
1141
|
+
* @remarks
|
|
1142
|
+
* This parameter is required.
|
|
1143
|
+
*/
|
|
1144
|
+
learningSamplesShrink?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* @remarks
|
|
1147
|
+
* This parameter is required.
|
|
1148
|
+
*/
|
|
1149
|
+
referenceMaterialsShrink?: string;
|
|
1150
|
+
styleFeature?: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* @remarks
|
|
1153
|
+
* This parameter is required.
|
|
1154
|
+
*/
|
|
1155
|
+
writingTheme?: string;
|
|
1156
|
+
static names(): { [key: string]: string } {
|
|
1157
|
+
return {
|
|
1158
|
+
learningSamplesShrink: 'learningSamples',
|
|
1159
|
+
referenceMaterialsShrink: 'referenceMaterials',
|
|
1160
|
+
styleFeature: 'styleFeature',
|
|
1161
|
+
writingTheme: 'writingTheme',
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
static types(): { [key: string]: any } {
|
|
1166
|
+
return {
|
|
1167
|
+
learningSamplesShrink: 'string',
|
|
1168
|
+
referenceMaterialsShrink: 'string',
|
|
1169
|
+
styleFeature: 'string',
|
|
1170
|
+
writingTheme: 'string',
|
|
1171
|
+
};
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
constructor(map?: { [key: string]: any }) {
|
|
1175
|
+
super(map);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
export class RunStyleWritingResponseBody extends $tea.Model {
|
|
1180
|
+
/**
|
|
1181
|
+
* @example
|
|
1182
|
+
* true
|
|
1183
|
+
*/
|
|
1184
|
+
end?: boolean;
|
|
1185
|
+
/**
|
|
1186
|
+
* @example
|
|
1187
|
+
* {"event":"task-progress-start-generating","sessionId":"3cd10828-0e42-471c-8f1a-931cde20b035","taskId":"d3be9981-ca2d-4e17-bf31-1c0a628e9f99","traceId":"66bef4a7f5d61ff3c43f3b710574e175"}
|
|
1188
|
+
*/
|
|
1189
|
+
header?: RunStyleWritingResponseBodyHeader;
|
|
1190
|
+
payload?: RunStyleWritingResponseBodyPayload;
|
|
1191
|
+
static names(): { [key: string]: string } {
|
|
1192
|
+
return {
|
|
1193
|
+
end: 'end',
|
|
1194
|
+
header: 'header',
|
|
1195
|
+
payload: 'payload',
|
|
1196
|
+
};
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
static types(): { [key: string]: any } {
|
|
1200
|
+
return {
|
|
1201
|
+
end: 'boolean',
|
|
1202
|
+
header: RunStyleWritingResponseBodyHeader,
|
|
1203
|
+
payload: RunStyleWritingResponseBodyPayload,
|
|
1204
|
+
};
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
constructor(map?: { [key: string]: any }) {
|
|
1208
|
+
super(map);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export class RunStyleWritingResponse extends $tea.Model {
|
|
1213
|
+
headers?: { [key: string]: string };
|
|
1214
|
+
statusCode?: number;
|
|
1215
|
+
body?: RunStyleWritingResponseBody;
|
|
1216
|
+
static names(): { [key: string]: string } {
|
|
1217
|
+
return {
|
|
1218
|
+
headers: 'headers',
|
|
1219
|
+
statusCode: 'statusCode',
|
|
1220
|
+
body: 'body',
|
|
1221
|
+
};
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
static types(): { [key: string]: any } {
|
|
1225
|
+
return {
|
|
1226
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1227
|
+
statusCode: 'number',
|
|
1228
|
+
body: RunStyleWritingResponseBody,
|
|
1229
|
+
};
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
constructor(map?: { [key: string]: any }) {
|
|
1233
|
+
super(map);
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
export class RunVideoAnalysisRequest extends $tea.Model {
|
|
1238
|
+
generateOptions?: string[];
|
|
1239
|
+
modelCustomPromptTemplate?: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* @example
|
|
1242
|
+
* PlotDetail
|
|
1243
|
+
*/
|
|
1244
|
+
modelCustomPromptTemplateId?: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* @example
|
|
1247
|
+
* qwen-max
|
|
1248
|
+
*/
|
|
1249
|
+
modelId?: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* @example
|
|
1252
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
1253
|
+
*/
|
|
1254
|
+
originalSessionId?: string;
|
|
1255
|
+
snapshotInterval?: number;
|
|
913
1256
|
/**
|
|
914
1257
|
* @example
|
|
915
1258
|
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
@@ -945,17 +1288,551 @@ export class RunVideoAnalysisRequest extends $tea.Model {
|
|
|
945
1288
|
|
|
946
1289
|
static types(): { [key: string]: any } {
|
|
947
1290
|
return {
|
|
948
|
-
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
949
|
-
modelCustomPromptTemplate: 'string',
|
|
950
|
-
modelCustomPromptTemplateId: 'string',
|
|
951
|
-
modelId: 'string',
|
|
952
|
-
originalSessionId: 'string',
|
|
953
|
-
snapshotInterval: 'number',
|
|
954
|
-
taskId: 'string',
|
|
955
|
-
videoExtraInfo: 'string',
|
|
956
|
-
videoModelCustomPromptTemplate: 'string',
|
|
957
|
-
videoModelId: 'string',
|
|
958
|
-
videoUrl: 'string',
|
|
1291
|
+
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
1292
|
+
modelCustomPromptTemplate: 'string',
|
|
1293
|
+
modelCustomPromptTemplateId: 'string',
|
|
1294
|
+
modelId: 'string',
|
|
1295
|
+
originalSessionId: 'string',
|
|
1296
|
+
snapshotInterval: 'number',
|
|
1297
|
+
taskId: 'string',
|
|
1298
|
+
videoExtraInfo: 'string',
|
|
1299
|
+
videoModelCustomPromptTemplate: 'string',
|
|
1300
|
+
videoModelId: 'string',
|
|
1301
|
+
videoUrl: 'string',
|
|
1302
|
+
};
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
constructor(map?: { [key: string]: any }) {
|
|
1306
|
+
super(map);
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
export class RunVideoAnalysisShrinkRequest extends $tea.Model {
|
|
1311
|
+
generateOptionsShrink?: string;
|
|
1312
|
+
modelCustomPromptTemplate?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* @example
|
|
1315
|
+
* PlotDetail
|
|
1316
|
+
*/
|
|
1317
|
+
modelCustomPromptTemplateId?: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* @example
|
|
1320
|
+
* qwen-max
|
|
1321
|
+
*/
|
|
1322
|
+
modelId?: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* @example
|
|
1325
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
1326
|
+
*/
|
|
1327
|
+
originalSessionId?: string;
|
|
1328
|
+
snapshotInterval?: number;
|
|
1329
|
+
/**
|
|
1330
|
+
* @example
|
|
1331
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
1332
|
+
*/
|
|
1333
|
+
taskId?: string;
|
|
1334
|
+
videoExtraInfo?: string;
|
|
1335
|
+
videoModelCustomPromptTemplate?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* @example
|
|
1338
|
+
* qwen-vl-max
|
|
1339
|
+
*/
|
|
1340
|
+
videoModelId?: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* @example
|
|
1343
|
+
* http://xxxx.mp4
|
|
1344
|
+
*/
|
|
1345
|
+
videoUrl?: string;
|
|
1346
|
+
static names(): { [key: string]: string } {
|
|
1347
|
+
return {
|
|
1348
|
+
generateOptionsShrink: 'generateOptions',
|
|
1349
|
+
modelCustomPromptTemplate: 'modelCustomPromptTemplate',
|
|
1350
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
1351
|
+
modelId: 'modelId',
|
|
1352
|
+
originalSessionId: 'originalSessionId',
|
|
1353
|
+
snapshotInterval: 'snapshotInterval',
|
|
1354
|
+
taskId: 'taskId',
|
|
1355
|
+
videoExtraInfo: 'videoExtraInfo',
|
|
1356
|
+
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
1357
|
+
videoModelId: 'videoModelId',
|
|
1358
|
+
videoUrl: 'videoUrl',
|
|
1359
|
+
};
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
static types(): { [key: string]: any } {
|
|
1363
|
+
return {
|
|
1364
|
+
generateOptionsShrink: 'string',
|
|
1365
|
+
modelCustomPromptTemplate: 'string',
|
|
1366
|
+
modelCustomPromptTemplateId: 'string',
|
|
1367
|
+
modelId: 'string',
|
|
1368
|
+
originalSessionId: 'string',
|
|
1369
|
+
snapshotInterval: 'number',
|
|
1370
|
+
taskId: 'string',
|
|
1371
|
+
videoExtraInfo: 'string',
|
|
1372
|
+
videoModelCustomPromptTemplate: 'string',
|
|
1373
|
+
videoModelId: 'string',
|
|
1374
|
+
videoUrl: 'string',
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
constructor(map?: { [key: string]: any }) {
|
|
1379
|
+
super(map);
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
export class RunVideoAnalysisResponseBody extends $tea.Model {
|
|
1384
|
+
header?: RunVideoAnalysisResponseBodyHeader;
|
|
1385
|
+
payload?: RunVideoAnalysisResponseBodyPayload;
|
|
1386
|
+
/**
|
|
1387
|
+
* @example
|
|
1388
|
+
* 117F5ABE-CF02-5502-9A3F-E56BC9081A64
|
|
1389
|
+
*/
|
|
1390
|
+
requestId?: string;
|
|
1391
|
+
static names(): { [key: string]: string } {
|
|
1392
|
+
return {
|
|
1393
|
+
header: 'header',
|
|
1394
|
+
payload: 'payload',
|
|
1395
|
+
requestId: 'requestId',
|
|
1396
|
+
};
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
static types(): { [key: string]: any } {
|
|
1400
|
+
return {
|
|
1401
|
+
header: RunVideoAnalysisResponseBodyHeader,
|
|
1402
|
+
payload: RunVideoAnalysisResponseBodyPayload,
|
|
1403
|
+
requestId: 'string',
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
constructor(map?: { [key: string]: any }) {
|
|
1408
|
+
super(map);
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
export class RunVideoAnalysisResponse extends $tea.Model {
|
|
1413
|
+
headers?: { [key: string]: string };
|
|
1414
|
+
statusCode?: number;
|
|
1415
|
+
body?: RunVideoAnalysisResponseBody;
|
|
1416
|
+
static names(): { [key: string]: string } {
|
|
1417
|
+
return {
|
|
1418
|
+
headers: 'headers',
|
|
1419
|
+
statusCode: 'statusCode',
|
|
1420
|
+
body: 'body',
|
|
1421
|
+
};
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
static types(): { [key: string]: any } {
|
|
1425
|
+
return {
|
|
1426
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1427
|
+
statusCode: 'number',
|
|
1428
|
+
body: RunVideoAnalysisResponseBody,
|
|
1429
|
+
};
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
constructor(map?: { [key: string]: any }) {
|
|
1433
|
+
super(map);
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
export class GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages extends $tea.Model {
|
|
1438
|
+
/**
|
|
1439
|
+
* @example
|
|
1440
|
+
* http://xxx.com/xxx.jpeg
|
|
1441
|
+
*/
|
|
1442
|
+
url?: string;
|
|
1443
|
+
static names(): { [key: string]: string } {
|
|
1444
|
+
return {
|
|
1445
|
+
url: 'url',
|
|
1446
|
+
};
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
static types(): { [key: string]: any } {
|
|
1450
|
+
return {
|
|
1451
|
+
url: 'string',
|
|
1452
|
+
};
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
constructor(map?: { [key: string]: any }) {
|
|
1456
|
+
super(map);
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
export class GenerateBroadcastNewsResponseBodyDataHotTopicSummaries extends $tea.Model {
|
|
1461
|
+
category?: string;
|
|
1462
|
+
hotTopic?: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* @example
|
|
1465
|
+
* 2024-09-13_08
|
|
1466
|
+
*/
|
|
1467
|
+
hotTopicVersion?: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* @example
|
|
1470
|
+
* 1000000
|
|
1471
|
+
*/
|
|
1472
|
+
hotValue?: number;
|
|
1473
|
+
/**
|
|
1474
|
+
* @example
|
|
1475
|
+
* 1458tb3bjo7531kap42a
|
|
1476
|
+
*/
|
|
1477
|
+
id?: string;
|
|
1478
|
+
images?: GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages[];
|
|
1479
|
+
/**
|
|
1480
|
+
* @example
|
|
1481
|
+
* xxx
|
|
1482
|
+
*/
|
|
1483
|
+
textSummary?: string;
|
|
1484
|
+
static names(): { [key: string]: string } {
|
|
1485
|
+
return {
|
|
1486
|
+
category: 'category',
|
|
1487
|
+
hotTopic: 'hotTopic',
|
|
1488
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
1489
|
+
hotValue: 'hotValue',
|
|
1490
|
+
id: 'id',
|
|
1491
|
+
images: 'images',
|
|
1492
|
+
textSummary: 'textSummary',
|
|
1493
|
+
};
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
static types(): { [key: string]: any } {
|
|
1497
|
+
return {
|
|
1498
|
+
category: 'string',
|
|
1499
|
+
hotTopic: 'string',
|
|
1500
|
+
hotTopicVersion: 'string',
|
|
1501
|
+
hotValue: 'number',
|
|
1502
|
+
id: 'string',
|
|
1503
|
+
images: { 'type': 'array', 'itemType': GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages },
|
|
1504
|
+
textSummary: 'string',
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
constructor(map?: { [key: string]: any }) {
|
|
1509
|
+
super(map);
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
export class GenerateBroadcastNewsResponseBodyDataUsage extends $tea.Model {
|
|
1514
|
+
/**
|
|
1515
|
+
* @example
|
|
1516
|
+
* 1
|
|
1517
|
+
*/
|
|
1518
|
+
inputTokens?: number;
|
|
1519
|
+
/**
|
|
1520
|
+
* @example
|
|
1521
|
+
* 2
|
|
1522
|
+
*/
|
|
1523
|
+
outputTokens?: number;
|
|
1524
|
+
/**
|
|
1525
|
+
* @example
|
|
1526
|
+
* 3
|
|
1527
|
+
*/
|
|
1528
|
+
totalTokens?: number;
|
|
1529
|
+
static names(): { [key: string]: string } {
|
|
1530
|
+
return {
|
|
1531
|
+
inputTokens: 'inputTokens',
|
|
1532
|
+
outputTokens: 'outputTokens',
|
|
1533
|
+
totalTokens: 'totalTokens',
|
|
1534
|
+
};
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
static types(): { [key: string]: any } {
|
|
1538
|
+
return {
|
|
1539
|
+
inputTokens: 'number',
|
|
1540
|
+
outputTokens: 'number',
|
|
1541
|
+
totalTokens: 'number',
|
|
1542
|
+
};
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
constructor(map?: { [key: string]: any }) {
|
|
1546
|
+
super(map);
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
export class GenerateBroadcastNewsResponseBodyData extends $tea.Model {
|
|
1551
|
+
hotTopicSummaries?: GenerateBroadcastNewsResponseBodyDataHotTopicSummaries[];
|
|
1552
|
+
/**
|
|
1553
|
+
* @example
|
|
1554
|
+
* 2bb0ea82dafd48a8817fadc4c90e2b52
|
|
1555
|
+
*/
|
|
1556
|
+
sessionId?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* @example
|
|
1559
|
+
* 3feb69ed02d9b1a17d0f1a942675d300
|
|
1560
|
+
*/
|
|
1561
|
+
taskId?: string;
|
|
1562
|
+
text?: string;
|
|
1563
|
+
usage?: GenerateBroadcastNewsResponseBodyDataUsage;
|
|
1564
|
+
static names(): { [key: string]: string } {
|
|
1565
|
+
return {
|
|
1566
|
+
hotTopicSummaries: 'hotTopicSummaries',
|
|
1567
|
+
sessionId: 'sessionId',
|
|
1568
|
+
taskId: 'taskId',
|
|
1569
|
+
text: 'text',
|
|
1570
|
+
usage: 'usage',
|
|
1571
|
+
};
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
static types(): { [key: string]: any } {
|
|
1575
|
+
return {
|
|
1576
|
+
hotTopicSummaries: { 'type': 'array', 'itemType': GenerateBroadcastNewsResponseBodyDataHotTopicSummaries },
|
|
1577
|
+
sessionId: 'string',
|
|
1578
|
+
taskId: 'string',
|
|
1579
|
+
text: 'string',
|
|
1580
|
+
usage: GenerateBroadcastNewsResponseBodyDataUsage,
|
|
1581
|
+
};
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
constructor(map?: { [key: string]: any }) {
|
|
1585
|
+
super(map);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
export class ListHotTopicSummariesResponseBodyDataNewsComments extends $tea.Model {
|
|
1590
|
+
/**
|
|
1591
|
+
* @example
|
|
1592
|
+
* xx
|
|
1593
|
+
*/
|
|
1594
|
+
text?: string;
|
|
1595
|
+
static names(): { [key: string]: string } {
|
|
1596
|
+
return {
|
|
1597
|
+
text: 'text',
|
|
1598
|
+
};
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
static types(): { [key: string]: any } {
|
|
1602
|
+
return {
|
|
1603
|
+
text: 'string',
|
|
1604
|
+
};
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
constructor(map?: { [key: string]: any }) {
|
|
1608
|
+
super(map);
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
export class ListHotTopicSummariesResponseBodyDataNews extends $tea.Model {
|
|
1613
|
+
comments?: ListHotTopicSummariesResponseBodyDataNewsComments[];
|
|
1614
|
+
/**
|
|
1615
|
+
* @example
|
|
1616
|
+
* xx
|
|
1617
|
+
*/
|
|
1618
|
+
content?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* @example
|
|
1621
|
+
* 2024-09-10 15:32:00
|
|
1622
|
+
*/
|
|
1623
|
+
pubTime?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* @example
|
|
1626
|
+
* xx
|
|
1627
|
+
*/
|
|
1628
|
+
title?: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* @remarks
|
|
1631
|
+
* url
|
|
1632
|
+
*
|
|
1633
|
+
* @example
|
|
1634
|
+
* http://xxx
|
|
1635
|
+
*/
|
|
1636
|
+
url?: string;
|
|
1637
|
+
static names(): { [key: string]: string } {
|
|
1638
|
+
return {
|
|
1639
|
+
comments: 'comments',
|
|
1640
|
+
content: 'content',
|
|
1641
|
+
pubTime: 'pubTime',
|
|
1642
|
+
title: 'title',
|
|
1643
|
+
url: 'url',
|
|
1644
|
+
};
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
static types(): { [key: string]: any } {
|
|
1648
|
+
return {
|
|
1649
|
+
comments: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataNewsComments },
|
|
1650
|
+
content: 'string',
|
|
1651
|
+
pubTime: 'string',
|
|
1652
|
+
title: 'string',
|
|
1653
|
+
url: 'string',
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
constructor(map?: { [key: string]: any }) {
|
|
1658
|
+
super(map);
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
export class ListHotTopicSummariesResponseBodyDataSummarySummaries extends $tea.Model {
|
|
1663
|
+
/**
|
|
1664
|
+
* @example
|
|
1665
|
+
* xx
|
|
1666
|
+
*/
|
|
1667
|
+
summary?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* @example
|
|
1670
|
+
* xx
|
|
1671
|
+
*/
|
|
1672
|
+
title?: string;
|
|
1673
|
+
static names(): { [key: string]: string } {
|
|
1674
|
+
return {
|
|
1675
|
+
summary: 'summary',
|
|
1676
|
+
title: 'title',
|
|
1677
|
+
};
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
static types(): { [key: string]: any } {
|
|
1681
|
+
return {
|
|
1682
|
+
summary: 'string',
|
|
1683
|
+
title: 'string',
|
|
1684
|
+
};
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
constructor(map?: { [key: string]: any }) {
|
|
1688
|
+
super(map);
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
export class ListHotTopicSummariesResponseBodyDataSummary extends $tea.Model {
|
|
1693
|
+
summaries?: ListHotTopicSummariesResponseBodyDataSummarySummaries[];
|
|
1694
|
+
static names(): { [key: string]: string } {
|
|
1695
|
+
return {
|
|
1696
|
+
summaries: 'summaries',
|
|
1697
|
+
};
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
static types(): { [key: string]: any } {
|
|
1701
|
+
return {
|
|
1702
|
+
summaries: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataSummarySummaries },
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
constructor(map?: { [key: string]: any }) {
|
|
1707
|
+
super(map);
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
export class ListHotTopicSummariesResponseBodyData extends $tea.Model {
|
|
1712
|
+
category?: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* @example
|
|
1715
|
+
* xx
|
|
1716
|
+
*/
|
|
1717
|
+
hotTopic?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* @example
|
|
1720
|
+
* 2024-09-13_12
|
|
1721
|
+
*/
|
|
1722
|
+
hotTopicVersion?: string;
|
|
1723
|
+
/**
|
|
1724
|
+
* @example
|
|
1725
|
+
* 1000000
|
|
1726
|
+
*/
|
|
1727
|
+
hotValue?: number;
|
|
1728
|
+
/**
|
|
1729
|
+
* @example
|
|
1730
|
+
* db5dc5b3d8954a30b65ba700c9dda3bb
|
|
1731
|
+
*/
|
|
1732
|
+
id?: string;
|
|
1733
|
+
news?: ListHotTopicSummariesResponseBodyDataNews[];
|
|
1734
|
+
summary?: ListHotTopicSummariesResponseBodyDataSummary;
|
|
1735
|
+
/**
|
|
1736
|
+
* @example
|
|
1737
|
+
* xx
|
|
1738
|
+
*/
|
|
1739
|
+
textSummary?: string;
|
|
1740
|
+
static names(): { [key: string]: string } {
|
|
1741
|
+
return {
|
|
1742
|
+
category: 'category',
|
|
1743
|
+
hotTopic: 'hotTopic',
|
|
1744
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
1745
|
+
hotValue: 'hotValue',
|
|
1746
|
+
id: 'id',
|
|
1747
|
+
news: 'news',
|
|
1748
|
+
summary: 'summary',
|
|
1749
|
+
textSummary: 'textSummary',
|
|
1750
|
+
};
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
static types(): { [key: string]: any } {
|
|
1754
|
+
return {
|
|
1755
|
+
category: 'string',
|
|
1756
|
+
hotTopic: 'string',
|
|
1757
|
+
hotTopicVersion: 'string',
|
|
1758
|
+
hotValue: 'number',
|
|
1759
|
+
id: 'string',
|
|
1760
|
+
news: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataNews },
|
|
1761
|
+
summary: ListHotTopicSummariesResponseBodyDataSummary,
|
|
1762
|
+
textSummary: 'string',
|
|
1763
|
+
};
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
constructor(map?: { [key: string]: any }) {
|
|
1767
|
+
super(map);
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export class RunCommentGenerationResponseBodyHeader extends $tea.Model {
|
|
1772
|
+
/**
|
|
1773
|
+
* @example
|
|
1774
|
+
* result-generated
|
|
1775
|
+
*/
|
|
1776
|
+
event?: string;
|
|
1777
|
+
eventInfo?: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* @example
|
|
1780
|
+
* F8A35034-EDCF-5C50-95A5-1044316F36E3
|
|
1781
|
+
*/
|
|
1782
|
+
requestId?: string;
|
|
1783
|
+
/**
|
|
1784
|
+
* @example
|
|
1785
|
+
* tcm9xac9dsfbfgm8hf5k94l3cqybwh9o3mn0iuyytdgd9qoejxf1crxsdvuvr8fu0zuhbe8anhdaoeif2wbkmebagnezh23cuhkiazx2tmjh4eml791eak7t95sshvtkz14bh2lnbktzvdhialzd8reoaem0pktw41slinwyoabe75xlnxsqb5eo1i6ly70
|
|
1786
|
+
*/
|
|
1787
|
+
sessionId?: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* @example
|
|
1790
|
+
* task-fu1918oghtodbis3chgpfr
|
|
1791
|
+
*/
|
|
1792
|
+
taskId?: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* @example
|
|
1795
|
+
* 21507c3517074446017046500ed5f1
|
|
1796
|
+
*/
|
|
1797
|
+
traceId?: string;
|
|
1798
|
+
static names(): { [key: string]: string } {
|
|
1799
|
+
return {
|
|
1800
|
+
event: 'event',
|
|
1801
|
+
eventInfo: 'eventInfo',
|
|
1802
|
+
requestId: 'requestId',
|
|
1803
|
+
sessionId: 'sessionId',
|
|
1804
|
+
taskId: 'taskId',
|
|
1805
|
+
traceId: 'traceId',
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
static types(): { [key: string]: any } {
|
|
1810
|
+
return {
|
|
1811
|
+
event: 'string',
|
|
1812
|
+
eventInfo: 'string',
|
|
1813
|
+
requestId: 'string',
|
|
1814
|
+
sessionId: 'string',
|
|
1815
|
+
taskId: 'string',
|
|
1816
|
+
traceId: 'string',
|
|
1817
|
+
};
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
constructor(map?: { [key: string]: any }) {
|
|
1821
|
+
super(map);
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
export class RunCommentGenerationResponseBodyPayloadOutput extends $tea.Model {
|
|
1826
|
+
text?: string;
|
|
1827
|
+
static names(): { [key: string]: string } {
|
|
1828
|
+
return {
|
|
1829
|
+
text: 'text',
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
static types(): { [key: string]: any } {
|
|
1834
|
+
return {
|
|
1835
|
+
text: 'string',
|
|
959
1836
|
};
|
|
960
1837
|
}
|
|
961
1838
|
|
|
@@ -964,71 +1841,35 @@ export class RunVideoAnalysisRequest extends $tea.Model {
|
|
|
964
1841
|
}
|
|
965
1842
|
}
|
|
966
1843
|
|
|
967
|
-
export class
|
|
968
|
-
generateOptionsShrink?: string;
|
|
969
|
-
modelCustomPromptTemplate?: string;
|
|
970
|
-
/**
|
|
971
|
-
* @example
|
|
972
|
-
* PlotDetail
|
|
973
|
-
*/
|
|
974
|
-
modelCustomPromptTemplateId?: string;
|
|
975
|
-
/**
|
|
976
|
-
* @example
|
|
977
|
-
* qwen-max
|
|
978
|
-
*/
|
|
979
|
-
modelId?: string;
|
|
980
|
-
/**
|
|
981
|
-
* @example
|
|
982
|
-
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
983
|
-
*/
|
|
984
|
-
originalSessionId?: string;
|
|
985
|
-
snapshotInterval?: number;
|
|
1844
|
+
export class RunCommentGenerationResponseBodyPayloadUsage extends $tea.Model {
|
|
986
1845
|
/**
|
|
987
1846
|
* @example
|
|
988
|
-
*
|
|
1847
|
+
* 100
|
|
989
1848
|
*/
|
|
990
|
-
|
|
991
|
-
videoExtraInfo?: string;
|
|
992
|
-
videoModelCustomPromptTemplate?: string;
|
|
1849
|
+
inputTokens?: number;
|
|
993
1850
|
/**
|
|
994
1851
|
* @example
|
|
995
|
-
*
|
|
1852
|
+
* 100
|
|
996
1853
|
*/
|
|
997
|
-
|
|
1854
|
+
outputTokens?: number;
|
|
998
1855
|
/**
|
|
999
1856
|
* @example
|
|
1000
|
-
*
|
|
1857
|
+
* 200
|
|
1001
1858
|
*/
|
|
1002
|
-
|
|
1859
|
+
totalTokens?: number;
|
|
1003
1860
|
static names(): { [key: string]: string } {
|
|
1004
1861
|
return {
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
modelId: 'modelId',
|
|
1009
|
-
originalSessionId: 'originalSessionId',
|
|
1010
|
-
snapshotInterval: 'snapshotInterval',
|
|
1011
|
-
taskId: 'taskId',
|
|
1012
|
-
videoExtraInfo: 'videoExtraInfo',
|
|
1013
|
-
videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
|
|
1014
|
-
videoModelId: 'videoModelId',
|
|
1015
|
-
videoUrl: 'videoUrl',
|
|
1862
|
+
inputTokens: 'inputTokens',
|
|
1863
|
+
outputTokens: 'outputTokens',
|
|
1864
|
+
totalTokens: 'totalTokens',
|
|
1016
1865
|
};
|
|
1017
1866
|
}
|
|
1018
1867
|
|
|
1019
1868
|
static types(): { [key: string]: any } {
|
|
1020
1869
|
return {
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
modelId: 'string',
|
|
1025
|
-
originalSessionId: 'string',
|
|
1026
|
-
snapshotInterval: 'number',
|
|
1027
|
-
taskId: 'string',
|
|
1028
|
-
videoExtraInfo: 'string',
|
|
1029
|
-
videoModelCustomPromptTemplate: 'string',
|
|
1030
|
-
videoModelId: 'string',
|
|
1031
|
-
videoUrl: 'string',
|
|
1870
|
+
inputTokens: 'number',
|
|
1871
|
+
outputTokens: 'number',
|
|
1872
|
+
totalTokens: 'number',
|
|
1032
1873
|
};
|
|
1033
1874
|
}
|
|
1034
1875
|
|
|
@@ -1037,27 +1878,20 @@ export class RunVideoAnalysisShrinkRequest extends $tea.Model {
|
|
|
1037
1878
|
}
|
|
1038
1879
|
}
|
|
1039
1880
|
|
|
1040
|
-
export class
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* @example
|
|
1045
|
-
* 117F5ABE-CF02-5502-9A3F-E56BC9081A64
|
|
1046
|
-
*/
|
|
1047
|
-
requestId?: string;
|
|
1881
|
+
export class RunCommentGenerationResponseBodyPayload extends $tea.Model {
|
|
1882
|
+
output?: RunCommentGenerationResponseBodyPayloadOutput;
|
|
1883
|
+
usage?: RunCommentGenerationResponseBodyPayloadUsage;
|
|
1048
1884
|
static names(): { [key: string]: string } {
|
|
1049
1885
|
return {
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
requestId: 'requestId',
|
|
1886
|
+
output: 'output',
|
|
1887
|
+
usage: 'usage',
|
|
1053
1888
|
};
|
|
1054
1889
|
}
|
|
1055
1890
|
|
|
1056
1891
|
static types(): { [key: string]: any } {
|
|
1057
1892
|
return {
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
requestId: 'string',
|
|
1893
|
+
output: RunCommentGenerationResponseBodyPayloadOutput,
|
|
1894
|
+
usage: RunCommentGenerationResponseBodyPayloadUsage,
|
|
1061
1895
|
};
|
|
1062
1896
|
}
|
|
1063
1897
|
|
|
@@ -1066,23 +1900,28 @@ export class RunVideoAnalysisResponseBody extends $tea.Model {
|
|
|
1066
1900
|
}
|
|
1067
1901
|
}
|
|
1068
1902
|
|
|
1069
|
-
export class
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1903
|
+
export class RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights extends $tea.Model {
|
|
1904
|
+
/**
|
|
1905
|
+
* @example
|
|
1906
|
+
* comments
|
|
1907
|
+
*/
|
|
1908
|
+
dimension?: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* @example
|
|
1911
|
+
* 1
|
|
1912
|
+
*/
|
|
1913
|
+
weight?: number;
|
|
1073
1914
|
static names(): { [key: string]: string } {
|
|
1074
1915
|
return {
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
body: 'body',
|
|
1916
|
+
dimension: 'dimension',
|
|
1917
|
+
weight: 'weight',
|
|
1078
1918
|
};
|
|
1079
1919
|
}
|
|
1080
1920
|
|
|
1081
1921
|
static types(): { [key: string]: any } {
|
|
1082
1922
|
return {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
body: RunVideoAnalysisResponseBody,
|
|
1923
|
+
dimension: 'string',
|
|
1924
|
+
weight: 'number',
|
|
1086
1925
|
};
|
|
1087
1926
|
}
|
|
1088
1927
|
|
|
@@ -1091,21 +1930,27 @@ export class RunVideoAnalysisResponse extends $tea.Model {
|
|
|
1091
1930
|
}
|
|
1092
1931
|
}
|
|
1093
1932
|
|
|
1094
|
-
export class
|
|
1933
|
+
export class RunHotTopicChatRequestStepForBroadcastContentConfig extends $tea.Model {
|
|
1934
|
+
categories?: string[];
|
|
1935
|
+
customHotValueWeights?: RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights[];
|
|
1095
1936
|
/**
|
|
1096
1937
|
* @example
|
|
1097
|
-
*
|
|
1938
|
+
* 20
|
|
1098
1939
|
*/
|
|
1099
|
-
|
|
1940
|
+
topicCount?: number;
|
|
1100
1941
|
static names(): { [key: string]: string } {
|
|
1101
1942
|
return {
|
|
1102
|
-
|
|
1943
|
+
categories: 'categories',
|
|
1944
|
+
customHotValueWeights: 'customHotValueWeights',
|
|
1945
|
+
topicCount: 'topicCount',
|
|
1103
1946
|
};
|
|
1104
1947
|
}
|
|
1105
1948
|
|
|
1106
1949
|
static types(): { [key: string]: any } {
|
|
1107
1950
|
return {
|
|
1108
|
-
|
|
1951
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
1952
|
+
customHotValueWeights: { 'type': 'array', 'itemType': RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights },
|
|
1953
|
+
topicCount: 'number',
|
|
1109
1954
|
};
|
|
1110
1955
|
}
|
|
1111
1956
|
|
|
@@ -1114,51 +1959,63 @@ export class GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages extend
|
|
|
1114
1959
|
}
|
|
1115
1960
|
}
|
|
1116
1961
|
|
|
1117
|
-
export class
|
|
1118
|
-
category?: string;
|
|
1119
|
-
hotTopic?: string;
|
|
1962
|
+
export class RunHotTopicChatResponseBodyHeader extends $tea.Model {
|
|
1120
1963
|
/**
|
|
1121
1964
|
* @example
|
|
1122
|
-
*
|
|
1965
|
+
* InvalidParam
|
|
1123
1966
|
*/
|
|
1124
|
-
|
|
1967
|
+
errorCode?: string;
|
|
1125
1968
|
/**
|
|
1126
1969
|
* @example
|
|
1127
|
-
*
|
|
1970
|
+
* xx
|
|
1128
1971
|
*/
|
|
1129
|
-
|
|
1972
|
+
errorMessage?: string;
|
|
1130
1973
|
/**
|
|
1131
1974
|
* @example
|
|
1132
|
-
*
|
|
1975
|
+
* task-finished
|
|
1133
1976
|
*/
|
|
1134
|
-
|
|
1135
|
-
|
|
1977
|
+
event?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* @example
|
|
1980
|
+
* xx
|
|
1981
|
+
*/
|
|
1982
|
+
eventInfo?: string;
|
|
1136
1983
|
/**
|
|
1137
1984
|
* @example
|
|
1138
1985
|
* xxx
|
|
1139
1986
|
*/
|
|
1140
|
-
|
|
1987
|
+
sessionId?: string;
|
|
1988
|
+
/**
|
|
1989
|
+
* @example
|
|
1990
|
+
* d3be9981-ca2d-4e17-bf31-1c0a628e9f99
|
|
1991
|
+
*/
|
|
1992
|
+
taskId?: string;
|
|
1993
|
+
/**
|
|
1994
|
+
* @example
|
|
1995
|
+
* 2150451a17191950923411783e2927
|
|
1996
|
+
*/
|
|
1997
|
+
traceId?: string;
|
|
1141
1998
|
static names(): { [key: string]: string } {
|
|
1142
1999
|
return {
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
2000
|
+
errorCode: 'errorCode',
|
|
2001
|
+
errorMessage: 'errorMessage',
|
|
2002
|
+
event: 'event',
|
|
2003
|
+
eventInfo: 'eventInfo',
|
|
2004
|
+
sessionId: 'sessionId',
|
|
2005
|
+
taskId: 'taskId',
|
|
2006
|
+
traceId: 'traceId',
|
|
1150
2007
|
};
|
|
1151
2008
|
}
|
|
1152
2009
|
|
|
1153
2010
|
static types(): { [key: string]: any } {
|
|
1154
2011
|
return {
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
2012
|
+
errorCode: 'string',
|
|
2013
|
+
errorMessage: 'string',
|
|
2014
|
+
event: 'string',
|
|
2015
|
+
eventInfo: 'string',
|
|
2016
|
+
sessionId: 'string',
|
|
2017
|
+
taskId: 'string',
|
|
2018
|
+
traceId: 'string',
|
|
1162
2019
|
};
|
|
1163
2020
|
}
|
|
1164
2021
|
|
|
@@ -1167,35 +2024,58 @@ export class GenerateBroadcastNewsResponseBodyDataHotTopicSummaries extends $tea
|
|
|
1167
2024
|
}
|
|
1168
2025
|
}
|
|
1169
2026
|
|
|
1170
|
-
export class
|
|
2027
|
+
export class RunHotTopicChatResponseBodyPayloadOutputArticles extends $tea.Model {
|
|
1171
2028
|
/**
|
|
1172
2029
|
* @example
|
|
1173
|
-
*
|
|
2030
|
+
* xxx
|
|
1174
2031
|
*/
|
|
1175
|
-
|
|
2032
|
+
content?: string;
|
|
1176
2033
|
/**
|
|
1177
2034
|
* @example
|
|
1178
|
-
*
|
|
2035
|
+
* 2024-09-22 16:45:06
|
|
1179
2036
|
*/
|
|
1180
|
-
|
|
2037
|
+
pubTime?: string;
|
|
2038
|
+
score?: number;
|
|
2039
|
+
searchSourceName?: string;
|
|
2040
|
+
select?: boolean;
|
|
1181
2041
|
/**
|
|
1182
2042
|
* @example
|
|
1183
|
-
*
|
|
2043
|
+
* xx
|
|
1184
2044
|
*/
|
|
1185
|
-
|
|
2045
|
+
summary?: string;
|
|
2046
|
+
/**
|
|
2047
|
+
* @example
|
|
2048
|
+
* test
|
|
2049
|
+
*/
|
|
2050
|
+
title?: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* @example
|
|
2053
|
+
* http://xxx
|
|
2054
|
+
*/
|
|
2055
|
+
url?: string;
|
|
1186
2056
|
static names(): { [key: string]: string } {
|
|
1187
2057
|
return {
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
2058
|
+
content: 'content',
|
|
2059
|
+
pubTime: 'pubTime',
|
|
2060
|
+
score: 'score',
|
|
2061
|
+
searchSourceName: 'searchSourceName',
|
|
2062
|
+
select: 'select',
|
|
2063
|
+
summary: 'summary',
|
|
2064
|
+
title: 'title',
|
|
2065
|
+
url: 'url',
|
|
1191
2066
|
};
|
|
1192
2067
|
}
|
|
1193
2068
|
|
|
1194
2069
|
static types(): { [key: string]: any } {
|
|
1195
2070
|
return {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
2071
|
+
content: 'string',
|
|
2072
|
+
pubTime: 'string',
|
|
2073
|
+
score: 'number',
|
|
2074
|
+
searchSourceName: 'string',
|
|
2075
|
+
select: 'boolean',
|
|
2076
|
+
summary: 'string',
|
|
2077
|
+
title: 'string',
|
|
2078
|
+
url: 'string',
|
|
1199
2079
|
};
|
|
1200
2080
|
}
|
|
1201
2081
|
|
|
@@ -1204,37 +2084,42 @@ export class GenerateBroadcastNewsResponseBodyDataUsage extends $tea.Model {
|
|
|
1204
2084
|
}
|
|
1205
2085
|
}
|
|
1206
2086
|
|
|
1207
|
-
export class
|
|
1208
|
-
hotTopicSummaries?: GenerateBroadcastNewsResponseBodyDataHotTopicSummaries[];
|
|
2087
|
+
export class RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries extends $tea.Model {
|
|
1209
2088
|
/**
|
|
1210
2089
|
* @example
|
|
1211
|
-
*
|
|
2090
|
+
* 100000
|
|
1212
2091
|
*/
|
|
1213
|
-
|
|
2092
|
+
customHotValue?: number;
|
|
1214
2093
|
/**
|
|
1215
2094
|
* @example
|
|
1216
|
-
*
|
|
2095
|
+
* xx
|
|
1217
2096
|
*/
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
2097
|
+
hotTopic?: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* @example
|
|
2100
|
+
* 2024-09-13_08
|
|
2101
|
+
*/
|
|
2102
|
+
hotTopicVersion?: string;
|
|
2103
|
+
/**
|
|
2104
|
+
* @example
|
|
2105
|
+
* 100000
|
|
2106
|
+
*/
|
|
2107
|
+
hotValue?: number;
|
|
1221
2108
|
static names(): { [key: string]: string } {
|
|
1222
2109
|
return {
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
usage: 'usage',
|
|
2110
|
+
customHotValue: 'customHotValue',
|
|
2111
|
+
hotTopic: 'hotTopic',
|
|
2112
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
2113
|
+
hotValue: 'hotValue',
|
|
1228
2114
|
};
|
|
1229
2115
|
}
|
|
1230
2116
|
|
|
1231
2117
|
static types(): { [key: string]: any } {
|
|
1232
2118
|
return {
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
usage: GenerateBroadcastNewsResponseBodyDataUsage,
|
|
2119
|
+
customHotValue: 'number',
|
|
2120
|
+
hotTopic: 'string',
|
|
2121
|
+
hotTopicVersion: 'string',
|
|
2122
|
+
hotValue: 'number',
|
|
1238
2123
|
};
|
|
1239
2124
|
}
|
|
1240
2125
|
|
|
@@ -1243,21 +2128,31 @@ export class GenerateBroadcastNewsResponseBodyData extends $tea.Model {
|
|
|
1243
2128
|
}
|
|
1244
2129
|
}
|
|
1245
2130
|
|
|
1246
|
-
export class
|
|
2131
|
+
export class RunHotTopicChatResponseBodyPayloadOutputMultimodalMedias extends $tea.Model {
|
|
1247
2132
|
/**
|
|
1248
2133
|
* @example
|
|
1249
|
-
*
|
|
2134
|
+
* http://xxxx
|
|
1250
2135
|
*/
|
|
1251
|
-
|
|
2136
|
+
fileUrl?: string;
|
|
2137
|
+
/**
|
|
2138
|
+
* @example
|
|
2139
|
+
* image
|
|
2140
|
+
*/
|
|
2141
|
+
mediaType?: string;
|
|
2142
|
+
sortScore?: number;
|
|
1252
2143
|
static names(): { [key: string]: string } {
|
|
1253
2144
|
return {
|
|
1254
|
-
|
|
2145
|
+
fileUrl: 'fileUrl',
|
|
2146
|
+
mediaType: 'mediaType',
|
|
2147
|
+
sortScore: 'sortScore',
|
|
1255
2148
|
};
|
|
1256
2149
|
}
|
|
1257
2150
|
|
|
1258
2151
|
static types(): { [key: string]: any } {
|
|
1259
2152
|
return {
|
|
1260
|
-
|
|
2153
|
+
fileUrl: 'string',
|
|
2154
|
+
mediaType: 'string',
|
|
2155
|
+
sortScore: 'number',
|
|
1261
2156
|
};
|
|
1262
2157
|
}
|
|
1263
2158
|
|
|
@@ -1266,48 +2161,36 @@ export class ListHotTopicSummariesResponseBodyDataNewsComments extends $tea.Mode
|
|
|
1266
2161
|
}
|
|
1267
2162
|
}
|
|
1268
2163
|
|
|
1269
|
-
export class
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
content?: string;
|
|
1276
|
-
/**
|
|
1277
|
-
* @example
|
|
1278
|
-
* 2024-09-10 15:32:00
|
|
1279
|
-
*/
|
|
1280
|
-
pubTime?: string;
|
|
2164
|
+
export class RunHotTopicChatResponseBodyPayloadOutput extends $tea.Model {
|
|
2165
|
+
articles?: RunHotTopicChatResponseBodyPayloadOutputArticles[];
|
|
2166
|
+
hotTopicSummaries?: RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries[];
|
|
2167
|
+
multimodalMedias?: RunHotTopicChatResponseBodyPayloadOutputMultimodalMedias[];
|
|
2168
|
+
recommendQueries?: string[];
|
|
2169
|
+
searchQuery?: string;
|
|
1281
2170
|
/**
|
|
1282
2171
|
* @example
|
|
1283
2172
|
* xx
|
|
1284
2173
|
*/
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* @remarks
|
|
1288
|
-
* url
|
|
1289
|
-
*
|
|
1290
|
-
* @example
|
|
1291
|
-
* http://xxx
|
|
1292
|
-
*/
|
|
1293
|
-
url?: string;
|
|
2174
|
+
text?: string;
|
|
1294
2175
|
static names(): { [key: string]: string } {
|
|
1295
2176
|
return {
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
2177
|
+
articles: 'articles',
|
|
2178
|
+
hotTopicSummaries: 'hotTopicSummaries',
|
|
2179
|
+
multimodalMedias: 'multimodalMedias',
|
|
2180
|
+
recommendQueries: 'recommendQueries',
|
|
2181
|
+
searchQuery: 'searchQuery',
|
|
2182
|
+
text: 'text',
|
|
1301
2183
|
};
|
|
1302
2184
|
}
|
|
1303
2185
|
|
|
1304
2186
|
static types(): { [key: string]: any } {
|
|
1305
2187
|
return {
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
2188
|
+
articles: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputArticles },
|
|
2189
|
+
hotTopicSummaries: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries },
|
|
2190
|
+
multimodalMedias: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputMultimodalMedias },
|
|
2191
|
+
recommendQueries: { 'type': 'array', 'itemType': 'string' },
|
|
2192
|
+
searchQuery: 'string',
|
|
2193
|
+
text: 'string',
|
|
1311
2194
|
};
|
|
1312
2195
|
}
|
|
1313
2196
|
|
|
@@ -1316,28 +2199,35 @@ export class ListHotTopicSummariesResponseBodyDataNews extends $tea.Model {
|
|
|
1316
2199
|
}
|
|
1317
2200
|
}
|
|
1318
2201
|
|
|
1319
|
-
export class
|
|
2202
|
+
export class RunHotTopicChatResponseBodyPayloadUsage extends $tea.Model {
|
|
1320
2203
|
/**
|
|
1321
2204
|
* @example
|
|
1322
|
-
*
|
|
2205
|
+
* 100
|
|
1323
2206
|
*/
|
|
1324
|
-
|
|
2207
|
+
inputTokens?: number;
|
|
1325
2208
|
/**
|
|
1326
2209
|
* @example
|
|
1327
|
-
*
|
|
2210
|
+
* 100
|
|
1328
2211
|
*/
|
|
1329
|
-
|
|
2212
|
+
outputTokens?: number;
|
|
2213
|
+
/**
|
|
2214
|
+
* @example
|
|
2215
|
+
* 200
|
|
2216
|
+
*/
|
|
2217
|
+
totalTokens?: number;
|
|
1330
2218
|
static names(): { [key: string]: string } {
|
|
1331
2219
|
return {
|
|
1332
|
-
|
|
1333
|
-
|
|
2220
|
+
inputTokens: 'inputTokens',
|
|
2221
|
+
outputTokens: 'outputTokens',
|
|
2222
|
+
totalTokens: 'totalTokens',
|
|
1334
2223
|
};
|
|
1335
2224
|
}
|
|
1336
2225
|
|
|
1337
2226
|
static types(): { [key: string]: any } {
|
|
1338
2227
|
return {
|
|
1339
|
-
|
|
1340
|
-
|
|
2228
|
+
inputTokens: 'number',
|
|
2229
|
+
outputTokens: 'number',
|
|
2230
|
+
totalTokens: 'number',
|
|
1341
2231
|
};
|
|
1342
2232
|
}
|
|
1343
2233
|
|
|
@@ -1346,17 +2236,20 @@ export class ListHotTopicSummariesResponseBodyDataSummarySummaries extends $tea.
|
|
|
1346
2236
|
}
|
|
1347
2237
|
}
|
|
1348
2238
|
|
|
1349
|
-
export class
|
|
1350
|
-
|
|
2239
|
+
export class RunHotTopicChatResponseBodyPayload extends $tea.Model {
|
|
2240
|
+
output?: RunHotTopicChatResponseBodyPayloadOutput;
|
|
2241
|
+
usage?: RunHotTopicChatResponseBodyPayloadUsage;
|
|
1351
2242
|
static names(): { [key: string]: string } {
|
|
1352
2243
|
return {
|
|
1353
|
-
|
|
2244
|
+
output: 'output',
|
|
2245
|
+
usage: 'usage',
|
|
1354
2246
|
};
|
|
1355
2247
|
}
|
|
1356
2248
|
|
|
1357
2249
|
static types(): { [key: string]: any } {
|
|
1358
2250
|
return {
|
|
1359
|
-
|
|
2251
|
+
output: RunHotTopicChatResponseBodyPayloadOutput,
|
|
2252
|
+
usage: RunHotTopicChatResponseBodyPayloadUsage,
|
|
1360
2253
|
};
|
|
1361
2254
|
}
|
|
1362
2255
|
|
|
@@ -1365,58 +2258,38 @@ export class ListHotTopicSummariesResponseBodyDataSummary extends $tea.Model {
|
|
|
1365
2258
|
}
|
|
1366
2259
|
}
|
|
1367
2260
|
|
|
1368
|
-
export class
|
|
1369
|
-
category?: string;
|
|
1370
|
-
/**
|
|
1371
|
-
* @example
|
|
1372
|
-
* xx
|
|
1373
|
-
*/
|
|
1374
|
-
hotTopic?: string;
|
|
1375
|
-
/**
|
|
1376
|
-
* @example
|
|
1377
|
-
* 2024-09-13_12
|
|
1378
|
-
*/
|
|
1379
|
-
hotTopicVersion?: string;
|
|
2261
|
+
export class RunHotTopicSummaryRequestStepForCustomSummaryStyleConfig extends $tea.Model {
|
|
1380
2262
|
/**
|
|
1381
2263
|
* @example
|
|
1382
|
-
*
|
|
2264
|
+
* 2
|
|
1383
2265
|
*/
|
|
1384
|
-
|
|
2266
|
+
summaryImageCount?: number;
|
|
1385
2267
|
/**
|
|
2268
|
+
* @remarks
|
|
2269
|
+
* This parameter is required.
|
|
2270
|
+
*
|
|
1386
2271
|
* @example
|
|
1387
|
-
*
|
|
2272
|
+
* qwen-max
|
|
1388
2273
|
*/
|
|
1389
|
-
|
|
1390
|
-
news?: ListHotTopicSummariesResponseBodyDataNews[];
|
|
1391
|
-
summary?: ListHotTopicSummariesResponseBodyDataSummary;
|
|
2274
|
+
summaryModel?: string;
|
|
1392
2275
|
/**
|
|
1393
2276
|
* @example
|
|
1394
|
-
*
|
|
2277
|
+
* xxxx
|
|
1395
2278
|
*/
|
|
1396
|
-
|
|
2279
|
+
summaryPrompt?: string;
|
|
1397
2280
|
static names(): { [key: string]: string } {
|
|
1398
2281
|
return {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
hotValue: 'hotValue',
|
|
1403
|
-
id: 'id',
|
|
1404
|
-
news: 'news',
|
|
1405
|
-
summary: 'summary',
|
|
1406
|
-
textSummary: 'textSummary',
|
|
2282
|
+
summaryImageCount: 'summaryImageCount',
|
|
2283
|
+
summaryModel: 'summaryModel',
|
|
2284
|
+
summaryPrompt: 'summaryPrompt',
|
|
1407
2285
|
};
|
|
1408
2286
|
}
|
|
1409
2287
|
|
|
1410
2288
|
static types(): { [key: string]: any } {
|
|
1411
2289
|
return {
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
hotValue: 'number',
|
|
1416
|
-
id: 'string',
|
|
1417
|
-
news: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyDataNews },
|
|
1418
|
-
summary: ListHotTopicSummariesResponseBodyDataSummary,
|
|
1419
|
-
textSummary: 'string',
|
|
2290
|
+
summaryImageCount: 'number',
|
|
2291
|
+
summaryModel: 'string',
|
|
2292
|
+
summaryPrompt: 'string',
|
|
1420
2293
|
};
|
|
1421
2294
|
}
|
|
1422
2295
|
|
|
@@ -1425,38 +2298,42 @@ export class ListHotTopicSummariesResponseBodyData extends $tea.Model {
|
|
|
1425
2298
|
}
|
|
1426
2299
|
}
|
|
1427
2300
|
|
|
1428
|
-
export class
|
|
2301
|
+
export class RunHotTopicSummaryResponseBodyHeader extends $tea.Model {
|
|
1429
2302
|
/**
|
|
1430
2303
|
* @example
|
|
1431
|
-
*
|
|
2304
|
+
* AccessForbidden
|
|
1432
2305
|
*/
|
|
1433
|
-
|
|
1434
|
-
eventInfo?: string;
|
|
2306
|
+
errorCode?: string;
|
|
1435
2307
|
/**
|
|
1436
2308
|
* @example
|
|
1437
|
-
*
|
|
2309
|
+
* 错误信息
|
|
1438
2310
|
*/
|
|
1439
|
-
|
|
2311
|
+
errorMessage?: string;
|
|
1440
2312
|
/**
|
|
1441
2313
|
* @example
|
|
1442
|
-
*
|
|
2314
|
+
* task-finished
|
|
2315
|
+
*/
|
|
2316
|
+
event?: string;
|
|
2317
|
+
/**
|
|
2318
|
+
* @example
|
|
2319
|
+
* xxxx
|
|
1443
2320
|
*/
|
|
1444
2321
|
sessionId?: string;
|
|
1445
2322
|
/**
|
|
1446
2323
|
* @example
|
|
1447
|
-
*
|
|
2324
|
+
* xxxx
|
|
1448
2325
|
*/
|
|
1449
2326
|
taskId?: string;
|
|
1450
2327
|
/**
|
|
1451
2328
|
* @example
|
|
1452
|
-
*
|
|
2329
|
+
* xxxxx
|
|
1453
2330
|
*/
|
|
1454
2331
|
traceId?: string;
|
|
1455
2332
|
static names(): { [key: string]: string } {
|
|
1456
2333
|
return {
|
|
2334
|
+
errorCode: 'errorCode',
|
|
2335
|
+
errorMessage: 'errorMessage',
|
|
1457
2336
|
event: 'event',
|
|
1458
|
-
eventInfo: 'eventInfo',
|
|
1459
|
-
requestId: 'requestId',
|
|
1460
2337
|
sessionId: 'sessionId',
|
|
1461
2338
|
taskId: 'taskId',
|
|
1462
2339
|
traceId: 'traceId',
|
|
@@ -1465,9 +2342,9 @@ export class RunCommentGenerationResponseBodyHeader extends $tea.Model {
|
|
|
1465
2342
|
|
|
1466
2343
|
static types(): { [key: string]: any } {
|
|
1467
2344
|
return {
|
|
2345
|
+
errorCode: 'string',
|
|
2346
|
+
errorMessage: 'string',
|
|
1468
2347
|
event: 'string',
|
|
1469
|
-
eventInfo: 'string',
|
|
1470
|
-
requestId: 'string',
|
|
1471
2348
|
sessionId: 'string',
|
|
1472
2349
|
taskId: 'string',
|
|
1473
2350
|
traceId: 'string',
|
|
@@ -1479,17 +2356,20 @@ export class RunCommentGenerationResponseBodyHeader extends $tea.Model {
|
|
|
1479
2356
|
}
|
|
1480
2357
|
}
|
|
1481
2358
|
|
|
1482
|
-
export class
|
|
2359
|
+
export class RunHotTopicSummaryResponseBodyPayloadOutput extends $tea.Model {
|
|
1483
2360
|
text?: string;
|
|
2361
|
+
topicId?: string;
|
|
1484
2362
|
static names(): { [key: string]: string } {
|
|
1485
2363
|
return {
|
|
1486
2364
|
text: 'text',
|
|
2365
|
+
topicId: 'topicId',
|
|
1487
2366
|
};
|
|
1488
2367
|
}
|
|
1489
2368
|
|
|
1490
2369
|
static types(): { [key: string]: any } {
|
|
1491
2370
|
return {
|
|
1492
2371
|
text: 'string',
|
|
2372
|
+
topicId: 'string',
|
|
1493
2373
|
};
|
|
1494
2374
|
}
|
|
1495
2375
|
|
|
@@ -1498,7 +2378,7 @@ export class RunCommentGenerationResponseBodyPayloadOutput extends $tea.Model {
|
|
|
1498
2378
|
}
|
|
1499
2379
|
}
|
|
1500
2380
|
|
|
1501
|
-
export class
|
|
2381
|
+
export class RunHotTopicSummaryResponseBodyPayloadUsage extends $tea.Model {
|
|
1502
2382
|
/**
|
|
1503
2383
|
* @example
|
|
1504
2384
|
* 100
|
|
@@ -1535,9 +2415,9 @@ export class RunCommentGenerationResponseBodyPayloadUsage extends $tea.Model {
|
|
|
1535
2415
|
}
|
|
1536
2416
|
}
|
|
1537
2417
|
|
|
1538
|
-
export class
|
|
1539
|
-
output?:
|
|
1540
|
-
usage?:
|
|
2418
|
+
export class RunHotTopicSummaryResponseBodyPayload extends $tea.Model {
|
|
2419
|
+
output?: RunHotTopicSummaryResponseBodyPayloadOutput;
|
|
2420
|
+
usage?: RunHotTopicSummaryResponseBodyPayloadUsage;
|
|
1541
2421
|
static names(): { [key: string]: string } {
|
|
1542
2422
|
return {
|
|
1543
2423
|
output: 'output',
|
|
@@ -1547,8 +2427,8 @@ export class RunCommentGenerationResponseBodyPayload extends $tea.Model {
|
|
|
1547
2427
|
|
|
1548
2428
|
static types(): { [key: string]: any } {
|
|
1549
2429
|
return {
|
|
1550
|
-
output:
|
|
1551
|
-
usage:
|
|
2430
|
+
output: RunHotTopicSummaryResponseBodyPayloadOutput,
|
|
2431
|
+
usage: RunHotTopicSummaryResponseBodyPayloadUsage,
|
|
1552
2432
|
};
|
|
1553
2433
|
}
|
|
1554
2434
|
|
|
@@ -3051,6 +3931,168 @@ export default class Client extends OpenApi {
|
|
|
3051
3931
|
return await this.runCommentGenerationWithOptions(workspaceId, request, headers, runtime);
|
|
3052
3932
|
}
|
|
3053
3933
|
|
|
3934
|
+
/**
|
|
3935
|
+
* 轻应用-热点播报-问答
|
|
3936
|
+
*
|
|
3937
|
+
* @param tmpReq - RunHotTopicChatRequest
|
|
3938
|
+
* @param headers - map
|
|
3939
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3940
|
+
* @returns RunHotTopicChatResponse
|
|
3941
|
+
*/
|
|
3942
|
+
async runHotTopicChatWithOptions(workspaceId: string, tmpReq: RunHotTopicChatRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunHotTopicChatResponse> {
|
|
3943
|
+
Util.validateModel(tmpReq);
|
|
3944
|
+
let request = new RunHotTopicChatShrinkRequest({ });
|
|
3945
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
3946
|
+
if (!Util.isUnset(tmpReq.generateOptions)) {
|
|
3947
|
+
request.generateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.generateOptions, "generateOptions", "json");
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
if (!Util.isUnset(tmpReq.hotTopics)) {
|
|
3951
|
+
request.hotTopicsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.hotTopics, "hotTopics", "json");
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
if (!Util.isUnset(tmpReq.stepForBroadcastContentConfig)) {
|
|
3955
|
+
request.stepForBroadcastContentConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.stepForBroadcastContentConfig, "stepForBroadcastContentConfig", "json");
|
|
3956
|
+
}
|
|
3957
|
+
|
|
3958
|
+
let body : {[key: string ]: any} = { };
|
|
3959
|
+
if (!Util.isUnset(request.category)) {
|
|
3960
|
+
body["category"] = request.category;
|
|
3961
|
+
}
|
|
3962
|
+
|
|
3963
|
+
if (!Util.isUnset(request.generateOptionsShrink)) {
|
|
3964
|
+
body["generateOptions"] = request.generateOptionsShrink;
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
if (!Util.isUnset(request.hotTopicVersion)) {
|
|
3968
|
+
body["hotTopicVersion"] = request.hotTopicVersion;
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3971
|
+
if (!Util.isUnset(request.hotTopicsShrink)) {
|
|
3972
|
+
body["hotTopics"] = request.hotTopicsShrink;
|
|
3973
|
+
}
|
|
3974
|
+
|
|
3975
|
+
if (!Util.isUnset(request.imageCount)) {
|
|
3976
|
+
body["imageCount"] = request.imageCount;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
if (!Util.isUnset(request.modelCustomPromptTemplate)) {
|
|
3980
|
+
body["modelCustomPromptTemplate"] = request.modelCustomPromptTemplate;
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3983
|
+
if (!Util.isUnset(request.modelId)) {
|
|
3984
|
+
body["modelId"] = request.modelId;
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
if (!Util.isUnset(request.originalSessionId)) {
|
|
3988
|
+
body["originalSessionId"] = request.originalSessionId;
|
|
3989
|
+
}
|
|
3990
|
+
|
|
3991
|
+
if (!Util.isUnset(request.prompt)) {
|
|
3992
|
+
body["prompt"] = request.prompt;
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
if (!Util.isUnset(request.stepForBroadcastContentConfigShrink)) {
|
|
3996
|
+
body["stepForBroadcastContentConfig"] = request.stepForBroadcastContentConfigShrink;
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
if (!Util.isUnset(request.taskId)) {
|
|
4000
|
+
body["taskId"] = request.taskId;
|
|
4001
|
+
}
|
|
4002
|
+
|
|
4003
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4004
|
+
headers: headers,
|
|
4005
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4006
|
+
});
|
|
4007
|
+
let params = new $OpenApi.Params({
|
|
4008
|
+
action: "RunHotTopicChat",
|
|
4009
|
+
version: "2024-08-01",
|
|
4010
|
+
protocol: "HTTPS",
|
|
4011
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/quanmiao/lightapp/runHotTopicChat`,
|
|
4012
|
+
method: "POST",
|
|
4013
|
+
authType: "AK",
|
|
4014
|
+
style: "ROA",
|
|
4015
|
+
reqBodyType: "formData",
|
|
4016
|
+
bodyType: "json",
|
|
4017
|
+
});
|
|
4018
|
+
return $tea.cast<RunHotTopicChatResponse>(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* 轻应用-热点播报-问答
|
|
4023
|
+
*
|
|
4024
|
+
* @param request - RunHotTopicChatRequest
|
|
4025
|
+
* @returns RunHotTopicChatResponse
|
|
4026
|
+
*/
|
|
4027
|
+
async runHotTopicChat(workspaceId: string, request: RunHotTopicChatRequest): Promise<RunHotTopicChatResponse> {
|
|
4028
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4029
|
+
let headers : {[key: string ]: string} = { };
|
|
4030
|
+
return await this.runHotTopicChatWithOptions(workspaceId, request, headers, runtime);
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
/**
|
|
4034
|
+
* 轻应用-热点播报-热点摘要生成
|
|
4035
|
+
*
|
|
4036
|
+
* @param tmpReq - RunHotTopicSummaryRequest
|
|
4037
|
+
* @param headers - map
|
|
4038
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4039
|
+
* @returns RunHotTopicSummaryResponse
|
|
4040
|
+
*/
|
|
4041
|
+
async runHotTopicSummaryWithOptions(workspaceId: string, tmpReq: RunHotTopicSummaryRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RunHotTopicSummaryResponse> {
|
|
4042
|
+
Util.validateModel(tmpReq);
|
|
4043
|
+
let request = new RunHotTopicSummaryShrinkRequest({ });
|
|
4044
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4045
|
+
if (!Util.isUnset(tmpReq.stepForCustomSummaryStyleConfig)) {
|
|
4046
|
+
request.stepForCustomSummaryStyleConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.stepForCustomSummaryStyleConfig, "stepForCustomSummaryStyleConfig", "json");
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
if (!Util.isUnset(tmpReq.topicIds)) {
|
|
4050
|
+
request.topicIdsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.topicIds, "topicIds", "json");
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4053
|
+
let body : {[key: string ]: any} = { };
|
|
4054
|
+
if (!Util.isUnset(request.hotTopicVersion)) {
|
|
4055
|
+
body["hotTopicVersion"] = request.hotTopicVersion;
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
if (!Util.isUnset(request.stepForCustomSummaryStyleConfigShrink)) {
|
|
4059
|
+
body["stepForCustomSummaryStyleConfig"] = request.stepForCustomSummaryStyleConfigShrink;
|
|
4060
|
+
}
|
|
4061
|
+
|
|
4062
|
+
if (!Util.isUnset(request.topicIdsShrink)) {
|
|
4063
|
+
body["topicIds"] = request.topicIdsShrink;
|
|
4064
|
+
}
|
|
4065
|
+
|
|
4066
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4067
|
+
headers: headers,
|
|
4068
|
+
body: OpenApiUtil.parseToMap(body),
|
|
4069
|
+
});
|
|
4070
|
+
let params = new $OpenApi.Params({
|
|
4071
|
+
action: "RunHotTopicSummary",
|
|
4072
|
+
version: "2024-08-01",
|
|
4073
|
+
protocol: "HTTPS",
|
|
4074
|
+
pathname: `/${OpenApiUtil.getEncodeParam(workspaceId)}/quanmiao/lightapp/runHotTopicSummary`,
|
|
4075
|
+
method: "POST",
|
|
4076
|
+
authType: "AK",
|
|
4077
|
+
style: "ROA",
|
|
4078
|
+
reqBodyType: "formData",
|
|
4079
|
+
bodyType: "json",
|
|
4080
|
+
});
|
|
4081
|
+
return $tea.cast<RunHotTopicSummaryResponse>(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
4082
|
+
}
|
|
4083
|
+
|
|
4084
|
+
/**
|
|
4085
|
+
* 轻应用-热点播报-热点摘要生成
|
|
4086
|
+
*
|
|
4087
|
+
* @param request - RunHotTopicSummaryRequest
|
|
4088
|
+
* @returns RunHotTopicSummaryResponse
|
|
4089
|
+
*/
|
|
4090
|
+
async runHotTopicSummary(workspaceId: string, request: RunHotTopicSummaryRequest): Promise<RunHotTopicSummaryResponse> {
|
|
4091
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4092
|
+
let headers : {[key: string ]: string} = { };
|
|
4093
|
+
return await this.runHotTopicSummaryWithOptions(workspaceId, request, headers, runtime);
|
|
4094
|
+
}
|
|
4095
|
+
|
|
3054
4096
|
/**
|
|
3055
4097
|
* 营销信息抽取服务
|
|
3056
4098
|
*
|