@alicloud/dms20250414 1.20.2 → 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 +29 -2
- package/dist/client.js +80 -2
- package/dist/client.js.map +1 -1
- package/dist/models/AddDataAgentMemoryRequest.d.ts +43 -0
- package/dist/models/AddDataAgentMemoryRequest.js +68 -0
- package/dist/models/AddDataAgentMemoryRequest.js.map +1 -0
- package/dist/models/AddDataAgentMemoryResponse.d.ts +19 -0
- package/dist/models/AddDataAgentMemoryResponse.js +69 -0
- package/dist/models/AddDataAgentMemoryResponse.js.map +1 -0
- package/dist/models/AddDataAgentMemoryResponseBody.d.ts +56 -0
- package/dist/models/AddDataAgentMemoryResponseBody.js +90 -0
- package/dist/models/AddDataAgentMemoryResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentRequest.d.ts +33 -28
- package/dist/models/CreateCustomAgentRequest.js +5 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +20 -16
- package/dist/models/CreateCustomAgentResponseBody.js +5 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -27
- package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +9 -8
- package/dist/models/DescribeCustomAgentResponseBody.js +5 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentResponseBody.d.ts +1 -0
- package/dist/models/ListCustomAgentResponseBody.js +5 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +1 -0
- package/dist/models/ModifyCustomAgentRequest.js +5 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +1 -0
- package/dist/models/ModifyCustomAgentResponseBody.js +5 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +1 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js +2 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +53 -37
- package/dist/models/SendChatMessageRequest.js +5 -0
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +21 -9
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +20 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +92 -2
- package/src/models/AddDataAgentMemoryRequest.ts +66 -0
- package/src/models/AddDataAgentMemoryResponse.ts +40 -0
- package/src/models/AddDataAgentMemoryResponseBody.ts +92 -0
- package/src/models/CreateCustomAgentRequest.ts +38 -28
- package/src/models/CreateCustomAgentResponseBody.ts +25 -16
- package/src/models/CreateCustomAgentShrinkRequest.ts +32 -27
- package/src/models/DescribeCustomAgentResponseBody.ts +14 -8
- package/src/models/ListCustomAgentResponseBody.ts +6 -0
- package/src/models/ModifyCustomAgentRequest.ts +6 -0
- package/src/models/ModifyCustomAgentResponseBody.ts +6 -0
- package/src/models/ModifyCustomAgentShrinkRequest.ts +3 -0
- package/src/models/SendChatMessageRequest.ts +59 -38
- package/src/models/SendChatMessageShrinkRequest.ts +22 -10
- package/src/models/model.ts +4 -0
|
@@ -65,7 +65,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
65
65
|
skipSqlConfirm?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Specifies whether to skip the web report
|
|
68
|
+
* Specifies whether to skip the web report generation confirmation.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* true
|
|
@@ -105,6 +105,8 @@ export class CreateCustomAgentRequestKnowledgeConfigList extends $dara.Model {
|
|
|
105
105
|
* @remarks
|
|
106
106
|
* The access type.
|
|
107
107
|
*
|
|
108
|
+
* - mcp: access through MCP.
|
|
109
|
+
*
|
|
108
110
|
* @example
|
|
109
111
|
* mcp
|
|
110
112
|
*/
|
|
@@ -237,19 +239,19 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
237
239
|
DMSUnit?: string;
|
|
238
240
|
/**
|
|
239
241
|
* @remarks
|
|
240
|
-
* The specified data
|
|
241
|
-
* - Common
|
|
242
|
-
* - tableFlag: true indicates a
|
|
242
|
+
* The specified data scope in **JSON character string format**.
|
|
243
|
+
* - Common metric description
|
|
244
|
+
* - tableFlag: true indicates that a data scope is specified.
|
|
243
245
|
* - scope: personal is a fixed value.
|
|
244
246
|
* - personal: pass parameters for file or database types.
|
|
245
247
|
*
|
|
246
248
|
* **File type**. Pass parameters in the following format:
|
|
247
249
|
* - DataSourceType: remote_data_center is a fixed value.
|
|
248
|
-
* - FileId:
|
|
249
|
-
* - Database:
|
|
250
|
-
* - Tables:
|
|
251
|
-
* - TableIds:
|
|
252
|
-
* - RegionId:
|
|
250
|
+
* - FileId: the file ID.
|
|
251
|
+
* - Database: the database name returned by the ListDataCenterTable operation, which is typically the file name.
|
|
252
|
+
* - Tables: the table name returned by the ListDataCenterTable operation.
|
|
253
|
+
* - TableIds: the TableId returned by the ListDataCenterTable operation.
|
|
254
|
+
* - RegionId: the current region.
|
|
253
255
|
* ```
|
|
254
256
|
* {
|
|
255
257
|
* "tableFlag": true,
|
|
@@ -271,15 +273,15 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
271
273
|
*
|
|
272
274
|
* **Database type**. Pass parameters as follows:
|
|
273
275
|
* - DataSourceType: database is a fixed value.
|
|
274
|
-
* - DmsInstanceId:
|
|
275
|
-
* - DmsDatabaseId:
|
|
276
|
-
* - FileId:
|
|
277
|
-
* - DbName:
|
|
278
|
-
* - Database:
|
|
279
|
-
* - Tables:
|
|
280
|
-
* - TableIds:
|
|
281
|
-
* - Engine:
|
|
282
|
-
* - RegionId:
|
|
276
|
+
* - DmsInstanceId: the DMS instance ID returned by the data center operation.
|
|
277
|
+
* - DmsDatabaseId: the DMS database ID returned by the data center operation.
|
|
278
|
+
* - FileId: the instance name (deprecated).
|
|
279
|
+
* - DbName: the database name returned by the data center operation.
|
|
280
|
+
* - Database: the database name returned by the data center operation.
|
|
281
|
+
* - Tables: the table name returned by the data center operation.
|
|
282
|
+
* - TableIds: the TableId returned by the data center operation.
|
|
283
|
+
* - Engine: the DPI engine type (mysql or postgresql).
|
|
284
|
+
* - RegionId: the current region.
|
|
283
285
|
* ```
|
|
284
286
|
* {
|
|
285
287
|
* "tableFlag": true,
|
|
@@ -310,7 +312,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
310
312
|
* "personal" : {
|
|
311
313
|
* "DataSourceType" : "remote_data_center",
|
|
312
314
|
* "FileId" : "f-5qlrwaw10********s3gpw1z",
|
|
313
|
-
* "Database" : "
|
|
315
|
+
* "Database" : "测试表格******.xlsx",
|
|
314
316
|
* "Tables" : [ "Sheet1" ],
|
|
315
317
|
* "TableIds" : [ "******" ],
|
|
316
318
|
* "RegionId" : "cn-hangzhou"
|
|
@@ -334,30 +336,32 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
334
336
|
/**
|
|
335
337
|
* @remarks
|
|
336
338
|
* The instruction.
|
|
339
|
+
* - Input limit: a maximum of 10000 characters.
|
|
337
340
|
*
|
|
338
341
|
* @example
|
|
339
342
|
* Core metric definitions:
|
|
340
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including
|
|
341
|
-
* 2. Order volume is the number of valid orders placed per day
|
|
342
|
-
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app
|
|
343
|
-
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
343
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
344
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
345
|
+
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
|
|
346
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
344
347
|
*/
|
|
345
348
|
instruction?: string;
|
|
346
349
|
/**
|
|
347
350
|
* @remarks
|
|
348
351
|
* The knowledge.
|
|
352
|
+
* - Input limit: a maximum of 10000 characters.
|
|
349
353
|
*
|
|
350
354
|
* @example
|
|
351
355
|
* Core metric definitions:
|
|
352
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including
|
|
356
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
353
357
|
* 2. Order volume is the number of valid orders placed per day.
|
|
354
358
|
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
|
|
355
|
-
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
359
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
356
360
|
*/
|
|
357
361
|
knowledge?: string;
|
|
358
362
|
/**
|
|
359
363
|
* @remarks
|
|
360
|
-
* The external knowledge base
|
|
364
|
+
* The external knowledge base.
|
|
361
365
|
*/
|
|
362
366
|
knowledgeConfigList?: CreateCustomAgentRequestKnowledgeConfigList[];
|
|
363
367
|
knowledgeSemanticConfigList?: CreateCustomAgentRequestKnowledgeSemanticConfigList[];
|
|
@@ -384,15 +388,16 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
384
388
|
* The text report format.
|
|
385
389
|
*
|
|
386
390
|
* @example
|
|
387
|
-
* The text report requires all numbers to be
|
|
391
|
+
* The text report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
|
|
388
392
|
*/
|
|
389
393
|
textReportConfig?: string;
|
|
394
|
+
userSpecifiedSkillList?: string[];
|
|
390
395
|
/**
|
|
391
396
|
* @remarks
|
|
392
397
|
* The web report format.
|
|
393
398
|
*
|
|
394
399
|
* @example
|
|
395
|
-
* The web report requires all numbers to be
|
|
400
|
+
* The web report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
|
|
396
401
|
*/
|
|
397
402
|
webReportConfig?: string;
|
|
398
403
|
webReportTheme?: string;
|
|
@@ -419,6 +424,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
419
424
|
relatedSessionId: 'RelatedSessionId',
|
|
420
425
|
scheduleTaskConfig: 'ScheduleTaskConfig',
|
|
421
426
|
textReportConfig: 'TextReportConfig',
|
|
427
|
+
userSpecifiedSkillList: 'UserSpecifiedSkillList',
|
|
422
428
|
webReportConfig: 'WebReportConfig',
|
|
423
429
|
webReportTheme: 'WebReportTheme',
|
|
424
430
|
workspaceId: 'WorkspaceId',
|
|
@@ -440,6 +446,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
440
446
|
relatedSessionId: 'string',
|
|
441
447
|
scheduleTaskConfig: CreateCustomAgentRequestScheduleTaskConfig,
|
|
442
448
|
textReportConfig: 'string',
|
|
449
|
+
userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
|
|
443
450
|
webReportConfig: 'string',
|
|
444
451
|
webReportTheme: 'string',
|
|
445
452
|
workspaceId: 'string',
|
|
@@ -462,6 +469,9 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
462
469
|
if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
|
|
463
470
|
(this.scheduleTaskConfig as any).validate();
|
|
464
471
|
}
|
|
472
|
+
if(Array.isArray(this.userSpecifiedSkillList)) {
|
|
473
|
+
$dara.Model.validateArray(this.userSpecifiedSkillList);
|
|
474
|
+
}
|
|
465
475
|
super.validate();
|
|
466
476
|
}
|
|
467
477
|
|
|
@@ -65,7 +65,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
65
65
|
skipSqlConfirm?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* Specifies whether to skip the web report
|
|
68
|
+
* Specifies whether to skip the web report generation confirmation.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* true
|
|
@@ -105,6 +105,8 @@ export class CreateCustomAgentResponseBodyDataKnowledgeConfigList extends $dara.
|
|
|
105
105
|
* @remarks
|
|
106
106
|
* The access type.
|
|
107
107
|
*
|
|
108
|
+
* - mcp: access through MCP.
|
|
109
|
+
*
|
|
108
110
|
* @example
|
|
109
111
|
* mcp
|
|
110
112
|
*/
|
|
@@ -228,7 +230,7 @@ export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.M
|
|
|
228
230
|
export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
229
231
|
/**
|
|
230
232
|
* @remarks
|
|
231
|
-
* The Alibaba Cloud account ID of the
|
|
233
|
+
* The Alibaba Cloud account ID of the parent account.
|
|
232
234
|
*
|
|
233
235
|
* @example
|
|
234
236
|
* 16738266********
|
|
@@ -329,9 +331,9 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
329
331
|
*
|
|
330
332
|
* @example
|
|
331
333
|
* Analysis framework:
|
|
332
|
-
* 1. Monitor core metrics (GMV, order volume, UV, conversion rate) on a daily, weekly, and monthly basis, analyze trends and year-over-year/month-over-month fluctuations
|
|
333
|
-
* 2. Segment by new/existing customers, channels, and regions to identify growth drivers and weaknesses
|
|
334
|
-
* 3. Conduct funnel analysis based on user behavior paths (
|
|
334
|
+
* 1. Monitor core metrics (GMV, order volume, UV, conversion rate) on a daily, weekly, and monthly basis, and analyze trends and year-over-year/month-over-month fluctuations.
|
|
335
|
+
* 2. Segment by new/existing customers, channels, and regions to identify growth drivers and weaknesses.
|
|
336
|
+
* 3. Conduct funnel analysis based on user behavior paths (browse → add to cart → payment) to identify drop-off points
|
|
335
337
|
*/
|
|
336
338
|
instruction?: string;
|
|
337
339
|
/**
|
|
@@ -348,15 +350,15 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
348
350
|
*
|
|
349
351
|
* @example
|
|
350
352
|
* Core metric definitions:
|
|
351
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including
|
|
352
|
-
* 2. Order volume is the number of valid orders placed per day
|
|
353
|
-
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app
|
|
354
|
-
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
353
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
354
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
355
|
+
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
|
|
356
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
355
357
|
*/
|
|
356
358
|
knowledge?: string;
|
|
357
359
|
/**
|
|
358
360
|
* @remarks
|
|
359
|
-
* The external knowledge base
|
|
361
|
+
* The external knowledge base.
|
|
360
362
|
*/
|
|
361
363
|
knowledgeConfigList?: CreateCustomAgentResponseBodyDataKnowledgeConfigList[];
|
|
362
364
|
knowledgeSemanticConfigList?: CreateCustomAgentResponseBodyDataKnowledgeSemanticConfigList[];
|
|
@@ -387,6 +389,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
387
389
|
/**
|
|
388
390
|
* @remarks
|
|
389
391
|
* The next run time of the periodic task.
|
|
392
|
+
* - Timestamp format.
|
|
390
393
|
*
|
|
391
394
|
* @example
|
|
392
395
|
* 1767715200
|
|
@@ -439,15 +442,16 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
439
442
|
* The text report format.
|
|
440
443
|
*
|
|
441
444
|
* @example
|
|
442
|
-
* The text report requires all numbers to be
|
|
445
|
+
* The text report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
|
|
443
446
|
*/
|
|
444
447
|
textReportConfig?: string;
|
|
448
|
+
userSpecifiedSkillList?: string[];
|
|
445
449
|
/**
|
|
446
450
|
* @remarks
|
|
447
451
|
* The web report format.
|
|
448
452
|
*
|
|
449
453
|
* @example
|
|
450
|
-
* The web report requires all numbers to be
|
|
454
|
+
* The web report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
|
|
451
455
|
*/
|
|
452
456
|
webReportConfig?: string;
|
|
453
457
|
webReportTheme?: string;
|
|
@@ -489,6 +493,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
489
493
|
scheduleTaskConfig: 'ScheduleTaskConfig',
|
|
490
494
|
status: 'Status',
|
|
491
495
|
textReportConfig: 'TextReportConfig',
|
|
496
|
+
userSpecifiedSkillList: 'UserSpecifiedSkillList',
|
|
492
497
|
webReportConfig: 'WebReportConfig',
|
|
493
498
|
webReportTheme: 'WebReportTheme',
|
|
494
499
|
workspaceId: 'WorkspaceId',
|
|
@@ -525,6 +530,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
525
530
|
scheduleTaskConfig: CreateCustomAgentResponseBodyDataScheduleTaskConfig,
|
|
526
531
|
status: 'string',
|
|
527
532
|
textReportConfig: 'string',
|
|
533
|
+
userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
|
|
528
534
|
webReportConfig: 'string',
|
|
529
535
|
webReportTheme: 'string',
|
|
530
536
|
workspaceId: 'string',
|
|
@@ -547,6 +553,9 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
547
553
|
if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
|
|
548
554
|
(this.scheduleTaskConfig as any).validate();
|
|
549
555
|
}
|
|
556
|
+
if(Array.isArray(this.userSpecifiedSkillList)) {
|
|
557
|
+
$dara.Model.validateArray(this.userSpecifiedSkillList);
|
|
558
|
+
}
|
|
550
559
|
super.validate();
|
|
551
560
|
}
|
|
552
561
|
|
|
@@ -571,7 +580,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
571
580
|
errorCode?: string;
|
|
572
581
|
/**
|
|
573
582
|
* @remarks
|
|
574
|
-
* The error message returned
|
|
583
|
+
* The error message returned when the request failed.
|
|
575
584
|
*
|
|
576
585
|
* @example
|
|
577
586
|
* Specified parameter Tid is not valid.
|
|
@@ -587,10 +596,10 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
587
596
|
requestId?: string;
|
|
588
597
|
/**
|
|
589
598
|
* @remarks
|
|
590
|
-
* Indicates whether the request
|
|
599
|
+
* Indicates whether the request was successful. Valid values:
|
|
591
600
|
*
|
|
592
|
-
* - True: The request
|
|
593
|
-
* - False: The request
|
|
601
|
+
* - True: The request was successful.
|
|
602
|
+
* - False: The request failed.
|
|
594
603
|
*
|
|
595
604
|
* @example
|
|
596
605
|
* true
|
|
@@ -14,19 +14,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
14
14
|
DMSUnit?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The specified data
|
|
18
|
-
* - Common
|
|
19
|
-
* - tableFlag: true indicates a
|
|
17
|
+
* The specified data scope in **JSON character string format**.
|
|
18
|
+
* - Common metric description
|
|
19
|
+
* - tableFlag: true indicates that a data scope is specified.
|
|
20
20
|
* - scope: personal is a fixed value.
|
|
21
21
|
* - personal: pass parameters for file or database types.
|
|
22
22
|
*
|
|
23
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 typically the file name.
|
|
27
|
+
* - Tables: the table name returned by the ListDataCenterTable operation.
|
|
28
|
+
* - TableIds: the TableId returned by the ListDataCenterTable operation.
|
|
29
|
+
* - RegionId: the current region.
|
|
30
30
|
* ```
|
|
31
31
|
* {
|
|
32
32
|
* "tableFlag": true,
|
|
@@ -48,15 +48,15 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
48
48
|
*
|
|
49
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 operation.
|
|
52
|
+
* - DmsDatabaseId: the DMS database ID returned by the data center operation.
|
|
53
|
+
* - FileId: the instance name (deprecated).
|
|
54
|
+
* - DbName: the database name returned by the data center operation.
|
|
55
|
+
* - Database: the database name returned by the data center operation.
|
|
56
|
+
* - Tables: the table name returned by the data center operation.
|
|
57
|
+
* - TableIds: the TableId returned by the data center operation.
|
|
58
|
+
* - Engine: the DPI engine type (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" : "测试表格******.xlsx",
|
|
91
91
|
* "Tables" : [ "Sheet1" ],
|
|
92
92
|
* "TableIds" : [ "******" ],
|
|
93
93
|
* "RegionId" : "cn-hangzhou"
|
|
@@ -111,30 +111,32 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
111
111
|
/**
|
|
112
112
|
* @remarks
|
|
113
113
|
* The instruction.
|
|
114
|
+
* - Input limit: a maximum of 10000 characters.
|
|
114
115
|
*
|
|
115
116
|
* @example
|
|
116
117
|
* Core metric definitions:
|
|
117
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including
|
|
118
|
-
* 2. Order volume is the number of valid orders placed per day
|
|
119
|
-
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app
|
|
120
|
-
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
118
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
119
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
120
|
+
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
|
|
121
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
121
122
|
*/
|
|
122
123
|
instruction?: string;
|
|
123
124
|
/**
|
|
124
125
|
* @remarks
|
|
125
126
|
* The knowledge.
|
|
127
|
+
* - Input limit: a maximum of 10000 characters.
|
|
126
128
|
*
|
|
127
129
|
* @example
|
|
128
130
|
* Core metric definitions:
|
|
129
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including
|
|
131
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
|
|
130
132
|
* 2. Order volume is the number of valid orders placed per day.
|
|
131
133
|
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
|
|
132
|
-
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
134
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
133
135
|
*/
|
|
134
136
|
knowledge?: string;
|
|
135
137
|
/**
|
|
136
138
|
* @remarks
|
|
137
|
-
* The external knowledge base
|
|
139
|
+
* The external knowledge base.
|
|
138
140
|
*/
|
|
139
141
|
knowledgeConfigListShrink?: string;
|
|
140
142
|
knowledgeSemanticConfigListShrink?: string;
|
|
@@ -161,15 +163,16 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
161
163
|
* The text report format.
|
|
162
164
|
*
|
|
163
165
|
* @example
|
|
164
|
-
* The text report requires all numbers to be
|
|
166
|
+
* The text report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
|
|
165
167
|
*/
|
|
166
168
|
textReportConfig?: string;
|
|
169
|
+
userSpecifiedSkillListShrink?: string;
|
|
167
170
|
/**
|
|
168
171
|
* @remarks
|
|
169
172
|
* The web report format.
|
|
170
173
|
*
|
|
171
174
|
* @example
|
|
172
|
-
* The web report requires all numbers to be
|
|
175
|
+
* The web report requires all numbers to be expressed in Chinese characters instead of Arabic numerals
|
|
173
176
|
*/
|
|
174
177
|
webReportConfig?: string;
|
|
175
178
|
webReportTheme?: string;
|
|
@@ -196,6 +199,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
196
199
|
relatedSessionId: 'RelatedSessionId',
|
|
197
200
|
scheduleTaskConfigShrink: 'ScheduleTaskConfig',
|
|
198
201
|
textReportConfig: 'TextReportConfig',
|
|
202
|
+
userSpecifiedSkillListShrink: 'UserSpecifiedSkillList',
|
|
199
203
|
webReportConfig: 'WebReportConfig',
|
|
200
204
|
webReportTheme: 'WebReportTheme',
|
|
201
205
|
workspaceId: 'WorkspaceId',
|
|
@@ -217,6 +221,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
217
221
|
relatedSessionId: 'string',
|
|
218
222
|
scheduleTaskConfigShrink: 'string',
|
|
219
223
|
textReportConfig: 'string',
|
|
224
|
+
userSpecifiedSkillListShrink: 'string',
|
|
220
225
|
webReportConfig: 'string',
|
|
221
226
|
webReportTheme: 'string',
|
|
222
227
|
workspaceId: 'string',
|
|
@@ -172,7 +172,7 @@ export class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara
|
|
|
172
172
|
cronExpression?: string;
|
|
173
173
|
/**
|
|
174
174
|
* @remarks
|
|
175
|
-
* The query for the
|
|
175
|
+
* The query for the scheduled task.
|
|
176
176
|
*
|
|
177
177
|
* @example
|
|
178
178
|
* Analyze this data and provide a brief report
|
|
@@ -278,7 +278,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
278
278
|
* The description of the custom agent.
|
|
279
279
|
*
|
|
280
280
|
* @example
|
|
281
|
-
*
|
|
281
|
+
* Agent test description
|
|
282
282
|
*/
|
|
283
283
|
description?: string;
|
|
284
284
|
/**
|
|
@@ -323,7 +323,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
323
323
|
instruction?: string;
|
|
324
324
|
/**
|
|
325
325
|
* @remarks
|
|
326
|
-
* Specifies whether a
|
|
326
|
+
* Specifies whether a scheduled task is configured.
|
|
327
327
|
*
|
|
328
328
|
* @example
|
|
329
329
|
* true
|
|
@@ -338,7 +338,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
338
338
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders;
|
|
339
339
|
* 2. Order volume is the number of valid orders placed per day;
|
|
340
340
|
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app;
|
|
341
|
-
* 4. Conversion rate = paid orders / UV, reflecting traffic conversion efficiency;
|
|
341
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency;
|
|
342
342
|
*/
|
|
343
343
|
knowledge?: string;
|
|
344
344
|
knowledgeConfigList?: DescribeCustomAgentResponseBodyDataKnowledgeConfigList[];
|
|
@@ -364,12 +364,12 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
364
364
|
* The name of the custom agent.
|
|
365
365
|
*
|
|
366
366
|
* @example
|
|
367
|
-
*
|
|
367
|
+
* Agent test name
|
|
368
368
|
*/
|
|
369
369
|
name?: string;
|
|
370
370
|
/**
|
|
371
371
|
* @remarks
|
|
372
|
-
* The next run time of the
|
|
372
|
+
* The next run time of the scheduled task.
|
|
373
373
|
*
|
|
374
374
|
* @example
|
|
375
375
|
* 1767715200
|
|
@@ -409,7 +409,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
409
409
|
releaseTime?: string;
|
|
410
410
|
/**
|
|
411
411
|
* @remarks
|
|
412
|
-
* The
|
|
412
|
+
* The scheduled task configuration.
|
|
413
413
|
*/
|
|
414
414
|
scheduleTaskConfig?: DescribeCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
415
415
|
/**
|
|
@@ -428,6 +428,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
428
428
|
* The text report requires all numbers to be converted from Arabic numerals to Chinese numerals
|
|
429
429
|
*/
|
|
430
430
|
textReportConfig?: string;
|
|
431
|
+
userSpecifiedSkillList?: string[];
|
|
431
432
|
/**
|
|
432
433
|
* @remarks
|
|
433
434
|
* The web report format.
|
|
@@ -476,6 +477,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
476
477
|
scheduleTaskConfig: 'ScheduleTaskConfig',
|
|
477
478
|
status: 'Status',
|
|
478
479
|
textReportConfig: 'TextReportConfig',
|
|
480
|
+
userSpecifiedSkillList: 'UserSpecifiedSkillList',
|
|
479
481
|
webReportConfig: 'WebReportConfig',
|
|
480
482
|
webReportTheme: 'WebReportTheme',
|
|
481
483
|
workspaceId: 'WorkspaceId',
|
|
@@ -513,6 +515,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
513
515
|
scheduleTaskConfig: DescribeCustomAgentResponseBodyDataScheduleTaskConfig,
|
|
514
516
|
status: 'string',
|
|
515
517
|
textReportConfig: 'string',
|
|
518
|
+
userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
|
|
516
519
|
webReportConfig: 'string',
|
|
517
520
|
webReportTheme: 'string',
|
|
518
521
|
workspaceId: 'string',
|
|
@@ -535,6 +538,9 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
535
538
|
if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
|
|
536
539
|
(this.scheduleTaskConfig as any).validate();
|
|
537
540
|
}
|
|
541
|
+
if(Array.isArray(this.userSpecifiedSkillList)) {
|
|
542
|
+
$dara.Model.validateArray(this.userSpecifiedSkillList);
|
|
543
|
+
}
|
|
538
544
|
super.validate();
|
|
539
545
|
}
|
|
540
546
|
|
|
@@ -559,7 +565,7 @@ export class DescribeCustomAgentResponseBody extends $dara.Model {
|
|
|
559
565
|
errorCode?: string;
|
|
560
566
|
/**
|
|
561
567
|
* @remarks
|
|
562
|
-
* The error message returned if the
|
|
568
|
+
* The error message returned if the call failed.
|
|
563
569
|
*
|
|
564
570
|
* @example
|
|
565
571
|
* Specified parameter Tid is not valid.
|
|
@@ -421,6 +421,7 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
|
|
|
421
421
|
* 文字报告要求所有数字不使用阿拉伯数字,全部转为中文数字
|
|
422
422
|
*/
|
|
423
423
|
textReportConfig?: string;
|
|
424
|
+
userSpecifiedSkillList?: string[];
|
|
424
425
|
/**
|
|
425
426
|
* @remarks
|
|
426
427
|
* The formatting instructions for the web report.
|
|
@@ -469,6 +470,7 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
|
|
|
469
470
|
scheduleTaskConfig: 'ScheduleTaskConfig',
|
|
470
471
|
status: 'Status',
|
|
471
472
|
textReportConfig: 'TextReportConfig',
|
|
473
|
+
userSpecifiedSkillList: 'UserSpecifiedSkillList',
|
|
472
474
|
webReportConfig: 'WebReportConfig',
|
|
473
475
|
webReportTheme: 'WebReportTheme',
|
|
474
476
|
workspaceId: 'WorkspaceId',
|
|
@@ -506,6 +508,7 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
|
|
|
506
508
|
scheduleTaskConfig: ListCustomAgentResponseBodyDataContentScheduleTaskConfig,
|
|
507
509
|
status: 'string',
|
|
508
510
|
textReportConfig: 'string',
|
|
511
|
+
userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
|
|
509
512
|
webReportConfig: 'string',
|
|
510
513
|
webReportTheme: 'string',
|
|
511
514
|
workspaceId: 'string',
|
|
@@ -528,6 +531,9 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
|
|
|
528
531
|
if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
|
|
529
532
|
(this.scheduleTaskConfig as any).validate();
|
|
530
533
|
}
|
|
534
|
+
if(Array.isArray(this.userSpecifiedSkillList)) {
|
|
535
|
+
$dara.Model.validateArray(this.userSpecifiedSkillList);
|
|
536
|
+
}
|
|
531
537
|
super.validate();
|
|
532
538
|
}
|
|
533
539
|
|
|
@@ -393,6 +393,7 @@ export class ModifyCustomAgentRequest extends $dara.Model {
|
|
|
393
393
|
* The text report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
394
394
|
*/
|
|
395
395
|
textReportConfig?: string;
|
|
396
|
+
userSpecifiedSkillList?: string[];
|
|
396
397
|
/**
|
|
397
398
|
* @remarks
|
|
398
399
|
* The web report format.
|
|
@@ -426,6 +427,7 @@ export class ModifyCustomAgentRequest extends $dara.Model {
|
|
|
426
427
|
relatedSessionId: 'RelatedSessionId',
|
|
427
428
|
scheduleTaskConfig: 'ScheduleTaskConfig',
|
|
428
429
|
textReportConfig: 'TextReportConfig',
|
|
430
|
+
userSpecifiedSkillList: 'UserSpecifiedSkillList',
|
|
429
431
|
webReportConfig: 'WebReportConfig',
|
|
430
432
|
webReportTheme: 'WebReportTheme',
|
|
431
433
|
workspaceId: 'WorkspaceId',
|
|
@@ -448,6 +450,7 @@ export class ModifyCustomAgentRequest extends $dara.Model {
|
|
|
448
450
|
relatedSessionId: 'string',
|
|
449
451
|
scheduleTaskConfig: ModifyCustomAgentRequestScheduleTaskConfig,
|
|
450
452
|
textReportConfig: 'string',
|
|
453
|
+
userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
|
|
451
454
|
webReportConfig: 'string',
|
|
452
455
|
webReportTheme: 'string',
|
|
453
456
|
workspaceId: 'string',
|
|
@@ -470,6 +473,9 @@ export class ModifyCustomAgentRequest extends $dara.Model {
|
|
|
470
473
|
if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
|
|
471
474
|
(this.scheduleTaskConfig as any).validate();
|
|
472
475
|
}
|
|
476
|
+
if(Array.isArray(this.userSpecifiedSkillList)) {
|
|
477
|
+
$dara.Model.validateArray(this.userSpecifiedSkillList);
|
|
478
|
+
}
|
|
473
479
|
super.validate();
|
|
474
480
|
}
|
|
475
481
|
|
|
@@ -442,6 +442,7 @@ export class ModifyCustomAgentResponseBodyData extends $dara.Model {
|
|
|
442
442
|
* The text report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
443
443
|
*/
|
|
444
444
|
textReportConfig?: string;
|
|
445
|
+
userSpecifiedSkillList?: string[];
|
|
445
446
|
/**
|
|
446
447
|
* @remarks
|
|
447
448
|
* The web report format.
|
|
@@ -489,6 +490,7 @@ export class ModifyCustomAgentResponseBodyData extends $dara.Model {
|
|
|
489
490
|
scheduleTaskConfig: 'ScheduleTaskConfig',
|
|
490
491
|
status: 'Status',
|
|
491
492
|
textReportConfig: 'TextReportConfig',
|
|
493
|
+
userSpecifiedSkillList: 'UserSpecifiedSkillList',
|
|
492
494
|
webReportConfig: 'WebReportConfig',
|
|
493
495
|
webReportTheme: 'WebReportTheme',
|
|
494
496
|
workspaceId: 'WorkspaceId',
|
|
@@ -525,6 +527,7 @@ export class ModifyCustomAgentResponseBodyData extends $dara.Model {
|
|
|
525
527
|
scheduleTaskConfig: ModifyCustomAgentResponseBodyDataScheduleTaskConfig,
|
|
526
528
|
status: 'string',
|
|
527
529
|
textReportConfig: 'string',
|
|
530
|
+
userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
|
|
528
531
|
webReportConfig: 'string',
|
|
529
532
|
webReportTheme: 'string',
|
|
530
533
|
workspaceId: 'string',
|
|
@@ -547,6 +550,9 @@ export class ModifyCustomAgentResponseBodyData extends $dara.Model {
|
|
|
547
550
|
if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
|
|
548
551
|
(this.scheduleTaskConfig as any).validate();
|
|
549
552
|
}
|
|
553
|
+
if(Array.isArray(this.userSpecifiedSkillList)) {
|
|
554
|
+
$dara.Model.validateArray(this.userSpecifiedSkillList);
|
|
555
|
+
}
|
|
550
556
|
super.validate();
|
|
551
557
|
}
|
|
552
558
|
|
|
@@ -170,6 +170,7 @@ export class ModifyCustomAgentShrinkRequest extends $dara.Model {
|
|
|
170
170
|
* The text report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
171
171
|
*/
|
|
172
172
|
textReportConfig?: string;
|
|
173
|
+
userSpecifiedSkillListShrink?: string;
|
|
173
174
|
/**
|
|
174
175
|
* @remarks
|
|
175
176
|
* The web report format.
|
|
@@ -203,6 +204,7 @@ export class ModifyCustomAgentShrinkRequest extends $dara.Model {
|
|
|
203
204
|
relatedSessionId: 'RelatedSessionId',
|
|
204
205
|
scheduleTaskConfigShrink: 'ScheduleTaskConfig',
|
|
205
206
|
textReportConfig: 'TextReportConfig',
|
|
207
|
+
userSpecifiedSkillListShrink: 'UserSpecifiedSkillList',
|
|
206
208
|
webReportConfig: 'WebReportConfig',
|
|
207
209
|
webReportTheme: 'WebReportTheme',
|
|
208
210
|
workspaceId: 'WorkspaceId',
|
|
@@ -225,6 +227,7 @@ export class ModifyCustomAgentShrinkRequest extends $dara.Model {
|
|
|
225
227
|
relatedSessionId: 'string',
|
|
226
228
|
scheduleTaskConfigShrink: 'string',
|
|
227
229
|
textReportConfig: 'string',
|
|
230
|
+
userSpecifiedSkillListShrink: 'string',
|
|
228
231
|
webReportConfig: 'string',
|
|
229
232
|
webReportTheme: 'string',
|
|
230
233
|
workspaceId: 'string',
|