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