@alicloud/quanmiaolightapp20240801 2.0.0 → 2.1.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
@@ -72,6 +72,134 @@ export declare class GenerateBroadcastNewsResponse extends $tea.Model {
72
72
  [key: string]: any;
73
73
  });
74
74
  }
75
+ export declare class GenerateOutputFormatRequest extends $tea.Model {
76
+ /**
77
+ * @example
78
+ * clueMining
79
+ */
80
+ businessType?: string;
81
+ /**
82
+ * @example
83
+ * 待分析文本
84
+ */
85
+ content?: string;
86
+ /**
87
+ * @example
88
+ * 额外信息
89
+ */
90
+ extraInfo?: string;
91
+ /**
92
+ * @remarks
93
+ * This parameter is required.
94
+ */
95
+ tags?: GenerateOutputFormatRequestTags[];
96
+ /**
97
+ * @example
98
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
99
+ */
100
+ taskDescription?: string;
101
+ static names(): {
102
+ [key: string]: string;
103
+ };
104
+ static types(): {
105
+ [key: string]: any;
106
+ };
107
+ constructor(map?: {
108
+ [key: string]: any;
109
+ });
110
+ }
111
+ export declare class GenerateOutputFormatShrinkRequest extends $tea.Model {
112
+ /**
113
+ * @example
114
+ * clueMining
115
+ */
116
+ businessType?: string;
117
+ /**
118
+ * @example
119
+ * 待分析文本
120
+ */
121
+ content?: string;
122
+ /**
123
+ * @example
124
+ * 额外信息
125
+ */
126
+ extraInfo?: string;
127
+ /**
128
+ * @remarks
129
+ * This parameter is required.
130
+ */
131
+ tagsShrink?: string;
132
+ /**
133
+ * @example
134
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
135
+ */
136
+ taskDescription?: string;
137
+ static names(): {
138
+ [key: string]: string;
139
+ };
140
+ static types(): {
141
+ [key: string]: any;
142
+ };
143
+ constructor(map?: {
144
+ [key: string]: any;
145
+ });
146
+ }
147
+ export declare class GenerateOutputFormatResponseBody extends $tea.Model {
148
+ /**
149
+ * @example
150
+ * successful
151
+ */
152
+ code?: string;
153
+ data?: GenerateOutputFormatResponseBodyData;
154
+ /**
155
+ * @example
156
+ * 200
157
+ */
158
+ httpStatusCode?: number;
159
+ /**
160
+ * @example
161
+ * ok
162
+ */
163
+ message?: string;
164
+ /**
165
+ * @remarks
166
+ * Id of the request
167
+ *
168
+ * @example
169
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
170
+ */
171
+ requestId?: string;
172
+ /**
173
+ * @example
174
+ * True
175
+ */
176
+ success?: boolean;
177
+ static names(): {
178
+ [key: string]: string;
179
+ };
180
+ static types(): {
181
+ [key: string]: any;
182
+ };
183
+ constructor(map?: {
184
+ [key: string]: any;
185
+ });
186
+ }
187
+ export declare class GenerateOutputFormatResponse extends $tea.Model {
188
+ headers?: {
189
+ [key: string]: string;
190
+ };
191
+ statusCode?: number;
192
+ body?: GenerateOutputFormatResponseBody;
193
+ static names(): {
194
+ [key: string]: string;
195
+ };
196
+ static types(): {
197
+ [key: string]: any;
198
+ };
199
+ constructor(map?: {
200
+ [key: string]: any;
201
+ });
202
+ }
75
203
  export declare class ListHotTopicSummariesRequest extends $tea.Model {
76
204
  /**
77
205
  * @example
@@ -190,6 +318,7 @@ export declare class RunHotTopicChatRequest extends $tea.Model {
190
318
  * 1
191
319
  */
192
320
  imageCount?: number;
321
+ messages?: RunHotTopicChatRequestMessages[];
193
322
  /**
194
323
  * @example
195
324
  * xx
@@ -236,6 +365,7 @@ export declare class RunHotTopicChatShrinkRequest extends $tea.Model {
236
365
  * 1
237
366
  */
238
367
  imageCount?: number;
368
+ messagesShrink?: string;
239
369
  /**
240
370
  * @example
241
371
  * xx
@@ -756,6 +886,133 @@ export declare class RunStyleWritingResponse extends $tea.Model {
756
886
  [key: string]: any;
757
887
  });
758
888
  }
889
+ export declare class RunTagMiningAnalysisRequest extends $tea.Model {
890
+ /**
891
+ * @example
892
+ * clueMining
893
+ */
894
+ businessType?: string;
895
+ /**
896
+ * @remarks
897
+ * This parameter is required.
898
+ *
899
+ * @example
900
+ * 待分析文本
901
+ */
902
+ content?: string;
903
+ /**
904
+ * @example
905
+ * 额外信息
906
+ */
907
+ extraInfo?: string;
908
+ /**
909
+ * @example
910
+ * qwen-max
911
+ */
912
+ modelId?: string;
913
+ /**
914
+ * @example
915
+ * 请返回如下JSON格式,{"key1":"","key2":""}
916
+ */
917
+ outputFormat?: string;
918
+ tags?: RunTagMiningAnalysisRequestTags[];
919
+ /**
920
+ * @example
921
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
922
+ */
923
+ taskDescription?: string;
924
+ static names(): {
925
+ [key: string]: string;
926
+ };
927
+ static types(): {
928
+ [key: string]: any;
929
+ };
930
+ constructor(map?: {
931
+ [key: string]: any;
932
+ });
933
+ }
934
+ export declare class RunTagMiningAnalysisShrinkRequest extends $tea.Model {
935
+ /**
936
+ * @example
937
+ * clueMining
938
+ */
939
+ businessType?: string;
940
+ /**
941
+ * @remarks
942
+ * This parameter is required.
943
+ *
944
+ * @example
945
+ * 待分析文本
946
+ */
947
+ content?: string;
948
+ /**
949
+ * @example
950
+ * 额外信息
951
+ */
952
+ extraInfo?: string;
953
+ /**
954
+ * @example
955
+ * qwen-max
956
+ */
957
+ modelId?: string;
958
+ /**
959
+ * @example
960
+ * 请返回如下JSON格式,{"key1":"","key2":""}
961
+ */
962
+ outputFormat?: string;
963
+ tagsShrink?: string;
964
+ /**
965
+ * @example
966
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
967
+ */
968
+ taskDescription?: string;
969
+ static names(): {
970
+ [key: string]: string;
971
+ };
972
+ static types(): {
973
+ [key: string]: any;
974
+ };
975
+ constructor(map?: {
976
+ [key: string]: any;
977
+ });
978
+ }
979
+ export declare class RunTagMiningAnalysisResponseBody extends $tea.Model {
980
+ header?: RunTagMiningAnalysisResponseBodyHeader;
981
+ payload?: RunTagMiningAnalysisResponseBodyPayload;
982
+ /**
983
+ * @remarks
984
+ * Id of the request
985
+ *
986
+ * @example
987
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
988
+ */
989
+ requestId?: string;
990
+ static names(): {
991
+ [key: string]: string;
992
+ };
993
+ static types(): {
994
+ [key: string]: any;
995
+ };
996
+ constructor(map?: {
997
+ [key: string]: any;
998
+ });
999
+ }
1000
+ export declare class RunTagMiningAnalysisResponse extends $tea.Model {
1001
+ headers?: {
1002
+ [key: string]: string;
1003
+ };
1004
+ statusCode?: number;
1005
+ body?: RunTagMiningAnalysisResponseBody;
1006
+ static names(): {
1007
+ [key: string]: string;
1008
+ };
1009
+ static types(): {
1010
+ [key: string]: any;
1011
+ };
1012
+ constructor(map?: {
1013
+ [key: string]: any;
1014
+ });
1015
+ }
759
1016
  export declare class RunVideoAnalysisRequest extends $tea.Model {
760
1017
  generateOptions?: string[];
761
1018
  modelCustomPromptTemplate?: string;
@@ -982,6 +1239,39 @@ export declare class GenerateBroadcastNewsResponseBodyData extends $tea.Model {
982
1239
  [key: string]: any;
983
1240
  });
