@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.
Files changed (60) hide show
  1. package/dist/client.d.ts +29 -2
  2. package/dist/client.js +80 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDataAgentMemoryRequest.d.ts +43 -0
  5. package/dist/models/AddDataAgentMemoryRequest.js +68 -0
  6. package/dist/models/AddDataAgentMemoryRequest.js.map +1 -0
  7. package/dist/models/AddDataAgentMemoryResponse.d.ts +19 -0
  8. package/dist/models/AddDataAgentMemoryResponse.js +69 -0
  9. package/dist/models/AddDataAgentMemoryResponse.js.map +1 -0
  10. package/dist/models/AddDataAgentMemoryResponseBody.d.ts +56 -0
  11. package/dist/models/AddDataAgentMemoryResponseBody.js +90 -0
  12. package/dist/models/AddDataAgentMemoryResponseBody.js.map +1 -0
  13. package/dist/models/CreateCustomAgentRequest.d.ts +33 -28
  14. package/dist/models/CreateCustomAgentRequest.js +5 -0
  15. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +20 -16
  17. package/dist/models/CreateCustomAgentResponseBody.js +5 -0
  18. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  19. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -27
  20. package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
  21. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  22. package/dist/models/DescribeCustomAgentResponseBody.d.ts +9 -8
  23. package/dist/models/DescribeCustomAgentResponseBody.js +5 -0
  24. package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
  25. package/dist/models/ListCustomAgentResponseBody.d.ts +1 -0
  26. package/dist/models/ListCustomAgentResponseBody.js +5 -0
  27. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  28. package/dist/models/ModifyCustomAgentRequest.d.ts +1 -0
  29. package/dist/models/ModifyCustomAgentRequest.js +5 -0
  30. package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
  31. package/dist/models/ModifyCustomAgentResponseBody.d.ts +1 -0
  32. package/dist/models/ModifyCustomAgentResponseBody.js +5 -0
  33. package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
  34. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +1 -0
  35. package/dist/models/ModifyCustomAgentShrinkRequest.js +2 -0
  36. package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
  37. package/dist/models/SendChatMessageRequest.d.ts +53 -37
  38. package/dist/models/SendChatMessageRequest.js +5 -0
  39. package/dist/models/SendChatMessageRequest.js.map +1 -1
  40. package/dist/models/SendChatMessageShrinkRequest.d.ts +21 -9
  41. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  42. package/dist/models/model.d.ts +4 -0
  43. package/dist/models/model.js +20 -12
  44. package/dist/models/model.js.map +1 -1
  45. package/package.json +1 -1
  46. package/src/client.ts +92 -2
  47. package/src/models/AddDataAgentMemoryRequest.ts +66 -0
  48. package/src/models/AddDataAgentMemoryResponse.ts +40 -0
  49. package/src/models/AddDataAgentMemoryResponseBody.ts +92 -0
  50. package/src/models/CreateCustomAgentRequest.ts +38 -28
  51. package/src/models/CreateCustomAgentResponseBody.ts +25 -16
  52. package/src/models/CreateCustomAgentShrinkRequest.ts +32 -27
  53. package/src/models/DescribeCustomAgentResponseBody.ts +14 -8
  54. package/src/models/ListCustomAgentResponseBody.ts +6 -0
  55. package/src/models/ModifyCustomAgentRequest.ts +6 -0
  56. package/src/models/ModifyCustomAgentResponseBody.ts +6 -0
  57. package/src/models/ModifyCustomAgentShrinkRequest.ts +3 -0
  58. package/src/models/SendChatMessageRequest.ts +59 -38
  59. package/src/models/SendChatMessageShrinkRequest.ts +22 -10
  60. package/src/models/model.ts +4 -0
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of columns that are allowed to be queried in the current table. If this parameter is not specified, all columns can be queried. If this parameter is specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure the analysis effectiveness of DataAgent, avoid specifying columns that exceed the allowed scope in the prompts, knowledge, or instructions modules of DataAgent. Otherwise, SQL statements without the required permissions are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
8
+ * The list of columns allowed for querying in the current table. If left empty, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis effectiveness, avoid specifying columns beyond the allowed scope in DataAgent prompts, knowledge, or instructions. Otherwise, unauthorized SQL statements may be generated and blocked, reducing DataAgent analysis speed and effectiveness.
9
9
  */
10
10
  allowedColumns?: string[];
