@alicloud/quanmiaolightapp20240801 2.3.1 → 2.4.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/dist/client.d.ts CHANGED
@@ -1397,6 +1397,128 @@ export declare class RunMarketingInformationWritingResponseBodyPayload extends $
1397
1397
  [key: string]: any;
1398
1398
  });
1399
1399
  }
1400
+ export declare class RunNetworkContentAuditRequestTags extends $dara.Model {
1401
+ /**
1402
+ * @example
1403
+ * xxxx
1404
+ */
1405
+ tagDefinePrompt?: string;
1406
+ /**
1407
+ * @example
1408
+ * xxxx
1409
+ */
1410
+ tagName?: string;
1411
+ static names(): {
1412
+ [key: string]: string;
1413
+ };
1414
+ static types(): {
1415
+ [key: string]: any;
1416
+ };
1417
+ validate(): void;
1418
+ constructor(map?: {
1419
+ [key: string]: any;
1420
+ });
1421
+ }
1422
+ export declare class RunNetworkContentAuditResponseBodyHeader extends $dara.Model {
1423
+ /**
1424
+ * @example
1425
+ * AccessForbidden
1426
+ */
1427
+ errorCode?: string;
1428
+ /**
1429
+ * @example
1430
+ * 错误信息
1431
+ */
1432
+ errorMessage?: string;
1433
+ /**
1434
+ * @example
1435
+ * task-finished
1436
+ */
1437
+ event?: string;
1438
+ /**
1439
+ * @example
1440
+ * xxxx
1441
+ */
1442
+ sessionId?: string;
1443
+ /**
1444
+ * @example
1445
+ * xxxx
1446
+ */
1447
+ taskId?: string;
1448
+ /**
1449
+ * @example
1450
+ * xxxxx
1451
+ */
1452
+ traceId?: string;
1453
+ static names(): {
1454
+ [key: string]: string;
1455
+ };
1456
+ static types(): {
1457
+ [key: string]: any;
1458
+ };
1459
+ validate(): void;
1460
+ constructor(map?: {
1461
+ [key: string]: any;
1462
+ });
1463
+ }
1464
+ export declare class RunNetworkContentAuditResponseBodyPayloadOutput extends $dara.Model {
1465
+ /**
1466
+ * @example
1467
+ * xxxx
1468
+ */
1469
+ text?: string;
1470
+ static names(): {
1471
+ [key: string]: string;
1472
+ };
1473
+ static types(): {
1474
+ [key: string]: any;
1475
+ };
1476
+ validate(): void;
1477
+ constructor(map?: {
1478
+ [key: string]: any;
1479
+ });
1480
+ }
1481
+ export declare class RunNetworkContentAuditResponseBodyPayloadUsage extends $dara.Model {
1482
+ /**
1483
+ * @example
1484
+ * 100
1485
+ */
1486
+ inputTokens?: number;
1487
+ /**
1488
+ * @example
1489
+ * 100
1490
+ */
1491
+ outputTokens?: number;
1492
+ /**
1493
+ * @example
1494
+ * 200
1495
+ */
1496
+ totalTokens?: number;
1497
+ static names(): {
1498
+ [key: string]: string;
1499
+ };
1500
+ static types(): {
1501
+ [key: string]: any;
1502
+ };
1503
+ validate(): void;
1504
+ constructor(map?: {
1505
+ [key: string]: any;
1506
+ });
1507
+ }
1508
+ export declare class RunNetworkContentAuditResponseBodyPayload extends $dara.Model {
1509
+ output?: RunNetworkContentAuditResponseBodyPayloadOutput;
1510
+ usage?: RunNetworkContentAuditResponseBodyPayloadUsage;
1511
+ static names(): {
1512
+ [key: string]: string;
1513
+ };
1514
+ static types(): {
1515
+ [key: string]: any;
1516
+ };
1517
+ validate(): void;
1518
+ constructor(map?: {
1519
+ [key: string]: any;
1520
+ });
1521
+ }
1400
1522
  export declare class RunScriptChatResponseBodyHeader extends $dara.Model {
1401
1523
  /**
1402
1524
  * @example
@@ -3437,6 +3559,137 @@ export declare class RunMarketingInformationWritingResponse extends $dara.Model
3437
3559
  [key: string]: any;
3438
3560
  });
3439
3561
  }
3562
+ export declare class RunNetworkContentAuditRequest extends $dara.Model {
3563
+ /**
3564
+ * @example
3565
+ * clueMining
3566
+ */
3567
+ businessType?: string;
3568
+ /**
3569
+ * @remarks
3570
+ * This parameter is required.
3571
+ *
3572
+ * @example
3573
+ * 待分析文本
3574
+ */
3575
+ content?: string;
3576
+ /**
3577
+ * @example
3578
+ * 额外信息
3579
+ */
3580
+ extraInfo?: string;
3581
+ /**
3582
+ * @example
3583
+ * qwen-max
3584
+ */
3585
+ modelId?: string;
3586
+ /**
3587
+ * @example
3588
+ * 请返回如下JSON格式,{"key1":"","key2":""}
3589
+ */
3590
+ outputFormat?: string;
3591
+ tags?: RunNetworkContentAuditRequestTags[];
3592
+ /**
3593
+ * @example
3594
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
3595
+ */
3596
+ taskDescription?: string;
3597
+ static names(): {
3598
+ [key: string]: string;
3599
+ };
3600
+ static types(): {
3601
+ [key: string]: any;
3602
+ };
3603
+ validate(): void;
3604
+ constructor(map?: {
3605
+ [key: string]: any;
3606
+ });
3607
+ }
3608
+ export declare class RunNetworkContentAuditShrinkRequest extends $dara.Model {
3609
+ /**
3610
+ * @example
3611
+ * clueMining
3612
+ */
3613
+ businessType?: string;
3614
+ /**
3615
+ * @remarks
3616
+ * This parameter is required.
3617
+ *
3618
+ * @example
3619
+ * 待分析文本
3620
+ */
3621
+ content?: string;
3622
+ /**
3623
+ * @example
3624
+ * 额外信息
3625
+ */
3626
+ extraInfo?: string;
3627
+ /**
3628
+ * @example
3629
+ * qwen-max
3630
+ */
3631
+ modelId?: string;
3632
+ /**
3633
+ * @example
3634
+ * 请返回如下JSON格式,{"key1":"","key2":""}
3635
+ */
3636
+ outputFormat?: string;
3637
+ tagsShrink?: string;
3638
+ /**
3639
+ * @example
3640
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
3641
+ */
3642
+ taskDescription?: string;
3643
+ static names(): {
3644
+ [key: string]: string;
3645
+ };
3646
+ static types(): {
3647
+ [key: string]: any;
3648
+ };
3649
+ validate(): void;
3650
+ constructor(map?: {
3651
+ [key: string]: any;
3652
+ });
3653
+ }
3654
+ export declare class RunNetworkContentAuditResponseBody extends $dara.Model {
3655
+ header?: RunNetworkContentAuditResponseBodyHeader;
3656
+ payload?: RunNetworkContentAuditResponseBodyPayload;
3657
+ /**
3658
+ * @remarks
3659
+ * Id of the request
3660
+ *
3661
+ * @example
3662
+ * 5D0E915E-655D-59A8-894F-93873F73AAE5
3663
+ */
3664
+ requestId?: string;
3665
+ static names(): {
3666
+ [key: string]: string;
3667
+ };
3668
+ static types(): {
3669
+ [key: string]: any;
3670
+ };
3671
+ validate(): void;
3672
+ constructor(map?: {
3673
+ [key: string]: any;
3674
+ });
3675
+ }
3676
+ export declare class RunNetworkContentAuditResponse extends $dara.Model {
3677
+ headers?: {
3678
+ [key: string]: string;
3679
+ };
3680
+ statusCode?: number;
3681
+ body?: RunNetworkContentAuditResponseBody;
3682
+ static names(): {
3683
+ [key: string]: string;
3684
+ };
3685
+ static types(): {
3686
+ [key: string]: any;
3687
+ };
3688
+ validate(): void;
3689
+ constructor(map?: {
3690
+ [key: string]: any;
3691
+ });
3692
+ }
3440
3693
  export declare class RunScriptChatRequest extends $dara.Model {
3441
3694
  /**
3442
3695
  * @remarks
@@ -3681,21 +3934,11 @@ export declare class RunScriptRefineResponse extends $dara.Model {
3681
3934
  });
3682
3935
  }
3683
3936
  export declare class RunStyleWritingRequest extends $dara.Model {
3684
- /**
3685
- * @remarks
3686
- * This parameter is required.
3687
- */
3688
3937
  learningSamples?: string[];
3689
- /**
3690
- * @remarks
3691
- * This parameter is required.
3692
- */
3938
+ processStage?: string;
3693
3939
  referenceMaterials?: string[];
3694
3940
  styleFeature?: string;
3695
- /**
3696
- * @remarks
3697
- * This parameter is required.
3698
- */
3941
+ useSearch?: boolean;
3699
3942
  writingTheme?: string;
3700
3943
  static names(): {
3701
3944
  [key: string]: string;
@@ -3709,21 +3952,11 @@ export declare class RunStyleWritingRequest extends $dara.Model {
3709
3952
  });
3710
3953
  }
