@alicloud/aimiaobi20230801 1.20.0 → 1.21.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 CHANGED
@@ -1691,9 +1691,6 @@ export declare class GetHotTopicBroadcastRequestStepForCustomSummaryStyleConfig
1691
1691
  */
1692
1692
  summaryImageCount?: number;
1693
1693
  /**
1694
- * @remarks
1695
- * This parameter is required.
1696
- *
1697
1694
  * @example
1698
1695
  * 摘要模型
1699
1696
  */
@@ -7151,6 +7148,98 @@ export declare class RunDocTranslationResponseBodyPayload extends $dara.Model {
7151
7148
  [key: string]: any;
7152
7149
  });
7153
7150
  }
7151
+ export declare class RunDocWashingResponseBodyHeader extends $dara.Model {
7152
+ /**
7153
+ * @example
7154
+ * task-finished
7155
+ */
7156
+ event?: string;
7157
+ eventInfo?: string;
7158
+ /**
7159
+ * @example
7160
+ * 3f7045e099474ba28ceca1b4eb6d6e21
7161
+ */
7162
+ requestId?: string;
7163
+ /**
7164
+ * @example
7165
+ * 20247a52-23e2-46fb-943d-309cdee2bc6d
7166
+ */
7167
+ sessionId?: string;
7168
+ /**
7169
+ * @example
7170
+ * 3f7045e099474ba28ceca1b4eb6d6e21
7171
+ */
7172
+ taskId?: string;
7173
+ /**
7174
+ * @example
7175
+ * 2150451a17191950923411783e2927
7176
+ */
7177
+ traceId?: string;
7178
+ static names(): {
7179
+ [key: string]: string;
7180
+ };
7181
+ static types(): {
7182
+ [key: string]: any;
7183
+ };
7184
+ validate(): void;
7185
+ constructor(map?: {
7186
+ [key: string]: any;
7187
+ });
7188
+ }
7189
+ export declare class RunDocWashingResponseBodyPayloadOutput extends $dara.Model {
7190
+ text?: string;
7191
+ static names(): {
7192
+ [key: string]: string;
7193
+ };
7194
+ static types(): {
7195
+ [key: string]: any;
7196
+ };
7197
+ validate(): void;
7198
+ constructor(map?: {
7199
+ [key: string]: any;
7200
+ });
7201
+ }
7202
+ export declare class RunDocWashingResponseBodyPayloadUsage extends $dara.Model {
7203
+ /**
7204
+ * @example
7205
+ * 100
7206
+ */
7207
+ inputTokens?: number;
7208
+ /**
7209
+ * @example
7210
+ * 100
7211
+ */
7212
+ outputTokens?: number;
7213
+ /**
7214
+ * @example
7215
+ * 200
7216
+ */
7217
+ totalTokens?: number;
7218
+ static names(): {
7219
+ [key: string]: string;
7220
+ };
7221
+ static types(): {
7222
+ [key: string]: any;
7223
+ };
7224
+ validate(): void;
7225
+ constructor(map?: {
7226
+ [key: string]: any;
7227
+ });
7228
+ }
7229
+ export declare class RunDocWashingResponseBodyPayload extends $dara.Model {
7230
+ output?: RunDocWashingResponseBodyPayloadOutput;
7231
+ usage?: RunDocWashingResponseBodyPayloadUsage;
7232
+ static names(): {
7233
+ [key: string]: string;
7234
+ };
7235
+ static types(): {
7236
+ [key: string]: any;
7237
+ };
7238
+ validate(): void;
7239
+ constructor(map?: {
7240
+ [key: string]: any;
7241
+ });
7242
+ }
7154
7243
  export declare class RunExpandContentResponseBodyHeader extends $dara.Model {
7155
7244
  /**
7156
7245
  * @example
@@ -11713,9 +11802,6 @@ export declare class SubmitCustomHotTopicBroadcastJobRequestHotTopicBroadcastCon
11713
11802
  */
11714
11803
  summaryImageCount?: number;
11715
11804
  /**
11716
- * @remarks
11717
- * This parameter is required.
11718
- *
11719
11805
  * @example
11720
11806
  * qwen-max
11721
11807
  */
@@ -21904,6 +21990,7 @@ export declare class RunBookIntroductionRequest extends $dara.Model {
21904
21990
  * 3YQRatoe8phnpIsIE6z7DTPknhG8Fj
21905
21991
  */
21906
21992
  docId?: string;
21993
+ keyPointPrompt?: string;
21907
21994
  /**
21908
21995
  * @remarks
21909
21996
  * This parameter is required.
@@ -21912,6 +21999,7 @@ export declare class RunBookIntroductionRequest extends $dara.Model {
21912
21999
  * 0f56f98a-f2d8-47ec-98e9-1cbdcffa9539
21913
22000
  */
21914
22001
  sessionId?: string;
22002
+ summaryPrompt?: string;
21915
22003
  /**
21916
22004
  * @remarks
21917
22005
  * This parameter is required.
@@ -22085,6 +22173,7 @@ export declare class RunCommentGenerationRequest extends $dara.Model {
22085
22173
  sentiment?: {
22086
22174
  [key: string]: any;
22087
22175
  };
22176
+ sessionId?: string;
22088
22177
  /**
22089
22178
  * @remarks
22090
22179
  * This parameter is required.
@@ -22156,6 +22245,7 @@ export declare class RunCommentGenerationShrinkRequest extends $dara.Model {
22156
22245
  * {"positive":"50","negative":"50"}
22157
22246
  */
22158
22247
  sentimentShrink?: string;
22248
+ sessionId?: string;
22159
22249
  /**
22160
22250
  * @remarks
22161
22251
  * This parameter is required.
@@ -22488,6 +22578,7 @@ export declare class RunCustomHotTopicViewPointAnalysisResponse extends $dara.Mo
22488
22578
  });
22489
22579
  }
22490
22580
  export declare class RunDocBrainmapRequest extends $dara.Model {
22581
+ cleanCache?: boolean;
22491
22582
  /**
22492
22583
  * @remarks
22493
22584
  * This parameter is required.
@@ -22496,6 +22587,8 @@ export declare class RunDocBrainmapRequest extends $dara.Model {
22496
22587
  * 12345
22497
22588
  */
22498
22589
  docId?: string;
22590
+ nodeNumber?: number;
22591
+ prompt?: string;
22499
22592
  /**
22500
22593
  * @remarks
22501
22594
  * This parameter is required.
@@ -22504,6 +22597,7 @@ export declare class RunDocBrainmapRequest extends $dara.Model {
22504
22597
  * 3f7045e099474ba28ceca1b4eb6d6e21
22505
22598
  */
22506
22599
  sessionId?: string;
22600
+ wordNumber?: number;
22507
22601
  /**
22508
22602
  * @remarks
22509
22603
  * This parameter is required.
@@ -22560,6 +22654,7 @@ export declare class RunDocBrainmapResponse extends $dara.Model {
22560
22654
  });
22561
22655
  }
22562
22656
  export declare class RunDocIntroductionRequest extends $dara.Model {
22657
+ cleanCache?: boolean;
22563
22658
  /**
22564
22659
  * @remarks
22565
22660
  * This parameter is required.
@@ -22568,6 +22663,8 @@ export declare class RunDocIntroductionRequest extends $dara.Model {
22568
22663
  * 12345
22569
22664
  */
22570
22665
  docId?: string;
22666
+ introductionPrompt?: string;
22667
+ keyPointPrompt?: string;
22571
22668
  /**
22572
22669
  * @remarks
22573
22670
  * This parameter is required.
@@ -22576,6 +22673,7 @@ export declare class RunDocIntroductionRequest extends $dara.Model {
22576
22673
  * a3b5eb35-6b28-4cf9-ac09-1dec25ab4df6
22577
22674
  */
22578
22675
  sessionId?: string;
22676
+ summaryPrompt?: string;
22579
22677
  /**
22580
22678
  * @remarks
22581
22679
  * This parameter is required.
@@ -22833,6 +22931,7 @@ export declare class RunDocSmartCardResponse extends $dara.Model {
22833
22931
  });
22834
22932
  }
22835
22933
  export declare class RunDocSummaryRequest extends $dara.Model {
22934
+ cleanCache?: boolean;
22836
22935
  /**
22837
22936
  * @example
22838
22937
  * 12345
@@ -22904,6 +23003,7 @@ export declare class RunDocSummaryResponse extends $dara.Model {
22904
23003
  });
22905
23004
  }
22906
23005
  export declare class RunDocTranslationRequest extends $dara.Model {
23006
+ cleanCache?: boolean;
22907
23007
  /**
22908
23008
  * @example
22909
23009
  * 12345
@@ -22979,6 +23079,85 @@ export declare class RunDocTranslationResponse extends $dara.Model {
22979
23079
  [key: string]: any;
22980
23080
  });
22981
23081
  }
23082
+ export declare class RunDocWashingRequest extends $dara.Model {
23083
+ prompt?: string;
23084
+ /**
23085
+ * @remarks
23086
+ * This parameter is required.
23087
+ */
23088
+ referenceContent?: string;
23089
+ sessionId?: string;
23090
+ topic?: string;
23091
+ /**
23092
+ * @example
23093
+ * 500
23094
+ */
23095
+ wordNumber?: number;
23096
+ /**
23097
+ * @remarks
23098
+ * This parameter is required.
23099
+ *
23100
+ * @example
23101
+ * llm-2setzb9x4ewsd
23102
+ */
23103
+ workspaceId?: string;
23104
+ writingTypeName?: string;
23105
+ writingTypeRefDoc?: string;
23106
+ static names(): {
23107
+ [key: string]: string;
23108
+ };
23109
+ static types(): {
23110
+ [key: string]: any;
23111
+ };
23112
+ validate(): void;
23113
+ constructor(map?: {
23114
+ [key: string]: any;
23115
+ });
23116
+ }
23117
+ export declare class RunDocWashingResponseBody extends $dara.Model {
23118
+ /**
23119
+ * @example
23120
+ * false
23121
+ */
23122
+ end?: boolean;
23123
+ header?: RunDocWashingResponseBodyHeader;
23124
+ payload?: RunDocWashingResponseBodyPayload;
23125
+ /**
23126
+ * @remarks
23127
+ * Id of the request
23128
+ *
23129
+ * @example
23130
+ * 1813ceee-7fe5-41b4-87e5-982a4d18cca5
23131
+ */
23132
+ requestId?: string;
23133
+ static names(): {
23134
+ [key: string]: string;
23135
+ };
23136
+ static types(): {
23137
+ [key: string]: any;
23138
+ };
23139
+ validate(): void;
23140
+ constructor(map?: {
23141
+ [key: string]: any;
23142
+ });
23143
+ }
23144
+ export declare class RunDocWashingResponse extends $dara.Model {
23145
+ headers?: {
23146
+ [key: string]: string;
23147
+ };
23148
+ statusCode?: number;
23149
+ body?: RunDocWashingResponseBody;
23150
+ static names(): {
23151
+ [key: string]: string;
23152
+ };
23153
+ static types(): {
23154
+ [key: string]: any;
23155
+ };
23156
+ validate(): void;
23157
+ constructor(map?: {
23158
+ [key: string]: any;
23159
+ });
23160
+ }
22982
23161
  export declare class RunExpandContentRequest extends $dara.Model {
22983
23162
  /**
22984
23163
  * @remarks
@@ -28392,6 +28571,21 @@ export default class Client extends OpenApi {
28392
28571
  * @returns RunDocTranslationResponse
28393
28572
  */
28394
28573
  runDocTranslation(request: RunDocTranslationRequest): Promise<RunDocTranslationResponse>;
28574
+ /**
28575
+ * 文档改写
28576
+ *
28577
+ * @param request - RunDocWashingRequest
28578
+ * @param runtime - runtime options for this request RuntimeOptions
28579
+ * @returns RunDocWashingResponse
28580
+ */
28581
+ runDocWashingWithOptions(request: RunDocWashingRequest, runtime: $dara.RuntimeOptions): Promise<RunDocWashingResponse>;
28582
+ /**
28583
+ * 文档改写
28584
+ *
28585
+ * @param request - RunDocWashingRequest
28586
+ * @returns RunDocWashingResponse
28587
+ */
28588
+ runDocWashing(request: RunDocWashingRequest): Promise<RunDocWashingResponse>;
28395
28589
  /**
28396
28590
  * 内容扩写
28397
28591
  *