11
11
  /**
12
12
  * @remarks
13
- * The required row filter condition for the current table. If this parameter is not specified, it is ignored. If this parameter is specified, the query condition is appended to all SQL statements that involve this table. Verify the validity of the condition before specifying it.
13
+ * The required row filter condition for the current table. If left empty, this constraint is ignored. If specified, all SQL statements involving this table are validated to check whether they carry the filter field and whether the WHERE condition meets the constraint. SQL statements that do not meet the constraint are rejected. Ensure the validation condition format is correct.
14
14
  *
15
15
  * @example
16
16
  * region = \\"east\\"
@@ -18,7 +18,7 @@ export class SendChatMessageRequestDataSourcePermissionTables extends $dara.Mode
18
18
  requiredRowFilter?: string;
19
19
  /**
20
20
  * @remarks
21
- * The name of the table to which the permission constraint rule applies.
21
+ * The table name to which the permission constraint rule applies.
22
22
  *
23
23
  * @example
24
24
  * sample_table
@@ -85,7 +85,7 @@ export class SendChatMessageRequestDataSourcePermission extends $dara.Model {
85
85
  export class SendChatMessageRequestDataSource extends $dara.Model {
86
86
  /**
87
87
  * @remarks
88
- * Deprecated. You do not need to specify this parameter.
88
+ * Deprecated. No input is required.
89
89
  *
90
90
  * @example
91
91
  * 123
@@ -93,7 +93,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
93
93
  dataSourceId?: string;
94
94
  /**
95
95
  * @remarks
96
- * The data source type. Valid values: `[remote_data_center, database]`, indicating that the analysis is performed on a file or a database.
96
+ * The data source type. Valid values: `[remote_data_center, database]`, indicating whether the analysis is for a file or a database.
97
97
  *
98
98
  * @example
99
99
  * remote_data_center
@@ -101,7 +101,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
101
101
  dataSourceType?: string;
102
102
  /**
103
103
  * @remarks
104
- * Deprecated. You do not need to specify this parameter.
104
+ * Deprecated. No input is required.
105
105
  *
106
106
  * @example
107
107
  * test_db
@@ -117,7 +117,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
117
117
  dbName?: string;
118
118
  /**
119
119
  * @remarks
120
- * The ID of the database in Data Management.
120
+ * The database ID in Data Management.
121
121
  *
122
122
  * @example
123
123
  * 23******
@@ -125,7 +125,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
125
125
  dmsDatabaseId?: string;
126
126
  /**
127
127
  * @remarks
128
- * The ID of the instance in Data Management.
128
+ * The instance ID in Data Management.
129
129
  *
130
130
  * @example
131
131
  * 12******
@@ -149,7 +149,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
149
149
  fileId?: string;
150
150
  /**
151
151
  * @remarks
152
- * Deprecated. You do not need to specify this parameter.
152
+ * Deprecated. No input is required.
153
153
  *
154
154
  * @example
155
155
  * localhost
@@ -157,7 +157,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
157
157
  location?: string;
158
158
  /**
159
159
  * @remarks
160
- * The permission constraints for querying the current data source. The permission constraint feature is available through a canary release. This parameter does not take effect for users who are not included in the canary release.
160
+ * The permission constraints for querying the current data source. The permission constraint feature is available through canary release. This field does not take effect for users who are not included in the canary release.
161
161
  */
162
162
  permission?: SendChatMessageRequestDataSourcePermission;
163
163
  /**
@@ -225,12 +225,12 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
225
225
  export class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
226
226
  /**
227
227
  * @remarks
228
- * The list of columns that are allowed to be queried in the current table. If this parameter is not specified, all columns can be queried. If this parameter is specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure the analysis effectiveness of DataAgent, avoid specifying columns that exceed the allowed scope in the prompts, knowledge, or instructions modules of DataAgent. Otherwise, SQL statements without the required permissions are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
228
+ * The list of columns allowed for querying in the current table. If left empty, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis effectiveness, avoid specifying columns beyond the allowed scope in DataAgent prompts, knowledge, or instructions. Otherwise, unauthorized SQL statements may be generated and blocked, reducing DataAgent analysis speed and effectiveness.
229
229
  */
230
230
  allowedColumns?: string[];
