@alicloud/quanmiaolightapp20240801 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -142,6 +142,131 @@ export declare class GenerateOutputFormatResponseBodyData extends $dara.Model {
142
142
  [key: string]: any;
143
143
  });
144
144
  }
145
+ export declare class GetTagMiningAnalysisTaskResponseBodyDataResultsHeader extends $dara.Model {
146
+ /**
147
+ * @example
148
+ * DataNotExists
149
+ */
150
+ errorCode?: string;
151
+ errorMessage?: string;
152
+ /**
153
+ * @example
154
+ * task-finished
155
+ */
156
+ event?: string;
157
+ /**
158
+ * @example
159
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
160
+ */
161
+ requestId?: string;
162
+ static names(): {
163
+ [key: string]: string;
164
+ };
165
+ static types(): {
166
+ [key: string]: any;
167
+ };
168
+ validate(): void;
169
+ constructor(map?: {
170
+ [key: string]: any;
171
+ });
172
+ }
173
+ export declare class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput extends $dara.Model {
174
+ /**
175
+ * @example
176
+ * xxxx
177
+ */
178
+ text?: string;
179
+ static names(): {
180
+ [key: string]: string;
181
+ };
182
+ static types(): {
183
+ [key: string]: any;
184
+ };
185
+ validate(): void;
186
+ constructor(map?: {
187
+ [key: string]: any;
188
+ });
189
+ }
190
+ export declare class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage extends $dara.Model {
191
+ /**
192
+ * @example
193
+ * 100
194
+ */
195
+ inputToken?: number;
196
+ /**
197
+ * @example
198
+ * 200
199
+ */
200
+ outputToken?: number;
201
+ /**
202
+ * @example
203
+ * 300
204
+ */
205
+ totalToken?: number;
206
+ static names(): {
207
+ [key: string]: string;
208
+ };
209
+ static types(): {
210
+ [key: string]: any;
211
+ };
212
+ validate(): void;
213
+ constructor(map?: {
214
+ [key: string]: any;
215
+ });
216
+ }
217
+ export declare class GetTagMiningAnalysisTaskResponseBodyDataResultsPayload extends $dara.Model {
218
+ output?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput;
219
+ usage?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage;
220
+ static names(): {
221
+ [key: string]: string;
222
+ };
223
+ static types(): {
224
+ [key: string]: any;
225
+ };
226
+ validate(): void;
227
+ constructor(map?: {
228
+ [key: string]: any;
229
+ });
230
+ }
231
+ export declare class GetTagMiningAnalysisTaskResponseBodyDataResults extends $dara.Model {
232
+ /**
233
+ * @example
234
+ * 1
235
+ */
236
+ customId?: string;
237
+ header?: GetTagMiningAnalysisTaskResponseBodyDataResultsHeader;
238
+ payload?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayload;
239
+ static names(): {
240
+ [key: string]: string;
241
+ };
242
+ static types(): {
243
+ [key: string]: any;
244
+ };
245
+ validate(): void;
246
+ constructor(map?: {
247
+ [key: string]: any;
248
+ });
249
+ }
250
+ export declare class GetTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
251
+ errorCode?: string;
252
+ errorMessage?: string;
253
+ results?: GetTagMiningAnalysisTaskResponseBodyDataResults[];
254
+ /**
255
+ * @example
256
+ * RUNNIN
257
+ */
258
+ status?: string;
259
+ static names(): {
260
+ [key: string]: string;
261
+ };
262
+ static types(): {
263
+ [key: string]: any;
264
+ };
265
+ validate(): void;
266
+ constructor(map?: {
267
+ [key: string]: any;
268
+ });
269
+ }
145
270
  export declare class GetVideoAnalysisConfigResponseBodyData extends $dara.Model {
146
271
  /**
147
272
  * @example
@@ -2678,6 +2803,45 @@ export declare class RunVideoAnalysisResponseBodyPayload extends $dara.Model {
2678
2803
  [key: string]: any;
2679
2804
  });
2680
2805
  }
2806
+ export declare class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
2807
+ /**
2808
+ * @example
2809
+ * xxxx
2810
+ */
2811
+ tagDefinePrompt?: string;
2812
+ /**
2813
+ * @example
2814
+ * xxxx
2815
+ */
2816
+ tagName?: string;
2817
+ static names(): {
2818
+ [key: string]: string;
2819
+ };
2820
+ static types(): {
2821
+ [key: string]: any;
2822
+ };
2823
+ validate(): void;
2824
+ constructor(map?: {
2825
+ [key: string]: any;
2826
+ });
2827
+ }
2828
+ export declare class SubmitTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
2829
+ /**
2830
+ * @example
2831
+ * 3feb69ed02d9b1a17d0f1a942675d300
2832
+ */
2833
+ taskId?: string;
2834
+ static names(): {
2835
+ [key: string]: string;
2836
+ };
2837
+ static types(): {
2838
+ [key: string]: any;
2839
+ };
2840
+ validate(): void;
2841
+ constructor(map?: {
2842
+ [key: string]: any;
2843
+ });
2844
+ }
2681
2845
  export declare class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model {
2682
2846
  /**
2683
2847
  * @example
@@ -2941,6 +3105,81 @@ export declare class GenerateOutputFormatResponse extends $dara.Model {
2941
3105
  [key: string]: any;
2942
3106
  });
2943
3107
  }
3108
+ export declare class GetTagMiningAnalysisTaskRequest extends $dara.Model {
3109
+ /**
3110
+ * @example
3111
+ * a3d1c2ac-f086-4a21-9069-f5631542f5a2
3112
+ */
3113
+ taskId?: string;
3114
+ static names(): {
3115
+ [key: string]: string;
3116
+ };
3117
+ static types(): {
3118
+ [key: string]: any;
3119
+ };
3120
+ validate(): void;
3121
+ constructor(map?: {
3122
+ [key: string]: any;
3123
+ });
3124
+ }
3125
+ export declare class GetTagMiningAnalysisTaskResponseBody extends $dara.Model {
3126
+ /**
3127
+ * @example
3128
+ * successful
3129
+ */
3130
+ code?: string;
3131
+ data?: GetTagMiningAnalysisTaskResponseBodyData;
3132
+ /**
3133
+ * @example
3134
+ * 200
3135
+ */
3136
+ httpStatusCode?: string;
3137
+ /**
3138
+ * @example
3139
+ * DataNotExists
3140
+ */
3141
+ message?: string;
3142
+ /**
3143
+ * @remarks
3144
+ * requestId
3145
+ *
3146
+ * @example
3147
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
3148
+ */
3149
+ requestId?: string;
3150
+ /**
3151
+ * @example
3152
+ * true
3153
+ */
3154
+ success?: boolean;
3155
+ static names(): {
3156
+ [key: string]: string;
3157
+ };
3158
+ static types(): {
3159
+ [key: string]: any;
3160
+ };
3161
+ validate(): void;
3162
+ constructor(map?: {
3163
+ [key: string]: any;
3164
+ });
3165
+ }
3166
+ export declare class GetTagMiningAnalysisTaskResponse extends $dara.Model {
3167
+ headers?: {
3168
+ [key: string]: string;
3169
+ };
3170
+ statusCode?: number;
3171
+ body?: GetTagMiningAnalysisTaskResponseBody;
3172
+ static names(): {
3173
+ [key: string]: string;
3174
+ };
3175
+ static types(): {
3176
+ [key: string]: any;
3177
+ };
3178
+ validate(): void;
3179
+ constructor(map?: {
3180
+ [key: string]: any;
3181
+ });
3182
+ }
2944
3183
  export declare class GetVideoAnalysisConfigResponseBody extends $dara.Model {
2945
3184
  /**
2946
3185
  * @example
@@ -3934,21 +4173,11 @@ export declare class RunScriptRefineResponse extends $dara.Model {
3934
4173
  });
3935
4174
  }
3936
4175
  export declare class RunStyleWritingRequest extends $dara.Model {
3937
- /**
3938
- * @remarks
3939
- * This parameter is required.
3940
- */
3941
4176
  learningSamples?: string[];
3942
- /**
3943
- * @remarks
3944
- * This parameter is required.
3945
- */
4177
+ processStage?: string;
3946
4178
  referenceMaterials?: string[];
3947
4179
  styleFeature?: string;
3948
- /**
3949
- * @remarks
3950
- * This parameter is required.
3951
- */
4180
+ useSearch?: boolean;
3952
4181
  writingTheme?: string;
3953
4182
  static names(): {
3954
4183
  [key: string]: string;
@@ -3962,21 +4191,11 @@ export declare class RunStyleWritingRequest extends $dara.Model {
3962
4191
  });
3963
4192
  }
