@alicloud/dms20250414 3.1.0 → 4.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 +8 -8
- package/dist/client.js +8 -8
- package/dist/models/CreateCustomAgentRequest.d.ts +71 -43
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +58 -29
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +51 -37
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +84 -25
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +94 -54
- package/dist/models/DescribeDataAgentSessionResponseBody.js +31 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentRequest.d.ts +4 -4
- package/dist/models/ListCustomAgentResponseBody.d.ts +138 -28
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceRequest.d.ts +13 -6
- package/dist/models/ListDataAgentWorkspaceRequest.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +28 -7
- package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +71 -38
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +63 -30
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +51 -32
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +18 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +8 -8
- package/src/models/CreateCustomAgentRequest.ts +71 -43
- package/src/models/CreateCustomAgentResponseBody.ts +58 -29
- package/src/models/CreateCustomAgentShrinkRequest.ts +51 -37
- package/src/models/DescribeCustomAgentResponseBody.ts +84 -25
- package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
- package/src/models/DescribeDataAgentSessionResponseBody.ts +115 -54
- package/src/models/ListCustomAgentRequest.ts +4 -4
- package/src/models/ListCustomAgentResponseBody.ts +138 -28
- package/src/models/ListDataAgentWorkspaceRequest.ts +13 -6
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +28 -7
- package/src/models/ModifyCustomAgentRequest.ts +71 -38
- package/src/models/ModifyCustomAgentResponseBody.ts +63 -30
- package/src/models/ModifyCustomAgentShrinkRequest.ts +51 -32
- package/src/models/model.ts +1 -0
|
@@ -38,6 +38,13 @@ export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* Specifies whether to prohibit appending data sources during a session.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* true
|
|
47
|
+
*/
|
|
41
48
|
forbiddenAppendDataSource?: boolean;
|
|
42
49
|
/**
|
|
43
50
|
* @remarks
|
|
@@ -103,18 +110,25 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
103
110
|
export class CreateCustomAgentRequestKnowledgeConfigList extends $dara.Model {
|
|
104
111
|
/**
|
|
105
112
|
* @remarks
|
|
106
|
-
* The access type.
|
|
107
|
-
*
|
|
108
|
-
* -
|
|
113
|
+
* The access type. If you do not specify this parameter, the default value is mcp. Valid values:
|
|
114
|
+
* - mcp: Access through MCP. The McpServerId parameter is required.
|
|
115
|
+
* - dms_kb: Access through a DMS knowledge base. The KbUuid parameter is required.
|
|
109
116
|
*
|
|
110
117
|
* @example
|
|
111
118
|
* mcp
|
|
112
119
|
*/
|
|
113
120
|
accessType?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The knowledge base ID.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* kb-HZ-6anhdzx7hddf9*******obx
|
|
127
|
+
*/
|
|
114
128
|
kbUuid?: string;
|
|
115
129
|
/**
|
|
116
130
|
* @remarks
|
|
117
|
-
* The ID of the MCP
|
|
131
|
+
* The ID of the MCP server.
|
|
118
132
|
*
|
|
119
133
|
* @example
|
|
120
134
|
* nhdpt9adf6ac**********ca
|
|
@@ -180,7 +194,7 @@ export class CreateCustomAgentRequestKnowledgeSemanticConfigList extends $dara.M
|
|
|
180
194
|
export class CreateCustomAgentRequestScheduleTaskConfig extends $dara.Model {
|
|
181
195
|
/**
|
|
182
196
|
* @remarks
|
|
183
|
-
* The cron expression for
|
|
197
|
+
* The cron expression for periodic scheduling.
|
|
184
198
|
*
|
|
185
199
|
* @example
|
|
186
200
|
* 0 0 0 ? * 1-7
|
|
@@ -188,7 +202,7 @@ export class CreateCustomAgentRequestScheduleTaskConfig extends $dara.Model {
|
|
|
188
202
|
cronExpression?: string;
|
|
189
203
|
/**
|
|
190
204
|
* @remarks
|
|
191
|
-
* The query for the
|
|
205
|
+
* The query for the periodic task.
|
|
192
206
|
*
|
|
193
207
|
* @example
|
|
194
208
|
* Analyze this data and provide a brief report
|
|
@@ -239,19 +253,19 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
239
253
|
DMSUnit?: string;
|
|
240
254
|
/**
|
|
241
255
|
* @remarks
|
|
242
|
-
* The specified data scope in **JSON character string format**.
|
|
243
|
-
* - Common
|
|
244
|
-
* - tableFlag: true
|
|
256
|
+
* The specified data scope, in **JSON character string format**.
|
|
257
|
+
* - Common parameter description
|
|
258
|
+
* - tableFlag: true specifies the data scope.
|
|
245
259
|
* - scope: personal is a fixed value.
|
|
246
|
-
* - personal:
|
|
260
|
+
* - personal: the parameters for file and database types.
|
|
247
261
|
*
|
|
248
|
-
* **File type
|
|
262
|
+
* **File type**: Pass parameters in the following format:
|
|
249
263
|
* - DataSourceType: remote_data_center is a fixed value.
|
|
250
|
-
* - FileId:
|
|
251
|
-
* - Database:
|
|
252
|
-
* - Tables:
|
|
253
|
-
* - TableIds:
|
|
254
|
-
* - RegionId:
|
|
264
|
+
* - FileId: The file ID.
|
|
265
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
266
|
+
* - Tables: The table names returned by the ListDataCenterTable operation.
|
|
267
|
+
* - TableIds: The table IDs returned by the ListDataCenterTable operation.
|
|
268
|
+
* - RegionId: The current region.
|
|
255
269
|
* ```
|
|
256
270
|
* {
|
|
257
271
|
* "tableFlag": true,
|
|
@@ -271,17 +285,17 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
271
285
|
* }
|
|
272
286
|
* ```
|
|
273
287
|
*
|
|
274
|
-
* **Database type
|
|
288
|
+
* **Database type**: Pass parameters as follows:
|
|
275
289
|
* - DataSourceType: database is a fixed value.
|
|
276
|
-
* - DmsInstanceId:
|
|
277
|
-
* - DmsDatabaseId:
|
|
278
|
-
* - FileId:
|
|
279
|
-
* - DbName:
|
|
280
|
-
* - Database:
|
|
281
|
-
* - Tables:
|
|
282
|
-
* - TableIds:
|
|
283
|
-
* - Engine:
|
|
284
|
-
* - RegionId:
|
|
290
|
+
* - DmsInstanceId: The DMS instance ID returned by the Data Center API.
|
|
291
|
+
* - DmsDatabaseId: The DMS database ID returned by the Data Center API.
|
|
292
|
+
* - FileId: The instance name. **[Deprecated]**
|
|
293
|
+
* - DbName: The database name returned by the Data Center API.
|
|
294
|
+
* - Database: The database name returned by the Data Center API.
|
|
295
|
+
* - Tables: The table names returned by the Data Center API.
|
|
296
|
+
* - TableIds: The table IDs returned by the Data Center API.
|
|
297
|
+
* - Engine: The engine type, such as mysql or postgresql.
|
|
298
|
+
* - RegionId: The current region.
|
|
285
299
|
* ```
|
|
286
300
|
* {
|
|
287
301
|
* "tableFlag": true,
|
|
@@ -312,7 +326,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
312
326
|
* "personal" : {
|
|
313
327
|
* "DataSourceType" : "remote_data_center",
|
|
314
328
|
* "FileId" : "f-5qlrwaw10********s3gpw1z",
|
|
315
|
-
* "Database" : "
|
|
329
|
+
* "Database" : "TestTable******.xlsx",
|
|
316
330
|
* "Tables" : [ "Sheet1" ],
|
|
317
331
|
* "TableIds" : [ "******" ],
|
|
318
332
|
* "RegionId" : "cn-hangzhou"
|
|
@@ -325,7 +339,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
325
339
|
* The description of the custom agent.
|
|
326
340
|
*
|
|
327
341
|
* @example
|
|
328
|
-
*
|
|
342
|
+
* Agent test description
|
|
329
343
|
*/
|
|
330
344
|
description?: string;
|
|
331
345
|
/**
|
|
@@ -335,33 +349,33 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
335
349
|
executionConfig?: CreateCustomAgentRequestExecutionConfig;
|
|
336
350
|
/**
|
|
337
351
|
* @remarks
|
|
338
|
-
* The
|
|
339
|
-
* - Input limit:
|
|
352
|
+
* The instructions.
|
|
353
|
+
* - Input limit: A maximum of 10,000 characters.
|
|
340
354
|
*
|
|
341
355
|
* @example
|
|
342
356
|
* Core metric definitions:
|
|
343
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
344
|
-
* 2. Order volume
|
|
345
|
-
* 3. UV (Unique Visitors) refers to the
|
|
346
|
-
* 4. Conversion rate =
|
|
357
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
358
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
359
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
360
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
347
361
|
*/
|
|
348
362
|
instruction?: string;
|
|
349
363
|
/**
|
|
350
364
|
* @remarks
|
|
351
365
|
* The knowledge.
|
|
352
|
-
* - Input limit:
|
|
366
|
+
* - Input limit: A maximum of 10,000 characters.
|
|
353
367
|
*
|
|
354
368
|
* @example
|
|
355
369
|
* Core metric definitions:
|
|
356
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
357
|
-
* 2. Order volume
|
|
358
|
-
* 3. UV (Unique Visitors) refers to the
|
|
359
|
-
* 4. Conversion rate =
|
|
370
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
371
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
372
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
373
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
360
374
|
*/
|
|
361
375
|
knowledge?: string;
|
|
362
376
|
/**
|
|
363
377
|
* @remarks
|
|
364
|
-
* The external knowledge
|
|
378
|
+
* The external knowledge bases.
|
|
365
379
|
*/
|
|
366
380
|
knowledgeConfigList?: CreateCustomAgentRequestKnowledgeConfigList[];
|
|
367
381
|
knowledgeSemanticConfigList?: CreateCustomAgentRequestKnowledgeSemanticConfigList[];
|
|
@@ -370,12 +384,15 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
370
384
|
* The name of the custom agent.
|
|
371
385
|
*
|
|
372
386
|
* @example
|
|
373
|
-
*
|
|
387
|
+
* Agent test name
|
|
374
388
|
*/
|
|
375
389
|
name?: string;
|
|
376
390
|
/**
|
|
377
391
|
* @remarks
|
|
378
392
|
* The ID of the referenced historical session.
|
|
393
|
+
*
|
|
394
|
+
* @example
|
|
395
|
+
* 99crainsjnveo*******vynid
|
|
379
396
|
*/
|
|
380
397
|
relatedSessionId?: string;
|
|
381
398
|
/**
|
|
@@ -388,18 +405,29 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
388
405
|
* The text report format.
|
|
389
406
|
*
|
|
390
407
|
* @example
|
|
391
|
-
*
|
|
408
|
+
* All numbers in the text report must be written in Chinese characters instead of Arabic numerals
|
|
392
409
|
*/
|
|
393
410
|
textReportConfig?: string;
|
|
411
|
+
/**
|
|
412
|
+
* @remarks
|
|
413
|
+
* The list of user-specified skills.
|
|
414
|
+
*/
|
|
394
415
|
userSpecifiedSkillList?: string[];
|
|
395
416
|
/**
|
|
396
417
|
* @remarks
|
|
397
418
|
* The web report format.
|
|
398
419
|
*
|
|
399
420
|
* @example
|
|
400
|
-
*
|
|
421
|
+
* All numbers in the web report must be written in Chinese characters instead of Arabic numerals
|
|
401
422
|
*/
|
|
402
423
|
webReportConfig?: string;
|
|
424
|
+
/**
|
|
425
|
+
* @remarks
|
|
426
|
+
* The web report theme.
|
|
427
|
+
*
|
|
428
|
+
* @example
|
|
429
|
+
* Default
|
|
430
|
+
*/
|
|
403
431
|
webReportTheme?: string;
|
|
404
432
|
/**
|
|
405
433
|
* @remarks
|
|
@@ -38,6 +38,13 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* Specifies whether to prohibit appending data sources during a session.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* true
|
|
47
|
+
*/
|
|
41
48
|
forbiddenAppendDataSource?: boolean;
|
|
42
49
|
/**
|
|
43
50
|
* @remarks
|
|
@@ -103,18 +110,25 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
103
110
|
export class CreateCustomAgentResponseBodyDataKnowledgeConfigList extends $dara.Model {
|
|
104
111
|
/**
|
|
105
112
|
* @remarks
|
|
106
|
-
* The access type.
|
|
107
|
-
*
|
|
108
|
-
* -
|
|
113
|
+
* The access type. Valid values:
|
|
114
|
+
* - mcp: MCP access.
|
|
115
|
+
* - dms_kb: DMS knowledge base access.
|
|
109
116
|
*
|
|
110
117
|
* @example
|
|
111
118
|
* mcp
|
|
112
119
|
*/
|
|
113
120
|
accessType?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @remarks
|
|
123
|
+
* The knowledge base ID.
|
|
124
|
+
*
|
|
125
|
+
* @example
|
|
126
|
+
* kb-HZ-6anhdzx7hddf9*******obx
|
|
127
|
+
*/
|
|
114
128
|
kbUuid?: string;
|
|
115
129
|
/**
|
|
116
130
|
* @remarks
|
|
117
|
-
* The ID of the MCP
|
|
131
|
+
* The ID of the MCP server.
|
|
118
132
|
*
|
|
119
133
|
* @example
|
|
120
134
|
* nhdpt9adf6ac**********ca
|
|
@@ -180,7 +194,7 @@ export class CreateCustomAgentResponseBodyDataKnowledgeSemanticConfigList extend
|
|
|
180
194
|
export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.Model {
|
|
181
195
|
/**
|
|
182
196
|
* @remarks
|
|
183
|
-
* The cron expression for
|
|
197
|
+
* The cron expression for periodic scheduling.
|
|
184
198
|
*
|
|
185
199
|
* @example
|
|
186
200
|
* 0 0 0 ? * 1-7
|
|
@@ -188,7 +202,7 @@ export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.M
|
|
|
188
202
|
cronExpression?: string;
|
|
189
203
|
/**
|
|
190
204
|
* @remarks
|
|
191
|
-
* The query for the
|
|
205
|
+
* The query for the periodic task.
|
|
192
206
|
*
|
|
193
207
|
* @example
|
|
194
208
|
* Analyze this data and provide a brief report
|
|
@@ -230,7 +244,7 @@ export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.M
|
|
|
230
244
|
export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
231
245
|
/**
|
|
232
246
|
* @remarks
|
|
233
|
-
* The Alibaba Cloud account ID
|
|
247
|
+
* The primary Alibaba Cloud account ID.
|
|
234
248
|
*
|
|
235
249
|
* @example
|
|
236
250
|
* 16738266********
|
|
@@ -280,7 +294,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
280
294
|
* "personal" : {
|
|
281
295
|
* "DataSourceType" : "remote_data_center",
|
|
282
296
|
* "FileId" : "f-5qlrwaw10********s3gpw1z",
|
|
283
|
-
* "Database" : "
|
|
297
|
+
* "Database" : "TestTable******.xlsx",
|
|
284
298
|
* "Tables" : [ "Sheet1" ],
|
|
285
299
|
* "TableIds" : [ "******" ],
|
|
286
300
|
* "RegionId" : "cn-hangzhou"
|
|
@@ -293,7 +307,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
293
307
|
* The description of the custom agent.
|
|
294
308
|
*
|
|
295
309
|
* @example
|
|
296
|
-
*
|
|
310
|
+
* Agent test description
|
|
297
311
|
*/
|
|
298
312
|
description?: string;
|
|
299
313
|
/**
|
|
@@ -331,14 +345,14 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
331
345
|
*
|
|
332
346
|
* @example
|
|
333
347
|
* Analysis framework:
|
|
334
|
-
* 1. Monitor core metrics (GMV, order volume, UV, conversion rate) on a daily, weekly, and monthly basis, and analyze
|
|
335
|
-
* 2. Segment by new
|
|
336
|
-
* 3. Conduct funnel analysis based on user behavior
|
|
348
|
+
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis, and analyze trend changes and year-over-year or month-over-month fluctuations.
|
|
349
|
+
* 2. Segment data by new and returning customers, channels, and regions to identify growth drivers and weaknesses.
|
|
350
|
+
* 3. Conduct funnel analysis based on the user behavior path (browse -> add to cart -> pay) to locate churn points
|
|
337
351
|
*/
|
|
338
352
|
instruction?: string;
|
|
339
353
|
/**
|
|
340
354
|
* @remarks
|
|
341
|
-
* Indicates whether a
|
|
355
|
+
* Indicates whether a scheduled task is configured.
|
|
342
356
|
*
|
|
343
357
|
* @example
|
|
344
358
|
* false
|
|
@@ -350,15 +364,15 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
350
364
|
*
|
|
351
365
|
* @example
|
|
352
366
|
* Core metric definitions:
|
|
353
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
354
|
-
* 2. Order volume
|
|
355
|
-
* 3. UV (Unique Visitors) refers to the
|
|
356
|
-
* 4. Conversion rate =
|
|
367
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
368
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
369
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
370
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
357
371
|
*/
|
|
358
372
|
knowledge?: string;
|
|
359
373
|
/**
|
|
360
374
|
* @remarks
|
|
361
|
-
* The external knowledge
|
|
375
|
+
* The external knowledge bases.
|
|
362
376
|
*/
|
|
363
377
|
knowledgeConfigList?: CreateCustomAgentResponseBodyDataKnowledgeConfigList[];
|
|
364
378
|
knowledgeSemanticConfigList?: CreateCustomAgentResponseBodyDataKnowledgeSemanticConfigList[];
|
|
@@ -383,12 +397,12 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
383
397
|
* The name of the custom agent.
|
|
384
398
|
*
|
|
385
399
|
* @example
|
|
386
|
-
*
|
|
400
|
+
* Agent test name
|
|
387
401
|
*/
|
|
388
402
|
name?: string;
|
|
389
403
|
/**
|
|
390
404
|
* @remarks
|
|
391
|
-
* The next
|
|
405
|
+
* The next execution time of the scheduled task.
|
|
392
406
|
* - Timestamp format.
|
|
393
407
|
*
|
|
394
408
|
* @example
|
|
@@ -418,7 +432,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
418
432
|
relatedSessionId?: string;
|
|
419
433
|
/**
|
|
420
434
|
* @remarks
|
|
421
|
-
* The
|
|
435
|
+
* The release time.
|
|
422
436
|
*
|
|
423
437
|
* @example
|
|
424
438
|
* 2025-12-11T14:04:32.000+00:00
|
|
@@ -426,7 +440,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
426
440
|
releaseTime?: string;
|
|
427
441
|
/**
|
|
428
442
|
* @remarks
|
|
429
|
-
* The
|
|
443
|
+
* The scheduled task configuration.
|
|
430
444
|
*/
|
|
431
445
|
scheduleTaskConfig?: CreateCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
432
446
|
/**
|
|
@@ -442,18 +456,34 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
442
456
|
* The text report format.
|
|
443
457
|
*
|
|
444
458
|
* @example
|
|
445
|
-
*
|
|
459
|
+
* All numbers in the text report must be written in Chinese characters instead of Arabic numerals
|
|
446
460
|
*/
|
|
447
461
|
textReportConfig?: string;
|
|
462
|
+
/**
|
|
463
|
+
* @remarks
|
|
464
|
+
* The list of user-specified skills.
|
|
465
|
+
*/
|
|
448
466
|
userSpecifiedSkillList?: string[];
|
|
449
467
|
/**
|
|
450
468
|
* @remarks
|
|
451
469
|
* The web report format.
|
|
452
470
|
*
|
|
453
471
|
* @example
|
|
454
|
-
*
|
|
472
|
+
* All numbers in the web report must be written in Chinese characters instead of Arabic numerals
|
|
455
473
|
*/
|
|
456
474
|
webReportConfig?: string;
|
|
475
|
+
/**
|
|
476
|
+
* @remarks
|
|
477
|
+
* The web report theme. Valid values:
|
|
478
|
+
* - default: Default.
|
|
479
|
+
* - journal: Journal.
|
|
480
|
+
* - legacy: Legacy.
|
|
481
|
+
* - neobrutalism: Neobrutalism.
|
|
482
|
+
* - infographic: Infographic.
|
|
483
|
+
*
|
|
484
|
+
* @example
|
|
485
|
+
* default
|
|
486
|
+
*/
|
|
457
487
|
webReportTheme?: string;
|
|
458
488
|
/**
|
|
459
489
|
* @remarks
|
|
@@ -580,7 +610,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
580
610
|
errorCode?: string;
|
|
581
611
|
/**
|
|
582
612
|
* @remarks
|
|
583
|
-
* The error message returned when the
|
|
613
|
+
* The error message returned when the call fails.
|
|
584
614
|
*
|
|
585
615
|
* @example
|
|
586
616
|
* Specified parameter Tid is not valid.
|
|
@@ -596,10 +626,9 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
596
626
|
requestId?: string;
|
|
597
627
|
/**
|
|
598
628
|
* @remarks
|
|
599
|
-
* Indicates whether the request
|
|
600
|
-
*
|
|
601
|
-
* -
|
|
602
|
-
* - False: The request failed.
|
|
629
|
+
* Indicates whether the request is successful. Valid values:
|
|
630
|
+
* - True: The request is successful.
|
|
631
|
+
* - False: The request fails.
|
|
603
632
|
*
|
|
604
633
|
* @example
|
|
605
634
|
* true
|
|
@@ -14,19 +14,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
14
14
|
DMSUnit?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The specified data scope in **JSON character string format**.
|
|
18
|
-
* - Common
|
|
19
|
-
* - tableFlag: true
|
|
17
|
+
* The specified data scope, in **JSON character string format**.
|
|
18
|
+
* - Common parameter description
|
|
19
|
+
* - tableFlag: true specifies the data scope.
|
|
20
20
|
* - scope: personal is a fixed value.
|
|
21
|
-
* - personal:
|
|
21
|
+
* - personal: the parameters for file and database types.
|
|
22
22
|
*
|
|
23
|
-
* **File type
|
|
23
|
+
* **File type**: Pass parameters in the following format:
|
|
24
24
|
* - DataSourceType: remote_data_center is a fixed value.
|
|
25
|
-
* - FileId:
|
|
26
|
-
* - Database:
|
|
27
|
-
* - Tables:
|
|
28
|
-
* - TableIds:
|
|
29
|
-
* - RegionId:
|
|
25
|
+
* - FileId: The file ID.
|
|
26
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
27
|
+
* - Tables: The table names returned by the ListDataCenterTable operation.
|
|
28
|
+
* - TableIds: The table IDs returned by the ListDataCenterTable operation.
|
|
29
|
+
* - RegionId: The current region.
|
|
30
30
|
* ```
|
|
31
31
|
* {
|
|
32
32
|
* "tableFlag": true,
|
|
@@ -46,17 +46,17 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* }
|
|
47
47
|
* ```
|
|
48
48
|
*
|
|
49
|
-
* **Database type
|
|
49
|
+
* **Database type**: Pass parameters as follows:
|
|
50
50
|
* - DataSourceType: database is a fixed value.
|
|
51
|
-
* - DmsInstanceId:
|
|
52
|
-
* - DmsDatabaseId:
|
|
53
|
-
* - FileId:
|
|
54
|
-
* - DbName:
|
|
55
|
-
* - Database:
|
|
56
|
-
* - Tables:
|
|
57
|
-
* - TableIds:
|
|
58
|
-
* - Engine:
|
|
59
|
-
* - RegionId:
|
|
51
|
+
* - DmsInstanceId: The DMS instance ID returned by the Data Center API.
|
|
52
|
+
* - DmsDatabaseId: The DMS database ID returned by the Data Center API.
|
|
53
|
+
* - FileId: The instance name. **[Deprecated]**
|
|
54
|
+
* - DbName: The database name returned by the Data Center API.
|
|
55
|
+
* - Database: The database name returned by the Data Center API.
|
|
56
|
+
* - Tables: The table names returned by the Data Center API.
|
|
57
|
+
* - TableIds: The table IDs returned by the Data Center API.
|
|
58
|
+
* - Engine: The engine type, such as mysql or postgresql.
|
|
59
|
+
* - RegionId: The current region.
|
|
60
60
|
* ```
|
|
61
61
|
* {
|
|
62
62
|
* "tableFlag": true,
|
|
@@ -87,7 +87,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
87
87
|
* "personal" : {
|
|
88
88
|
* "DataSourceType" : "remote_data_center",
|
|
89
89
|
* "FileId" : "f-5qlrwaw10********s3gpw1z",
|
|
90
|
-
* "Database" : "
|
|
90
|
+
* "Database" : "TestTable******.xlsx",
|
|
91
91
|
* "Tables" : [ "Sheet1" ],
|
|
92
92
|
* "TableIds" : [ "******" ],
|
|
93
93
|
* "RegionId" : "cn-hangzhou"
|
|
@@ -100,7 +100,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
100
100
|
* The description of the custom agent.
|
|
101
101
|
*
|
|
102
102
|
* @example
|
|
103
|
-
*
|
|
103
|
+
* Agent test description
|
|
104
104
|
*/
|
|
105
105
|
description?: string;
|
|
106
106
|
/**
|
|
@@ -110,33 +110,33 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
110
110
|
executionConfigShrink?: string;
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
|
-
* The
|
|
114
|
-
* - Input limit:
|
|
113
|
+
* The instructions.
|
|
114
|
+
* - Input limit: A maximum of 10,000 characters.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* Core metric definitions:
|
|
118
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
119
|
-
* 2. Order volume
|
|
120
|
-
* 3. UV (Unique Visitors) refers to the
|
|
121
|
-
* 4. Conversion rate =
|
|
118
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
119
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
120
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
121
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
122
122
|
*/
|
|
123
123
|
instruction?: string;
|
|
124
124
|
/**
|
|
125
125
|
* @remarks
|
|
126
126
|
* The knowledge.
|
|
127
|
-
* - Input limit:
|
|
127
|
+
* - Input limit: A maximum of 10,000 characters.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* Core metric definitions:
|
|
131
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
132
|
-
* 2. Order volume
|
|
133
|
-
* 3. UV (Unique Visitors) refers to the
|
|
134
|
-
* 4. Conversion rate =
|
|
131
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
132
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
133
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
134
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
135
135
|
*/
|
|
136
136
|
knowledge?: string;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* The external knowledge
|
|
139
|
+
* The external knowledge bases.
|
|
140
140
|
*/
|
|
141
141
|
knowledgeConfigListShrink?: string;
|
|
142
142
|
knowledgeSemanticConfigListShrink?: string;
|
|
@@ -145,12 +145,15 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
145
145
|
* The name of the custom agent.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
|
-
*
|
|
148
|
+
* Agent test name
|
|
149
149
|
*/
|
|
150
150
|
name?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
153
|
* The ID of the referenced historical session.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* 99crainsjnveo*******vynid
|
|
154
157
|
*/
|
|
155
158
|
relatedSessionId?: string;
|
|
156
159
|
/**
|
|
@@ -163,18 +166,29 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
163
166
|
* The text report format.
|
|
164
167
|
*
|
|
165
168
|
* @example
|
|
166
|
-
*
|
|
169
|
+
* All numbers in the text report must be written in Chinese characters instead of Arabic numerals
|
|
167
170
|
*/
|
|
168
171
|
textReportConfig?: string;
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The list of user-specified skills.
|
|
175
|
+
*/
|
|
169
176
|
userSpecifiedSkillListShrink?: string;
|
|
170
177
|
/**
|
|
171
178
|
* @remarks
|
|
172
179
|
* The web report format.
|
|
173
180
|
*
|
|
174
181
|
* @example
|
|
175
|
-
*
|
|
182
|
+
* All numbers in the web report must be written in Chinese characters instead of Arabic numerals
|
|
176
183
|
*/
|
|
177
184
|
webReportConfig?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* The web report theme.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* Default
|
|
191
|
+
*/
|
|
178
192
|
webReportTheme?: string;
|
|
179
193
|
/**
|
|
180
194
|
* @remarks
|