231
231
  /**
232
232
  * @remarks
233
- * The required row filter condition for the current table. If this parameter is not specified, it is ignored. If this parameter is specified, the query condition is appended to all SQL statements that involve this table. Verify the validity of the condition before specifying it.
233
+ * The required row filter condition for the current table. If left empty, this constraint is ignored. If specified, all SQL statements involving this table are validated to check whether they carry the filter field and whether the WHERE condition meets the constraint. SQL statements that do not meet the constraint are rejected. Ensure the validation condition format is correct.
234
234
  *
235
235
  * @example
236
236
  * region = \\"east\\"
@@ -238,7 +238,7 @@ export class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Mod
238
238
  requiredRowFilter?: string;
239
239
  /**
240
240
  * @remarks
241
- * The name of the table to which the permission constraint rule applies.
241
+ * The table name to which the permission constraint rule applies.
242
242
  *
243
243
  * @example
244
244
  * sample_table
@@ -305,7 +305,7 @@ export class SendChatMessageRequestDataSourcesPermission extends $dara.Model {
305
305
  export class SendChatMessageRequestDataSources extends $dara.Model {
306
306
  /**
307
307
  * @remarks
308
- * Deprecated. You do not need to specify this parameter.
308
+ * Deprecated. No input is required.
309
309
  *
310
310
  * @example
311
311
  * 123
@@ -313,7 +313,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
313
313
  dataSourceId?: string;
314
314
  /**
315
315
  * @remarks
316
- * The data source type. Valid values: remote_data_center and database, indicating that the analysis is performed on a file or a database.
316
+ * The data source type. Valid values: remote_data_center, database. These values indicate whether the analysis is for a file or a database.
317
317
  *
318
318
  * @example
319
319
  * remote_data_center
@@ -321,7 +321,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
321
321
  dataSourceType?: string;
322
322
  /**
323
323
  * @remarks
324
- * Deprecated. You do not need to specify this parameter.
324
+ * Deprecated. No input is required.
325
325
  *
326
326
  * @example
327
327
  * test_db
@@ -337,7 +337,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
337
337
  dbName?: string;
338
338
  /**
339
339
  * @remarks
340
- * The ID of the database in Data Management.
340
+ * The database ID in Data Management.
341
341
  *
342
342
  * @example
343
343
  * 123****
@@ -345,7 +345,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
345
345
  dmsDatabaseId?: string;
346
346
  /**
347
347
  * @remarks
348
- * The ID of the instance in Data Management.
348
+ * The instance ID in Data Management.
349
349
  *
350
350
  * @example
351
351
  * 248*****
@@ -369,7 +369,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
369
369
  fileId?: string;
370
370
  /**
371
371
  * @remarks
372
- * Deprecated. You do not need to specify this parameter.
372
+ * Deprecated. No input is required.
373
373
  *
374
374
  * @example
375
375
  * localhost
@@ -377,7 +377,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
377
377
  location?: string;
378
378
  /**
379
379
  * @remarks
380
- * The permission constraints for querying the current data source. The permission constraint feature is available through a canary release. This parameter does not take effect for users who are not included in the canary release.
380
+ * The permission constraints for querying the current data source. The permission constraint feature is available through canary release. This field does not take effect for users who are not included in the canary release.
381
381
  */
382
382
  permission?: SendChatMessageRequestDataSourcesPermission;
383
383
  /**
@@ -477,7 +477,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
477
477
  kbUuidList?: string;
478
478
  /**
479
479
  * @remarks
480
- * Only Chinese and English are supported. Default value: Chinese. Only uppercase values are supported.
480
+ * Currently only Chinese and English are supported. The default is Chinese. Only uppercase is supported.
481
481
  *
482
482
  * @example
483
483
  * ENGLISH
@@ -493,7 +493,10 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
493
493
  mcpServerIds?: string;
494
494
  /**
495
495
  * @remarks
496
- * The mode:
496
+ * The mode. Valid values:
497
+ * - **ASK_DATA**: data query mode.
498
+ * - **ANALYSIS**: analysis mode.
499
+ * - **INSIGHT**: insight mode.
497
500
  *
498
501
  * @example
499
502
  * ANALYSIS
@@ -501,7 +504,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
501
504
  mode?: string;
502
505
  /**
503
506
  * @remarks
504
- * Specifies whether to enable the plan. Valid values: disable, enable, and force. Default value: enable.
507
+ * Specifies whether to enable the plan. Valid values: disable, enable, force. Default value: enable.
505
508
  *
506
509
  * @example
507
510
  * disable
@@ -509,10 +512,10 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
509
512
  planMode?: string;
510
513
  /**
511
514
  * @remarks
512
- * The text of up to 64 characters that is used as a watermark in the generated PDF report.
515
+ * Text of up to 64 characters that is used as a watermark in the generated PDF report.
513
516
  *
514
517
  * @example
515
- * SampleWatermark.
518
+ * SampleWatermark
516
519
  */