3964
4193
  export declare class RunStyleWritingShrinkRequest extends $dara.Model {
3965
- /**
3966
- * @remarks
3967
- * This parameter is required.
3968
- */
3969
4194
  learningSamplesShrink?: string;
3970
- /**
3971
- * @remarks
3972
- * This parameter is required.
3973
- */
4195
+ processStage?: string;
3974
4196
  referenceMaterialsShrink?: string;
3975
4197
  styleFeature?: string;
3976
- /**
3977
- * @remarks
3978
- * This parameter is required.
3979
- */
4198
+ useSearch?: boolean;
3980
4199
  writingTheme?: string;
3981
4200
  static names(): {
3982
4201
  [key: string]: string;
@@ -4304,6 +4523,152 @@ export declare class RunVideoAnalysisResponse extends $dara.Model {
4304
4523
  [key: string]: any;
4305
4524
  });
4306
4525
  }
4526
+ export declare class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
4527
+ /**
4528
+ * @example
4529
+ * clueMining
4530
+ */
4531
+ businessType?: string;
4532
+ contents?: string[];
4533
+ /**
4534
+ * @example
4535
+ * 额外信息
4536
+ */
4537
+ extraInfo?: string;
4538
+ /**
4539
+ * @example
4540
+ * qwen-max
4541
+ */
4542
+ modelId?: string;
4543
+ /**
4544
+ * @example
4545
+ * 请返回如下JSON格式,{"key1":"","key2":""}
4546
+ */
4547
+ outputFormat?: string;
4548
+ tags?: SubmitTagMiningAnalysisTaskRequestTags[];
4549
+ /**
4550
+ * @example
4551
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
4552
+ */
4553
+ taskDescription?: string;
4554
+ /**
4555
+ * @example
4556
+ * http://www.example.com/xxxx.txt
4557
+ */
4558
+ url?: string;
4559
+ static names(): {
4560
+ [key: string]: string;
4561
+ };
4562
+ static types(): {
4563
+ [key: string]: any;
4564
+ };
4565
+ validate(): void;
4566
+ constructor(map?: {
4567
+ [key: string]: any;
4568
+ });
4569
+ }
4570
+ export declare class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
4571
+ /**
4572
+ * @example
4573
+ * clueMining
4574
+ */
4575
+ businessType?: string;
4576
+ contentsShrink?: string;
4577
+ /**
4578
+ * @example
4579
+ * 额外信息
4580
+ */
4581
+ extraInfo?: string;
4582
+ /**
4583
+ * @example
4584
+ * qwen-max
4585
+ */
4586
+ modelId?: string;
4587
+ /**
4588
+ * @example
4589
+ * 请返回如下JSON格式,{"key1":"","key2":""}
4590
+ */
4591
+ outputFormat?: string;
4592
+ tagsShrink?: string;
4593
+ /**
4594
+ * @example
4595
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
4596
+ */
4597
+ taskDescription?: string;
4598
+ /**
4599
+ * @example
4600
+ * http://www.example.com/xxxx.txt
4601
+ */
4602
+ url?: string;
4603
+ static names(): {
4604
+ [key: string]: string;
4605
+ };
4606
+ static types(): {
4607
+ [key: string]: any;
4608
+ };
4609
+ validate(): void;
4610
+ constructor(map?: {
4611
+ [key: string]: any;
4612
+ });
4613
+ }
4614
+ export declare class SubmitTagMiningAnalysisTaskResponseBody extends $dara.Model {
4615
+ /**
4616
+ * @example
4617
+ * successful
4618
+ */
4619
+ code?: string;
4620
+ data?: SubmitTagMiningAnalysisTaskResponseBodyData;
4621
+ /**
4622
+ * @example
4623
+ * 200
4624
+ */
4625
+ httpStatusCode?: number;
4626
+ /**
4627
+ * @example
4628
+ * ok
4629
+ */
4630
+ message?: string;
4631
+ /**
4632
+ * @remarks
4633
+ * Id of the request
4634
+ *
4635
+ * @example
4636
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
4637
+ */
4638
+ requestId?: string;
4639
+ /**
4640
+ * @example
4641
+ * true
4642
+ */
4643
+ success?: boolean;
4644
+ static names(): {
4645
+ [key: string]: string;
4646
+ };
4647
+ static types(): {
4648
+ [key: string]: any;
4649
+ };
4650
+ validate(): void;
4651
+ constructor(map?: {
4652
+ [key: string]: any;
4653
+ });
4654
+ }
4655
+ export declare class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
4656
+ headers?: {
4657
+ [key: string]: string;
4658
+ };
4659
+ statusCode?: number;
4660
+ body?: SubmitTagMiningAnalysisTaskResponseBody;
4661
+ static names(): {
4662
+ [key: string]: string;
4663
+ };
4664
+ static types(): {
4665
+ [key: string]: any;
4666
+ };
4667
+ validate(): void;
4668
+ constructor(map?: {
4669
+ [key: string]: any;
4670
+ });
4671
+ }
4307
4672
  export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