3711
3954
  export declare class RunStyleWritingShrinkRequest extends $dara.Model {
3712
- /**
3713
- * @remarks
3714
- * This parameter is required.
3715
- */
3716
3955
  learningSamplesShrink?: string;
3717
- /**
3718
- * @remarks
3719
- * This parameter is required.
3720
- */
3956
+ processStage?: string;
3721
3957
  referenceMaterialsShrink?: string;
3722
3958
  styleFeature?: string;
3723
- /**
3724
- * @remarks
3725
- * This parameter is required.
3726
- */
3959
+ useSearch?: boolean;
3727
3960
  writingTheme?: string;
3728
3961
  static names(): {
3729
3962
  [key: string]: string;
@@ -4449,6 +4682,24 @@ export default class Client extends OpenApi {
4449
4682
  * @returns RunMarketingInformationWritingResponse
4450
4683
  */
4451
4684
  runMarketingInformationWriting(workspaceId: string, request: RunMarketingInformationWritingRequest): Promise<RunMarketingInformationWritingResponse>;
4685
+ /**
4686
+ * 轻应用-网络内容审核
4687
+ *
4688
+ * @param tmpReq - RunNetworkContentAuditRequest
4689
+ * @param headers - map
4690
+ * @param runtime - runtime options for this request RuntimeOptions
4691
+ * @returns RunNetworkContentAuditResponse
4692
+ */
4693
+ runNetworkContentAuditWithOptions(workspaceId: string, tmpReq: RunNetworkContentAuditRequest, headers: {
4694
+ [key: string]: string;
4695
+ }, runtime: $dara.RuntimeOptions): Promise<RunNetworkContentAuditResponse>;
4696
+ /**
4697
+ * 轻应用-网络内容审核
4698
+ *
4699
+ * @param request - RunNetworkContentAuditRequest
4700
+ * @returns RunNetworkContentAuditResponse
4701
+ */
4702
+ runNetworkContentAudit(workspaceId: string, request: RunNetworkContentAuditRequest): Promise<RunNetworkContentAuditResponse>;
4452
4703
  /**
4453
4704
  * 长剧本创作
4454
4705
  *