517
520
  reportWaterMark?: string;
518
521
  /**
@@ -541,12 +544,13 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
541
544
  skipSqlConfirm?: boolean;
542
545
  /**
543
546
  * @remarks
544
- * Specifies whether to skip the web report rendering confirmation.
547
+ * Specifies whether to skip the web report generation confirmation.
545
548
  *
546
549
  * @example
547
550
  * True
548
551
  */
549
552
  skipWebReportConfirm?: boolean;
553
+ userSpecifiedSkillList?: string[];
550
554
  static names(): { [key: string]: string } {
551
555
  return {
552
556
  customAgentId: 'CustomAgentId',
@@ -562,6 +566,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
562
566
  skipPlan: 'SkipPlan',
563
567
  skipSqlConfirm: 'SkipSqlConfirm',
564
568
  skipWebReportConfirm: 'SkipWebReportConfirm',
569
+ userSpecifiedSkillList: 'UserSpecifiedSkillList',
565
570
  };
566
571
  }
567
572
 
@@ -580,10 +585,14 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
580
585
  skipPlan: 'boolean',
581
586
  skipSqlConfirm: 'boolean',
582
587
  skipWebReportConfirm: 'boolean',
588
+ userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
583
589
  };
584
590
  }
585
591
 
586
592
  validate() {
593
+ if(Array.isArray(this.userSpecifiedSkillList)) {
594
+ $dara.Model.validateArray(this.userSpecifiedSkillList);
595
+ }
587
596
  super.validate();
588
597
  }
589
598
 
@@ -603,7 +612,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
603
612
  reportPrompt?: string;
604
613
  /**
605
614
  * @remarks
606
- * The report theme. Valid values: default, journal, legacy, and neobrutalism.
615
+ * The report theme. Valid values: default, journal, legacy, neobrutalism.
607
616
  *
608
617
  * @example
609
618
  * default
@@ -611,7 +620,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
611
620
  reportTheme?: string;
612
621
  /**
613
622
  * @remarks
614
- * The service type. Valid values: TextReport and WebReport, indicating that the task generates a text report or a web report. Only WebReport is currently supported.
623
+ * The service type. Valid values: TextReport, WebReport. These values indicate whether the task generates a text report or a web report. Currently only WebReport is supported.
615
624
  *
616
625
  * @example
617
626
  * WebReport
@@ -675,7 +684,7 @@ export class SendChatMessageRequestTaskConfig extends $dara.Model {
675
684
  export class SendChatMessageRequest extends $dara.Model {
676
685
  /**
677
686
  * @remarks
678
- * The agent ID. This parameter is required. You can obtain the current AgentId from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentId you need to specify may change with each request.
687
+ * The agent ID. This is a required field. You can obtain the current AgentID from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentID you need to specify may change with each request.
679
688
  *
680
689
  * @example
681
690
  * agent_***
@@ -683,7 +692,7 @@ export class SendChatMessageRequest extends $dara.Model {
683
692
  agentId?: string;
684
693
  /**
685
694
  * @remarks
686
- * The Data Management unit you are currently in. If you select an analytics database, this information is used to correctly connect to your Data Management instance through Data Management. You can go to the DAS console to view your current Data Management unit. If you are a user of Alibaba Cloud China Website (www.aliyun.com), set this parameter to cn-hangzhou.
695
+ * The Data Management unit you are currently in. If you choose to analyze a database, this information is used to correctly connect to your Data Management instance. Go to the DAS console to view your current Data Management unit. If you are a user of the Alibaba Cloud China Website (www.aliyun.com), enter cn-hangzhou.
687
696
  *
688
697
  * @example
689
698
  * cn-hangzhou
@@ -704,7 +713,7 @@ export class SendChatMessageRequest extends $dara.Model {
704
713
  dataSources?: SendChatMessageRequestDataSources[];
705
714
  /**
706
715
  * @remarks
707
- * The message content to send to the agent.
716
+ * The message content to send to the Agent.
708
717
  *
709
718
  * This parameter is required.
710
719
  *
@@ -714,7 +723,15 @@ export class SendChatMessageRequest extends $dara.Model {
714
723
  message?: string;
715
724
  /**
716
725
  * @remarks
717
- * The message type. Default value: `[primary]`.
726
+ * The message type. Default value: `[primary]`.
727
+ *
728
+ * - For regular interactions with the Agent, the message type is `[primary]`.
729
+ *
730
+ * - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
731
+ *
732
+ * - When the message is to trigger a report generation, the type should be `[report]`.
733
+ *
734
+ * - When the message is to cancel the current session, the type should be `[cancel]`.
718
735
  *
719
736
  * @example
720
737
  * primary
@@ -730,15 +747,15 @@ export class SendChatMessageRequest extends $dara.Model {
730
747
  parentSessionId?: string;
731
748
  /**
732
749
  * @remarks
733
- * The specific question that the agent asks the user through Human-in-Loop. This parameter is required when the message type is `additional`.
750
+ * A required field when the message type is `additional`. Specifies the specific question that the Agent asks the user through Human-in-Loop.
734
751
  *
735
752
  * @example
736
- * Please provide the criteria for calculating GMV.
753
+ * Please provide the criteria for calculating GMV
737
754
  */