4308
4673
  frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
4309
4674
  generateOptions?: string[];
@@ -4579,6 +4944,24 @@ export default class Client extends OpenApi {
4579
4944
  * @returns GenerateOutputFormatResponse
4580
4945
  */
4581
4946
  generateOutputFormat(workspaceId: string, request: GenerateOutputFormatRequest): Promise<GenerateOutputFormatResponse>;
4947
+ /**
4948
+ * 获取挖掘分析任务结果
4949
+ *
4950
+ * @param request - GetTagMiningAnalysisTaskRequest
4951
+ * @param headers - map
4952
+ * @param runtime - runtime options for this request RuntimeOptions
4953
+ * @returns GetTagMiningAnalysisTaskResponse
4954
+ */
4955
+ getTagMiningAnalysisTaskWithOptions(workspaceId: string, request: GetTagMiningAnalysisTaskRequest, headers: {
4956
+ [key: string]: string;
4957
+ }, runtime: $dara.RuntimeOptions): Promise<GetTagMiningAnalysisTaskResponse>;
4958
+ /**
4959
+ * 获取挖掘分析任务结果
4960
+ *
4961
+ * @param request - GetTagMiningAnalysisTaskRequest
4962
+ * @returns GetTagMiningAnalysisTaskResponse
4963
+ */
4964
+ getTagMiningAnalysisTask(workspaceId: string, request: GetTagMiningAnalysisTaskRequest): Promise<GetTagMiningAnalysisTaskResponse>;
4582
4965
  /**
4583
4966
  * 视频理解-获取配置
4584
4967
  *
@@ -4846,6 +5229,24 @@ export default class Client extends OpenApi {
4846
5229
  * @returns RunVideoAnalysisResponse
4847
5230
  */
4848
5231
  runVideoAnalysis(workspaceId: string, request: RunVideoAnalysisRequest): Promise<RunVideoAnalysisResponse>;
5232
+ /**
5233
+ * 轻应用-标签挖掘
5234
+ *
5235
+ * @param tmpReq - SubmitTagMiningAnalysisTaskRequest
5236
+ * @param headers - map
5237
+ * @param runtime - runtime options for this request RuntimeOptions
5238
+ * @returns SubmitTagMiningAnalysisTaskResponse
5239
+ */
5240
+ submitTagMiningAnalysisTaskWithOptions(workspaceId: string, tmpReq: SubmitTagMiningAnalysisTaskRequest, headers: {
5241
+ [key: string]: string;
5242
+ }, runtime: $dara.RuntimeOptions): Promise<SubmitTagMiningAnalysisTaskResponse>;
5243
+ /**
5244
+ * 轻应用-标签挖掘
5245
+ *
5246
+ * @param request - SubmitTagMiningAnalysisTaskRequest
5247
+ * @returns SubmitTagMiningAnalysisTaskResponse
5248
+ */
5249
+ submitTagMiningAnalysisTask(workspaceId: string, request: SubmitTagMiningAnalysisTaskRequest): Promise<SubmitTagMiningAnalysisTaskResponse>;
4849
5250
  /**
4850
5251
  * 轻应用-提交视频理解任务
4851
5252
  *