984
1241
  }
1242
+ export declare class GenerateOutputFormatRequestTags extends $tea.Model {
1243
+ /**
1244
+ * @example
1245
+ * xxxx
1246
+ */
1247
+ tagDefinePrompt?: string;
1248
+ /**
1249
+ * @example
1250
+ * xxxx
1251
+ */
1252
+ tagName?: string;
1253
+ static names(): {
1254
+ [key: string]: string;
1255
+ };
1256
+ static types(): {
1257
+ [key: string]: any;
1258
+ };
1259
+ constructor(map?: {
1260
+ [key: string]: any;
1261
+ });
1262
+ }
1263
+ export declare class GenerateOutputFormatResponseBodyData extends $tea.Model {
1264
+ outputFormat?: string;
1265
+ static names(): {
1266
+ [key: string]: string;
1267
+ };
1268
+ static types(): {
1269
+ [key: string]: any;
1270
+ };
1271
+ constructor(map?: {
1272
+ [key: string]: any;
1273
+ });
1274
+ }
985
1275
  export declare class ListHotTopicSummariesResponseBodyDataNewsComments extends $tea.Model {
986
1276
  /**
987
1277
  * @example
@@ -1105,6 +1395,32 @@ export declare class ListHotTopicSummariesResponseBodyData extends $tea.Model {
1105
1395
  [key: string]: any;
1106
1396
  });
1107
1397
  }
1398
+ export declare class RunHotTopicChatRequestMessages extends $tea.Model {
1399
+ /**
1400
+ * @example
1401
+ * xxx
1402
+ */
1403
+ content?: string;
1404
+ /**
1405
+ * @example
1406
+ * 2024-12-10 18:51:29
1407
+ */
1408
+ createTime?: string;
1409
+ /**
1410
+ * @example
1411
+ * user
1412
+ */
1413
+ role?: string;
1414
+ static names(): {
1415
+ [key: string]: string;
1416
+ };
1417
+ static types(): {
1418
+ [key: string]: any;
1419
+ };
1420
+ constructor(map?: {
1421
+ [key: string]: any;
1422
+ });
1423
+ }
1108
1424
  export declare class RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights extends $tea.Model {
1109
1425
  /**
1110
1426
  * @example
@@ -2007,6 +2323,119 @@ export declare class RunStyleWritingResponseBodyPayload extends $tea.Model {
2007
2323
  [key: string]: any;
2008
2324
  });
2009
2325
  }
2326
+ export declare class RunTagMiningAnalysisRequestTags extends $tea.Model {
2327
+ /**
2328
+ * @example
2329
+ * xxxx
2330
+ */
2331
+ tagDefinePrompt?: string;
2332
+ /**
2333
+ * @example
2334
+ * xxxx
2335
+ */
2336
+ tagName?: string;
2337
+ static names(): {
2338
+ [key: string]: string;
2339
+ };
2340
+ static types(): {
2341
+ [key: string]: any;
2342
+ };
2343
+ constructor(map?: {
2344
+ [key: string]: any;
2345
+ });
2346
+ }
2347
+ export declare class RunTagMiningAnalysisResponseBodyHeader extends $tea.Model {
2348
+ /**
2349
+ * @example
2350
+ * AccessForbidden
2351
+ */
2352
+ errorCode?: string;
2353
+ /**
2354
+ * @example
2355
+ * 错误信息
2356
+ */
2357
+ errorMessage?: string;
2358
+ /**
2359
+ * @example
2360
+ * task-finished
2361
+ */
2362
+ event?: string;
2363
+ /**
2364
+ * @example
2365
+ * xxxx
2366
+ */
2367
+ sessionId?: string;
2368
+ /**
2369
+ * @example
2370
+ * xxxx
2371
+ */
2372
+ taskId?: string;
2373
+ /**
2374
+ * @example
2375
+ * xxxxx
2376
+ */
2377
+ traceId?: string;
2378
+ static names(): {
2379
+ [key: string]: string;
2380
+ };
2381
+ static types(): {
2382
+ [key: string]: any;
2383
+ };
2384
+ constructor(map?: {
2385
+ [key: string]: any;
2386
+ });
2387
+ }
2388
+ export declare class RunTagMiningAnalysisResponseBodyPayloadOutput extends $tea.Model {
2389
+ text?: string;
2390
+ static names(): {
2391
+ [key: string]: string;
2392
+ };
2393
+ static types(): {
2394
+ [key: string]: any;
2395
+ };
2396
+ constructor(map?: {
2397
+ [key: string]: any;
2398
+ });
2399
+ }
2400
+ export declare class RunTagMiningAnalysisResponseBodyPayloadUsage extends $tea.Model {
2401
+ /**
2402
+ * @example
2403
+ * 100
2404
+ */
2405
+ inputTokens?: number;
2406
+ /**
2407
+ * @example
2408
+ * 100
2409
+ */
2410
+ outputTokens?: number;
2411
+ /**
2412
+ * @example
2413
+ * 200
2414
+ */
2415
+ totalTokens?: number;
2416
+ static names(): {
2417
+ [key: string]: string;
2418
+ };
2419
+ static types(): {
2420
+ [key: string]: any;
2421
+ };
2422
+ constructor(map?: {
2423
+ [key: string]: any;
2424
+ });
2425
+ }
2426
+ export declare class RunTagMiningAnalysisResponseBodyPayload extends $tea.Model {
2427
+ output?: RunTagMiningAnalysisResponseBodyPayloadOutput;
2428
+ usage?: RunTagMiningAnalysisResponseBodyPayloadUsage;
2429
+ static names(): {
2430
+ [key: string]: string;
2431
+ };
2432
+ static types(): {
2433
+ [key: string]: any;
2434
+ };
2435
+ constructor(map?: {
2436
+ [key: string]: any;
2437
+ });
2438
+ }
2010
2439
  export declare class RunVideoAnalysisResponseBodyHeader extends $tea.Model {
2011
2440
  /**
2012
2441
  * @example
@@ -2406,6 +2835,24 @@ export default class Client extends OpenApi {
2406
2835
  * @returns GenerateBroadcastNewsResponse
2407
2836
  */
2408
2837
  generateBroadcastNews(workspaceId: string, request: GenerateBroadcastNewsRequest): Promise<GenerateBroadcastNewsResponse>;
2838
+ /**
2839
+ * 轻应用-标签挖掘-获取示例输出格式
2840
+ *
2841
+ * @param tmpReq - GenerateOutputFormatRequest
2842
+ * @param headers - map
2843
+ * @param runtime - runtime options for this request RuntimeOptions
2844
+ * @returns GenerateOutputFormatResponse
2845
+ */
2846
+ generateOutputFormatWithOptions(workspaceId: string, tmpReq: GenerateOutputFormatRequest, headers: {
2847
+ [key: string]: string;
2848
+ }, runtime: $Util.RuntimeOptions): Promise<GenerateOutputFormatResponse>;
2849
+ /**
2850
+ * 轻应用-标签挖掘-获取示例输出格式
2851
+ *
2852
+ * @param request - GenerateOutputFormatRequest
2853
+ * @returns GenerateOutputFormatResponse
2854
+ */
2855
+ generateOutputFormat(workspaceId: string, request: GenerateOutputFormatRequest): Promise<GenerateOutputFormatResponse>;
2409
2856
  /**
2410
2857
  * 轻应用-新闻播报-获取热点话题摘要列表
2411
2858
  *
@@ -2550,6 +2997,24 @@ export default class Client extends OpenApi {
2550
2997
  * @returns RunStyleWritingResponse
2551
2998
  */
2552
2999
  runStyleWriting(workspaceId: string, request: RunStyleWritingRequest): Promise<RunStyleWritingResponse>;
3000
+ /**
3001
+ * 轻应用-标签挖掘
3002
+ *
3003
+ * @param tmpReq - RunTagMiningAnalysisRequest
3004
+ * @param headers - map
3005
+ * @param runtime - runtime options for this request RuntimeOptions
3006
+ * @returns RunTagMiningAnalysisResponse
3007
+ */
3008
+ runTagMiningAnalysisWithOptions(workspaceId: string, tmpReq: RunTagMiningAnalysisRequest, headers: {
3009
+ [key: string]: string;
3010
+ }, runtime: $Util.RuntimeOptions): Promise<RunTagMiningAnalysisResponse>;
3011
+ /**
3012
+ * 轻应用-标签挖掘
3013
+ *
3014
+ * @param request - RunTagMiningAnalysisRequest
3015
+ * @returns RunTagMiningAnalysisResponse
3016
+ */
3017
+ runTagMiningAnalysis(workspaceId: string, request: RunTagMiningAnalysisRequest): Promise<RunTagMiningAnalysisResponse>;
2553
3018
  /**
2554
3019
  * 轻应用-视频理解
2555
3020
  *