738
755
  question?: string;
739
756
  /**
740
757
  * @remarks
741
- * The quoted content. This parameter is typically used when interacting with the agent.
758
+ * The quoted content, typically used during interactions with the Agent.
742
759
  *
743
760
  * @example
744
761
  * {"version":"v0"}
@@ -748,13 +765,17 @@ export class SendChatMessageRequest extends $dara.Model {
748
765
  * @remarks
749
766
  * **Important**
750
767
  *
768
+ * When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), reply_to should be set to the exact Checkpoint sequence number carried by that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after analysis is complete, reply_to can be left empty or set to "0".
769
+ *
770
+ * This field affects how the Agent decides to process the message. Passing an incorrect value may result in analysis results that do not meet expectations.
771
+ *
751
772
  * @example
752
773
  * 0
753
774
  */
754
775
  replyTo?: string;
755
776
  /**
756
777
  * @remarks
757
- * The special configuration for the current session. For the same session, only the configuration specified in the first SendMessage call takes effect.
778
+ * The special configuration for this session. For the same session, only the configuration passed with the first SendMessage call takes effect.
758
779
  *
759
780
  * **if can be null:**
760
781
  * true
@@ -762,7 +783,7 @@ export class SendChatMessageRequest extends $dara.Model {
762
783
  sessionConfig?: SendChatMessageRequestSessionConfig;
763
784
  /**
764
785
  * @remarks
765
- * The session ID. This parameter is required. You can obtain the SessionId by calling the CreateAgentSession operation.
786
+ * The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
766
787
  *
767
788
  * @example
768
789
  * sess_***
@@ -775,7 +796,7 @@ export class SendChatMessageRequest extends $dara.Model {
775
796
  taskConfig?: SendChatMessageRequestTaskConfig;
776
797
  /**
777
798
  * @remarks
778
- * The OSS bucket of the user. If this parameter is not specified, the analysis data is securely stored in the built-in storage.
799
+ * The user\\"s OSS bucket. If left empty, analysis data is securely stored in the built-in storage.
779
800
  *
780
801
  * @example
781
802
  * my-bucket
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatMessageShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The agent ID. This parameter is required. You can obtain the current AgentId from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentId you need to specify may change with each request.
8
+ * The agent ID. This is a required field. You can obtain the current AgentID from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentID you need to specify may change with each request.
9
9
  *
10
10
  * @example
11
11
  * agent_***
@@ -13,7 +13,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
13
13
  agentId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The Data Management unit you are currently in. If you select an analytics database, this information is used to correctly connect to your Data Management instance through Data Management. You can go to the DAS console to view your current Data Management unit. If you are a user of Alibaba Cloud China Website (www.aliyun.com), set this parameter to cn-hangzhou.
16
+ * The Data Management unit you are currently in. If you choose to analyze a database, this information is used to correctly connect to your Data Management instance. Go to the DAS console to view your current Data Management unit. If you are a user of the Alibaba Cloud China Website (www.aliyun.com), enter cn-hangzhou.
17
17
  *
18
18
  * @example
19
19
  * cn-hangzhou
@@ -34,7 +34,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
34
34
  dataSourcesShrink?: string;
35
35
  /**
36
36
  * @remarks
37
- * The message content to send to the agent.
37
+ * The message content to send to the Agent.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -44,7 +44,15 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
44
44
  message?: string;
45
45
  /**
46
46
  * @remarks
47
- * The message type. Default value: `[primary]`.
47
+ * The message type. Default value: `[primary]`.
48
+ *
49
+ * - For regular interactions with the Agent, the message type is `[primary]`.
50
+ *
51
+ * - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
52
+ *
53
+ * - When the message is to trigger a report generation, the type should be `[report]`.
54
+ *
55
+ * - When the message is to cancel the current session, the type should be `[cancel]`.
48
56
  *
49
57
  * @example
50
58
  * primary
@@ -60,15 +68,15 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
60
68
  parentSessionId?: string;
61
69
  /**
62
70
  * @remarks
63
- * The specific question that the agent asks the user through Human-in-Loop. This parameter is required when the message type is `additional`.
71
+ * A required field when the message type is `additional`. Specifies the specific question that the Agent asks the user through Human-in-Loop.
64
72
  *
65
73
  * @example
66
- * Please provide the criteria for calculating GMV.
74
+ * Please provide the criteria for calculating GMV
67
75
  */
68
76
  question?: string;
69
77
  /**
70
78
  * @remarks
71
- * The quoted content. This parameter is typically used when interacting with the agent.
79
+ * The quoted content, typically used during interactions with the Agent.
72
80
  *
73
81
  * @example
74
82
  * {"version":"v0"}
@@ -78,13 +86,17 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
78
86
  * @remarks
79
87
  * **Important**
80
88
  *
89
+ * When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), reply_to should be set to the exact Checkpoint sequence number carried by that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after analysis is complete, reply_to can be left empty or set to "0".
90
+ *
91
+ * This field affects how the Agent decides to process the message. Passing an incorrect value may result in analysis results that do not meet expectations.
92
+ *
81
93
  * @example
82
94
  * 0
83
95
  */
84
96
  replyTo?: string;
85
97
  /**
86
98
  * @remarks
87
- * The special configuration for the current session. For the same session, only the configuration specified in the first SendMessage call takes effect.
99
+ * The special configuration for this session. For the same session, only the configuration passed with the first SendMessage call takes effect.
88
100
  *
89
101
  * **if can be null:**
90
102
  * true
@@ -92,7 +104,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
92
104
  sessionConfigShrink?: string;
93
105
  /**
94
106
  * @remarks
95
- * The session ID. This parameter is required. You can obtain the SessionId by calling the CreateAgentSession operation.
107
+ * The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
96
108
  *
97
109
  * @example
98
110
  * sess_***
@@ -105,7 +117,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
105
117
  taskConfigShrink?: string;
106
118
  /**
107
119
  * @remarks
108
- * The OSS bucket of the user. If this parameter is not specified, the analysis data is securely stored in the built-in storage.
120
+ * The user\\"s OSS bucket. If left empty, analysis data is securely stored in the built-in storage.
109
121
  *
110
122
  * @example
111
123
  * my-bucket
@@ -1,5 +1,6 @@
1
1
  export { AgenticDmsInstanceSyncTaskInstanceDmsInstanceSummary } from './AgenticDmsInstanceSyncTaskInstance';
2
2
  export { OpenClawInstanceVOImageInfo } from './OpenClawInstanceVo';
3
+ export { AddDataAgentMemoryResponseBodyData } from './AddDataAgentMemoryResponseBody';
3
4
  export { AddUserToDataAgentWorkspaceResponseBodyData } from './AddUserToDataAgentWorkspaceResponseBody';
4
5
  export { CheckDataAgentMemoryConfigResponseBodyData } from './CheckDataAgentMemoryConfigResponseBody';
5
6
  export { ConfigAirflowResponseBodyRoot } from './ConfigAirflowResponseBody';
@@ -179,6 +180,9 @@ export { OpenClawInstanceVO } from './OpenClawInstanceVo';
179
180
  export { OssieModelView } from './OssieModelView';
180
181
  export { PartitionError } from './PartitionError';
181
182
  export { TrialOrderEligibilityVO } from './TrialOrderEligibilityVo';
183
+ export { AddDataAgentMemoryRequest } from './AddDataAgentMemoryRequest';
184
+ export { AddDataAgentMemoryResponseBody } from './AddDataAgentMemoryResponseBody';
185
+ export { AddDataAgentMemoryResponse } from './AddDataAgentMemoryResponse';
182
186
  export { AddUserToDataAgentWorkspaceRequest } from './AddUserToDataAgentWorkspaceRequest';
183
187
  export { AddUserToDataAgentWorkspaceResponseBody } from './AddUserToDataAgentWorkspaceResponseBody';
184
188
  export { AddUserToDataAgentWorkspaceResponse } from './AddUserToDataAgentWorkspaceResponse';