@alicloud/dms20250414 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -1924,10 +1924,10 @@ export default class Client extends OpenApi {
1924
1924
  *
1925
1925
  * @remarks
1926
1926
  * ## Request description
1927
- * - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
1928
- * - The reply_to field specifies the agent message to which this message responds. The default value is 0.
1929
- * - When message_type is set to additional, the question field is required.
1930
- * - You can use quoted_message to quote previous user messages.
1927
+ * - The default value of `message_type` is `primary`. Set it to `additional` or `cancel` when you need to append information or cancel the session.
1928
+ * - The `reply_to` field specifies the agent message to which this message responds. The default value is `0`.
1929
+ * - The `question` field is required when `message_type` is set to `additional`.
1930
+ * - You can use `quoted_message` to quote previous user messages.
1931
1931
  *
1932
1932
  * @param tmpReq - SendChatMessageRequest
1933
1933
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1939,10 +1939,10 @@ export default class Client extends OpenApi {
1939
1939
  *
1940
1940
  * @remarks
1941
1941
  * ## Request description
1942
- * - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
1943
- * - The reply_to field specifies the agent message to which this message responds. The default value is 0.
1944
- * - When message_type is set to additional, the question field is required.
1945
- * - You can use quoted_message to quote previous user messages.
1942
+ * - The default value of `message_type` is `primary`. Set it to `additional` or `cancel` when you need to append information or cancel the session.
1943
+ * - The `reply_to` field specifies the agent message to which this message responds. The default value is `0`.
1944
+ * - The `question` field is required when `message_type` is set to `additional`.
1945
+ * - You can use `quoted_message` to quote previous user messages.
1946
1946
  *
1947
1947
  * @param request - SendChatMessageRequest
1948
1948
  * @returns SendChatMessageResponse
package/dist/client.js CHANGED
@@ -6313,10 +6313,10 @@ class Client extends openapi_core_1.default {
6313
6313
  *
6314
6314
  * @remarks
6315
6315
  * ## Request description
6316
- * - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
6317
- * - The reply_to field specifies the agent message to which this message responds. The default value is 0.
6318
- * - When message_type is set to additional, the question field is required.
6319
- * - You can use quoted_message to quote previous user messages.
6316
+ * - The default value of `message_type` is `primary`. Set it to `additional` or `cancel` when you need to append information or cancel the session.
6317
+ * - The `reply_to` field specifies the agent message to which this message responds. The default value is `0`.
6318
+ * - The `question` field is required when `message_type` is set to `additional`.
6319
+ * - You can use `quoted_message` to quote previous user messages.
6320
6320
  *
6321
6321
  * @param tmpReq - SendChatMessageRequest
6322
6322
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6405,10 +6405,10 @@ class Client extends openapi_core_1.default {
6405
6405
  *
6406
6406
  * @remarks
6407
6407
  * ## Request description
6408
- * - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
6409
- * - The reply_to field specifies the agent message to which this message responds. The default value is 0.
6410
- * - When message_type is set to additional, the question field is required.
6411
- * - You can use quoted_message to quote previous user messages.
6408
+ * - The default value of `message_type` is `primary`. Set it to `additional` or `cancel` when you need to append information or cancel the session.
6409
+ * - The `reply_to` field specifies the agent message to which this message responds. The default value is `0`.
6410
+ * - The `question` field is required when `message_type` is set to `additional`.
6411
+ * - You can use `quoted_message` to quote previous user messages.
6412
6412
  *
6413
6413
  * @param request - SendChatMessageRequest
6414
6414
  * @returns SendChatMessageResponse
@@ -51,7 +51,7 @@ export declare class DescribeDataAgentSkillDownloadResponseBody extends $dara.Mo
51
51
  data?: DescribeDataAgentSkillDownloadResponseBodyData;
52
52
  /**
53
53
  * @remarks
54
- * The error code. This parameter is returned when a request exception occurs.
54
+ * The error code returned when a request exception occurs.
55
55
  *
56
56
  * @example
57
57
  * InvalidTid
@@ -2,21 +2,21 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of fields that are allowed to be queried in the current table. If you do not specify this parameter, all fields can be queried. If you specify this parameter, SQL statements that query fields outside the allowed range, such as the `SELECT *` syntax, will be blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance of DataAgent.
5
+ * 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, such as `SELECT *`, will be blocked. To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
6
6
  */
7
7
  allowedColumns?: string[];
8
8
  /**
9
9
  * @remarks
10
- * The list of fields that are prohibited from being queried in the current table. If you do not specify this parameter, all fields **can be queried**. If you specify this parameter, SQL statements that query fields outside the allowed range, such as the `SELECT *` syntax, will be blocked.
10
+ * The list of columns prohibited from querying in the current table. If left empty, all columns **can be queried**. If specified, SQL statements that exceed the allowed scope, such as `SELECT *`, will be blocked.
11
11
  *
12
- * If both the prohibited list and the allowed list are configured, the prohibited list takes precedence. For example, if Table 1 has columns A, B, C, and D, and you configure columns A and B as non-queryable while configuring columns B and C as queryable, only column C is ultimately queryable.
12
+ * If both the prohibited list and the allowed list are configured, the prohibited list takes higher priority. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
13
13
  *
14
- * To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance of DataAgent.
14
+ * To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
15
15
  */
16
16
  disallowedColumns?: string[];
17
17
  /**
18
18
  * @remarks
19
- * The row filter condition that must be included for the current table. If you do not specify this parameter, it is ignored. If you specify this parameter, the system checks whether all SQL statements involving this table include the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints will be rejected. Pay attention to the format of the validation condition.
19
+ * The required row filter condition for the current table. If left empty, this field is ignored. If specified, the system checks whether all SQL statements involving this table include the filter column and whether the WHERE clause meets the constraints. SQL statements that do not meet the constraints will be rejected. Ensure the correct format of the validation condition.
20
20
  *
21
21
  * @example
22
22
  * region = \\"east\\"
@@ -61,7 +61,7 @@ export declare class SendChatMessageRequestDataSourcePermission extends $dara.Mo
61
61
  export declare class SendChatMessageRequestDataSource extends $dara.Model {
62
62
  /**
63
63
  * @remarks
64
- * **[Deprecated]** You do not need to specify this field.
64
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
65
65
  *
66
66
  * @example
67
67
  * 123
@@ -69,7 +69,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
69
69
  dataSourceId?: string;
70
70
  /**
71
71
  * @remarks
72
- * The data source type. Valid values: remote_data_center and database, which indicate that the analysis target is a file or a database, respectively.
72
+ * The data source type. Valid values: `[remote_data_center, database]`, which indicate that the current analysis is based on a file or a database, respectively.
73
73
  *
74
74
  * @example
75
75
  * remote_data_center
@@ -77,7 +77,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
77
77
  dataSourceType?: string;
78
78
  /**
79
79
  * @remarks
80
- * **[Deprecated]** You do not need to specify this field.
80
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
81
81
  *
82
82
  * @example
83
83
  * test_db
@@ -109,7 +109,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
109
109
  dmsInstanceId?: string;
110
110
  /**
111
111
  * @remarks
112
- * The type of the database.
112
+ * The database engine type.
113
113
  *
114
114
  * @example
115
115
  * mysql
@@ -125,7 +125,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
125
125
  fileId?: string;
126
126
  /**
127
127
  * @remarks
128
- * **[Deprecated]** You do not need to specify this field.
128
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
129
129
  *
130
130
  * @example
131
131
  * localhost
@@ -151,7 +151,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
151
151
  tables?: string[];
152
152
  /**
153
153
  * @remarks
154
- * The data source resource identifier.
154
+ * The Uniform Resource Identifier (URI) of the data source.
155
155
  *
156
156
  * @example
157
157
  * datalake://abc/def
@@ -171,21 +171,21 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
171
171
  export declare class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
172
172
  /**
173
173
  * @remarks
174
- * The list of columns that are allowed to be queried in the current table. If you do not specify this parameter, all columns can be queried. If you specify this parameter, SQL statements that query columns beyond the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions of DataAgent do not include columns beyond the allowed scope. Otherwise, unauthorized SQL statements are generated and blocked, which reduces the analysis speed and performance of DataAgent.
174
+ * The list of columns that are allowed to be queried in the current table. If this parameter is left empty, all columns can be queried. If this parameter is specified, SQL statements that query columns beyond the allowed scope are blocked. For example, syntax similar to SELECT * is blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions of DataAgent do not include columns beyond the allowed scope. Otherwise, unauthorized SQL statements are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
175
175
  */
176
176
  allowedColumns?: string[];
177
177
  /**
178
178
  * @remarks
179
- * The list of fields that are prohibited from being queried in the current table. If you do not specify this parameter, all fields **can be queried**. If you specify this parameter, SQL statements that query fields outside the allowed range, such as the `SELECT *` syntax, will be blocked.
179
+ * The list of columns prohibited from querying in the current table. If left empty, all columns **can be queried**. If specified, SQL statements that exceed the allowed scope, such as `SELECT *`, will be blocked.
180
180
  *
181
- * If both the prohibited list and the allowed list are configured, the prohibited list takes precedence. For example, if Table 1 has columns A, B, C, and D, and you configure columns A and B as non-queryable while configuring columns B and C as queryable, only column C is ultimately queryable.
181
+ * If both the prohibited list and the allowed list are configured, the prohibited list takes higher priority. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
182
182
  *
183
- * To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance of DataAgent.
183
+ * To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
184
184
  */
185
185
  disallowedColumns?: string[];
186
186
  /**
187
187
  * @remarks
188
- * The row filter condition that must be included for the current table. If you do not specify this parameter, it is ignored. If you specify this parameter, the system checks whether all SQL statements involving this table include the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints will be rejected. Pay attention to the format of the validation condition.
188
+ * The required row filter condition for the current table. If left empty, this field is ignored. If specified, the system checks whether all SQL statements involving this table include the filter column and whether the WHERE clause meets the constraints. SQL statements that do not meet the constraints will be rejected. Ensure the correct format of the validation condition.
189
189
  *
190
190
  * @example
191
191
  * region = \\"east\\"
@@ -230,7 +230,7 @@ export declare class SendChatMessageRequestDataSourcesPermission extends $dara.M
230
230
  export declare class SendChatMessageRequestDataSources extends $dara.Model {
231
231
  /**
232
232
  * @remarks
233
- * **[Deprecated]** You do not need to specify this field.
233
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
234
234
  *
235
235
  * @example
236
236
  * 123
@@ -248,7 +248,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
248
248
  dataSourceType?: string;
249
249
  /**
250
250
  * @remarks
251
- * **[Deprecated]** You do not need to specify this field.
251
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
252
252
  *
253
253
  * @example
254
254
  * test_db
@@ -280,7 +280,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
280
280
  dmsInstanceId?: string;
281
281
  /**
282
282
  * @remarks
283
- * The type of the database.
283
+ * The database engine type.
284
284
  *
285
285
  * @example
286
286
  * mysql
@@ -296,7 +296,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
296
296
  fileId?: string;
297
297
  /**
298
298
  * @remarks
299
- * **[Deprecated]** You do not need to specify this field.
299
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
300
300
  *
301
301
  * @example
302
302
  * localhost
@@ -322,7 +322,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
322
322
  tables?: string[];
323
323
  /**
324
324
  * @remarks
325
- * The data source resource identifier.
325
+ * The Uniform Resource Identifier (URI) of the data source.
326
326
  *
327
327
  * @example
328
328
  * datalake://abc/def
@@ -343,8 +343,10 @@ export declare class SendChatMessageRequestSessionConfigPermissionConfig extends
343
343
  /**
344
344
  * @remarks
345
345
  * The default behavior for table-level permissions. This parameter controls whether tables not configured in DataSources.[item].Permission can be queried. Valid values:
346
- * - allow: Works in blacklist mode. This is the default value. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Only when you configure **row- and column-level** permissions in DataSources.[item].Permission will row- and column-level permissions be enforced.
347
- * - deny: Works in whitelist mode. You must manually specify this value. By default, no tables can be queried. A table can be queried only when you configure permissions for it in DataSources.[item].Permission. You can grant full access to a table by not configuring any row- or column-level restrictions.
346
+ *
347
+ * - allow: Default value. Works in blacklist mode. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Row-level and column-level permissions are enforced only when you configure **row-level and column-level** permissions in DataSources.[item].Permission.
348
+ *
349
+ * - deny: Works in whitelist mode. You must manually pass this value. By default, no tables can be queried. A table can be queried only when you configure permissions for it in DataSources.[item].Permission. You can grant full access to a table by not configuring any row-level or column-level restrictions.
348
350
  *
349
351
  * @example
350
352
  * allow
@@ -364,7 +366,7 @@ export declare class SendChatMessageRequestSessionConfigPermissionConfig extends
364
366
  export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
365
367
  /**
366
368
  * @remarks
367
- * The custom agent ID. A custom agent is an entity used to customize the analysis process. You can create it in the DataAgent console or by calling the CreateCustomAgent operation. A custom agent ID must be a string starting with ca-.
369
+ * The custom agent ID. A custom agent is an entity used to customize the analysis process. You can create it in the DataAgent console or by calling the CreateCustomAgent operation. A custom agent ID must be a string starting with `ca-`.
368
370
  *
369
371
  * @example
370
372
  * ca-asfkjhqwe***aesrfqa
@@ -396,7 +398,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
396
398
  kbUuidList?: string[];
397
399
  /**
398
400
  * @remarks
399
- * The language. Only Chinese and English are supported. The default value is Chinese. Only uppercase letters are supported.
401
+ * The language. Only uppercase values are supported. Currently, only Chinese and English are supported. Default value: Chinese.
400
402
  *
401
403
  * @example
402
404
  * ENGLISH
@@ -413,9 +415,9 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
413
415
  /**
414
416
  * @remarks
415
417
  * The mode. Valid values:
416
- * - **ASK_DATA**: Data query mode.
417
- * - **ANALYSIS**: Analysis mode.
418
- * - **INSIGHT**: Insight mode.
418
+ * - **ASK_DATA**: Data query mode.
419
+ * - **ANALYSIS**: Analysis mode.
420
+ * - **INSIGHT**: Insight mode.
419
421
  *
420
422
  * @example
421
423
  * ANALYSIS
@@ -423,12 +425,12 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
423
425
  mode?: string;
424
426
  /**
425
427
  * @remarks
426
- * The data permission settings at the session level. If configured multiple times in multi-turn conversations within the same session, the last configuration prevails.
428
+ * The session level data permission settings. If configured multiple times in multi-turn conversations within the same session, the last configuration prevails.
427
429
  */
428
430
  permissionConfig?: SendChatMessageRequestSessionConfigPermissionConfig;
429
431
  /**
430
432
  * @remarks
431
- * Specifies whether to enable the plan feature. Valid values: disable, enable, and force. Default value: enable.
433
+ * Specifies whether to enable the plan feature. Valid values: `[disable, enable, force]`. Default value: `enable`.
432
434
  *
433
435
  * @example
434
436
  * disable
@@ -436,7 +438,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
436
438
  planMode?: string;
437
439
  /**
438
440
  * @remarks
439
- * The text to be added as a watermark to the generated PDF report. The text can be up to 64 characters in length.
441
+ * The text used to add a watermark to the generated PDF report. The text can be up to 64 characters in length.
440
442
  *
441
443
  * @example
442
444
  * sample-watermark
@@ -487,6 +489,14 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
487
489
  * default
488
490
  */
489
491
  webReportTheme?: string;
492
+ /**
493
+ * @remarks
494
+ * 交互模式,可选值 analysis(数据分析,默认)/ chat(聊天)
495
+ *
496
+ * @example
497
+ * ANALYSIS
498
+ */
499
+ workMode?: string;
490
500
  static names(): {
491
501
  [key: string]: string;
492
502
  };
@@ -501,7 +511,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
501
511
  export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
502
512
  /**
503
513
  * @remarks
504
- * The prompt that the current report must follow.
514
+ * The prompt that must be followed for the current report.
505
515
  *
506
516
  * @example
507
517
  * generate a report
@@ -509,7 +519,8 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
509
519
  reportPrompt?: string;
510
520
  /**
511
521
  * @remarks
512
- * The report theme. System themes include default, journal, legacy, and neobrutalism, which are globally available theme IDs. You can call the ListDataAgentTheme operation to obtain other available theme IDs.
522
+ * The report theme.
523
+ * The system themes include default, journal, legacy, and neobrutalism, which are globally available theme IDs. You can call the ListDataAgentTheme operation to obtain the IDs of other available themes.
513
524
  *
514
525
  * @example
515
526
  * default
@@ -518,8 +529,8 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
518
529
  /**
519
530
  * @remarks
520
531
  * The service type. Valid values:
521
- * - TextReport: The task generates a text report.
522
- * - WebReport: The task generates a web report.
532
+ * - TextReport: A text report is generated for the current task.
533
+ * - WebReport: A web report is generated for the current task.
523
534
  * Currently, only WebReport is supported.
524
535
  *
525
536
  * @example
@@ -573,7 +584,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
573
584
  DMSUnit?: string;
574
585
  /**
575
586
  * @remarks
576
- * The data source information. This parameter can be left empty. You can specify only one data source for this parameter. We recommend that you use the DataSources parameter instead.
587
+ * The data source information. This parameter can be left empty. You can pass only one data source in this parameter. We recommend that you use the DataSources parameter instead.
577
588
  *
578
589
  * @example
579
590
  * null
@@ -586,7 +597,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
586
597
  dataSources?: SendChatMessageRequestDataSources[];
587
598
  /**
588
599
  * @remarks
589
- * The content of the message sent to the agent.
600
+ * The content of the message sent to the agent in the current request.
590
601
  *
591
602
  * This parameter is required.
592
603
  *
@@ -596,12 +607,15 @@ export declare class SendChatMessageRequest extends $dara.Model {
596
607
  message?: string;
597
608
  /**
598
609
  * @remarks
599
- * The message type. Default value: primary.
610
+ * The message type. Default value: `[primary]`.
611
+ *
612
+ * - For regular interactions with the agent, set the message type to `[primary]`.
613
+ *
614
+ * - If the message responds to a human-in-the-loop question from the agent, set the type to `[additional]`.
615
+ *
616
+ * - If the message triggers report generation, set the type to `[report]`.
600
617
  *
601
- * - In normal interactions with the agent, the message type is primary.
602
- * - When the message is a response to a human-in-the-loop question from the agent, the type must be additional.
603
- * - When the message is intended to trigger report generation, the type must be report.
604
- * - When the message is intended to cancel the current session, the type must be cancel.
618
+ * - If the message cancels the current session, set the type to `[cancel]`.
605
619
  *
606
620
  * @example
607
621
  * primary
@@ -617,7 +631,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
617
631
  parentSessionId?: string;
618
632
  /**
619
633
  * @remarks
620
- * Required when the message type is additional. Specifies the specific question asked by the agent to the user through human-in-the-loop.
634
+ * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is `additional`.
621
635
  *
622
636
  * @example
623
637
  * Provide the calculation criteria for GMV
@@ -625,7 +639,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
625
639
  question?: string;
626
640
  /**
627
641
  * @remarks
628
- * The current quoted content. This is typically used during interactions with the agent.
642
+ * The quoted content passed in the current request. This is typically used during interactions with the agent.
629
643
  *
630
644
  * @example
631
645
  * {"version":"v0"}
@@ -635,7 +649,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
635
649
  * @remarks
636
650
  * **Important**
637
651
  *
638
- * When this message is a reply to an agent message (such as the agent asking for clarification through ASK_HUMAN), reply_to must exactly match the 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 the initial analysis is complete, you can leave reply_to empty or set it to 0.
652
+ * If this message replies to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in that agent message to `reply_to`. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the initial analysis is complete, you can leave `reply_to` empty or set it to "0".
639
653
  *
640
654
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
641
655
  *
@@ -645,7 +659,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
645
659
  replyTo?: string;
646
660
  /**
647
661
  * @remarks
648
- * The special configurations for the current session. For the same session, only the configurations passed during the first SendMessage call take effect.
662
+ * The special configurations for the current session. For the same session, only the configurations passed in the first SendMessage request take effect.
649
663
  *
650
664
  * **if can be null:**
651
665
  * true
@@ -654,9 +668,9 @@ export declare class SendChatMessageRequest extends $dara.Model {
654
668
  /**
655
669
  * @remarks
656
670
  * The session ID. This is an optional field used for multi-turn sessions.
657
- * - You can start a session without specifying this field, and the response will include the SessionID for the current session.
671
+ * - You can start a session without specifying this field. The response will include the session ID for the current session.
658
672
  * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
659
- * - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage operation in this API call.
673
+ * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this request.
660
674
  *
661
675
  * @example
662
676
  * sess_***
@@ -669,7 +683,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
669
683
  taskConfig?: SendChatMessageRequestTaskConfig;
670
684
  /**
671
685
  * @remarks
672
- * The Object Storage Service (OSS) bucket of the user. If you do not specify this parameter, the analysis process is securely stored in the built-in storage.
686
+ * The Object Storage Service (OSS) bucket of the user. If this parameter is left empty, the analysis process is securely stored in the built-in storage.
673
687
  *
674
688
  * @example
675
689
  * my-bucket
@@ -278,6 +278,7 @@ class SendChatMessageRequestSessionConfig extends $dara.Model {
278
278
  skipWebReportConfirm: 'SkipWebReportConfirm',
279
279
  userSpecifiedSkillList: 'UserSpecifiedSkillList',
280
280
  webReportTheme: 'WebReportTheme',
281
+ workMode: 'WorkMode',
281
282
  };
282
283
  }
283
284
  static types() {
@@ -298,6 +299,7 @@ class SendChatMessageRequestSessionConfig extends $dara.Model {
298
299
  skipWebReportConfirm: 'boolean',
299
300
  userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
300
301
  webReportTheme: 'string',
302
+ workMode: 'string',
301
303
  };
302
304
  }
303
305
  validate() {
@@ -1 +1 @@
1
- {"version":3,"file":"SendChatMessageRequest.js","sourceRoot":"","sources":["../../src/models/SendChatMessageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IA+B/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,iBAAiB,EAAE,mBAAmB;YACtC,iBAAiB,EAAE,mBAAmB;YACtC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACzD,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,iBAAiB,EAAE,QAAQ;YAC3B,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAA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A4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/LD,wDA+LC"}
@@ -18,7 +18,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
18
18
  DMSUnit?: string;
19
19
  /**
20
20
  * @remarks
21
- * The data source information. This parameter can be left empty. You can specify only one data source for this parameter. We recommend that you use the DataSources parameter instead.
21
+ * The data source information. This parameter can be left empty. You can pass only one data source in this parameter. We recommend that you use the DataSources parameter instead.
22
22
  *
23
23
  * @example
24
24
  * null
@@ -31,7 +31,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
31
31
  dataSourcesShrink?: string;
32
32
  /**
33
33
  * @remarks
34
- * The content of the message sent to the agent.
34
+ * The content of the message sent to the agent in the current request.
35
35
  *
36
36
  * This parameter is required.
37
37
  *
@@ -41,12 +41,15 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
41
41
  message?: string;
42
42
  /**
43
43
  * @remarks
44
- * The message type. Default value: primary.
44
+ * The message type. Default value: `[primary]`.
45
45
  *
46
- * - In normal interactions with the agent, the message type is primary.
47
- * - When the message is a response to a human-in-the-loop question from the agent, the type must be additional.
48
- * - When the message is intended to trigger report generation, the type must be report.
49
- * - When the message is intended to cancel the current session, the type must be cancel.
46
+ * - For regular interactions with the agent, set the message type to `[primary]`.
47
+ *
48
+ * - If the message responds to a human-in-the-loop question from the agent, set the type to `[additional]`.
49
+ *
50
+ * - If the message triggers report generation, set the type to `[report]`.
51
+ *
52
+ * - If the message cancels the current session, set the type to `[cancel]`.
50
53
  *
51
54
  * @example
52
55
  * primary
@@ -62,7 +65,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
62
65
  parentSessionId?: string;
63
66
  /**
64
67
  * @remarks
65
- * Required when the message type is additional. Specifies the specific question asked by the agent to the user through human-in-the-loop.
68
+ * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is `additional`.
66
69
  *
67
70
  * @example
68
71
  * Provide the calculation criteria for GMV
@@ -70,7 +73,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
70
73
  question?: string;
71
74
  /**
72
75
  * @remarks
73
- * The current quoted content. This is typically used during interactions with the agent.
76
+ * The quoted content passed in the current request. This is typically used during interactions with the agent.
74
77
  *
75
78
  * @example
76
79
  * {"version":"v0"}
@@ -80,7 +83,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
80
83
  * @remarks
81
84
  * **Important**
82
85
  *
83
- * When this message is a reply to an agent message (such as the agent asking for clarification through ASK_HUMAN), reply_to must exactly match the 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 the initial analysis is complete, you can leave reply_to empty or set it to 0.
86
+ * If this message replies to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in that agent message to `reply_to`. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the initial analysis is complete, you can leave `reply_to` empty or set it to "0".
84
87
  *
85
88
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
86
89
  *
@@ -90,7 +93,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
90
93
  replyTo?: string;
91
94
  /**
92
95
  * @remarks
93
- * The special configurations for the current session. For the same session, only the configurations passed during the first SendMessage call take effect.
96
+ * The special configurations for the current session. For the same session, only the configurations passed in the first SendMessage request take effect.
94
97
  *
95
98
  * **if can be null:**
96
99
  * true
@@ -99,9 +102,9 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
99
102
  /**
100
103
  * @remarks
101
104
  * The session ID. This is an optional field used for multi-turn sessions.
102
- * - You can start a session without specifying this field, and the response will include the SessionID for the current session.
105
+ * - You can start a session without specifying this field. The response will include the session ID for the current session.
103
106
  * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
104
- * - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage operation in this API call.
107
+ * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this request.
105
108
  *
106
109
  * @example
107
110
  * sess_***
@@ -114,7 +117,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
114
117
  taskConfigShrink?: string;
115
118
  /**
116
119
  * @remarks
117
- * The Object Storage Service (OSS) bucket of the user. If you do not specify this parameter, the analysis process is securely stored in the built-in storage.
120
+ * The Object Storage Service (OSS) bucket of the user. If this parameter is left empty, the analysis process is securely stored in the built-in storage.
118
121
  *
119
122
  * @example
120
123
  * my-bucket
@@ -1 +1 @@
1
- {"version":3,"file":"SendChatMessageShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SendChatMessageShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAiI3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,gBAAgB,EAAE,YAAY;YAC9B,iBAAiB,EAAE,aAAa;YAChC,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,aAAa;YAC1B,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,aAAa,EAAE,eAAe;YAC9B,OAAO,EAAE,SAAS;YAClB,mBAAmB,EAAE,eAAe;YACpC,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,YAAY;YAC9B,aAAa,EAAE,eAAe;YAC9B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,QAAQ;YAC3B,OAAO,EAAE,QAAQ;YACjB,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE,QAAQ;YACzB,Q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Ae,EAAE,QAAQ;YACzB,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,QAAQ;YACjB,mBAAmB,EAAE,QAAQ;YAC7B,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,QAAQ;YAC1B,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnLD,oEAmLC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/dms20250414",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7094,10 +7094,10 @@ export default class Client extends OpenApi {
7094
7094
  *
7095
7095
  * @remarks
7096
7096
  * ## Request description
7097
- * - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
7098
- * - The reply_to field specifies the agent message to which this message responds. The default value is 0.
7099
- * - When message_type is set to additional, the question field is required.
7100
- * - You can use quoted_message to quote previous user messages.
7097
+ * - The default value of `message_type` is `primary`. Set it to `additional` or `cancel` when you need to append information or cancel the session.
7098
+ * - The `reply_to` field specifies the agent message to which this message responds. The default value is `0`.
7099
+ * - The `question` field is required when `message_type` is set to `additional`.
7100
+ * - You can use `quoted_message` to quote previous user messages.
7101
7101
  *
7102
7102
  * @param tmpReq - SendChatMessageRequest
7103
7103
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7206,10 +7206,10 @@ export default class Client extends OpenApi {
7206
7206
  *
7207
7207
  * @remarks
7208
7208
  * ## Request description
7209
- * - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
7210
- * - The reply_to field specifies the agent message to which this message responds. The default value is 0.
7211
- * - When message_type is set to additional, the question field is required.
7212
- * - You can use quoted_message to quote previous user messages.
7209
+ * - The default value of `message_type` is `primary`. Set it to `additional` or `cancel` when you need to append information or cancel the session.
7210
+ * - The `reply_to` field specifies the agent message to which this message responds. The default value is `0`.
7211
+ * - The `question` field is required when `message_type` is set to `additional`.
7212
+ * - You can use `quoted_message` to quote previous user messages.
7213
7213
  *
7214
7214
  * @param request - SendChatMessageRequest
7215
7215
  * @returns SendChatMessageResponse
@@ -70,7 +70,7 @@ export class DescribeDataAgentSkillDownloadResponseBody extends $dara.Model {
70
70
  data?: DescribeDataAgentSkillDownloadResponseBodyData;
71
71
  /**
72
72
  * @remarks
73
- * The error code. This parameter is returned when a request exception occurs.
73
+ * The error code returned when a request exception occurs.
74
74
  *
75
75
  * @example
76
76
  * InvalidTid
@@ -5,21 +5,21 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of fields that are allowed to be queried in the current table. If you do not specify this parameter, all fields can be queried. If you specify this parameter, SQL statements that query fields outside the allowed range, such as the `SELECT *` syntax, will be blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance 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, such as `SELECT *`, will be blocked. To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
9
9
  */
10
10
  allowedColumns?: string[];
11
11
  /**
12
12
  * @remarks
13
- * The list of fields that are prohibited from being queried in the current table. If you do not specify this parameter, all fields **can be queried**. If you specify this parameter, SQL statements that query fields outside the allowed range, such as the `SELECT *` syntax, will be blocked.
13
+ * The list of columns prohibited from querying in the current table. If left empty, all columns **can be queried**. If specified, SQL statements that exceed the allowed scope, such as `SELECT *`, will be blocked.
14
14
  *
15
- * If both the prohibited list and the allowed list are configured, the prohibited list takes precedence. For example, if Table 1 has columns A, B, C, and D, and you configure columns A and B as non-queryable while configuring columns B and C as queryable, only column C is ultimately queryable.
15
+ * If both the prohibited list and the allowed list are configured, the prohibited list takes higher priority. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
16
16
  *
17
- * To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance of DataAgent.
17
+ * To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
18
18
  */
19
19
  disallowedColumns?: string[];
20
20
  /**
21
21
  * @remarks
22
- * The row filter condition that must be included for the current table. If you do not specify this parameter, it is ignored. If you specify this parameter, the system checks whether all SQL statements involving this table include the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints will be rejected. Pay attention to the format of the validation condition.
22
+ * The required row filter condition for the current table. If left empty, this field is ignored. If specified, the system checks whether all SQL statements involving this table include the filter column and whether the WHERE clause meets the constraints. SQL statements that do not meet the constraints will be rejected. Ensure the correct format of the validation condition.
23
23
  *
24
24
  * @example
25
25
  * region = \\"east\\"
@@ -99,7 +99,7 @@ export class SendChatMessageRequestDataSourcePermission extends $dara.Model {
99
99
  export class SendChatMessageRequestDataSource extends $dara.Model {
100
100
  /**
101
101
  * @remarks
102
- * **[Deprecated]** You do not need to specify this field.
102
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
103
103
  *
104
104
  * @example
105
105
  * 123
@@ -107,7 +107,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
107
107
  dataSourceId?: string;
108
108
  /**
109
109
  * @remarks
110
- * The data source type. Valid values: remote_data_center and database, which indicate that the analysis target is a file or a database, respectively.
110
+ * The data source type. Valid values: `[remote_data_center, database]`, which indicate that the current analysis is based on a file or a database, respectively.
111
111
  *
112
112
  * @example
113
113
  * remote_data_center
@@ -115,7 +115,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
115
115
  dataSourceType?: string;
116
116
  /**
117
117
  * @remarks
118
- * **[Deprecated]** You do not need to specify this field.
118
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
119
119
  *
120
120
  * @example
121
121
  * test_db
@@ -147,7 +147,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
147
147
  dmsInstanceId?: string;
148
148
  /**
149
149
  * @remarks
150
- * The type of the database.
150
+ * The database engine type.
151
151
  *
152
152
  * @example
153
153
  * mysql
@@ -163,7 +163,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
163
163
  fileId?: string;
164
164
  /**
165
165
  * @remarks
166
- * **[Deprecated]** You do not need to specify this field.
166
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
167
167
  *
168
168
  * @example
169
169
  * localhost
@@ -189,7 +189,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
189
189
  tables?: string[];
190
190
  /**
191
191
  * @remarks
192
- * The data source resource identifier.
192
+ * The Uniform Resource Identifier (URI) of the data source.
193
193
  *
194
194
  * @example
195
195
  * datalake://abc/def
@@ -249,21 +249,21 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
249
249
  export class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
250
250
  /**
251
251
  * @remarks
252
- * The list of columns that are allowed to be queried in the current table. If you do not specify this parameter, all columns can be queried. If you specify this parameter, SQL statements that query columns beyond the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions of DataAgent do not include columns beyond the allowed scope. Otherwise, unauthorized SQL statements are generated and blocked, which reduces the analysis speed and performance of DataAgent.
252
+ * The list of columns that are allowed to be queried in the current table. If this parameter is left empty, all columns can be queried. If this parameter is specified, SQL statements that query columns beyond the allowed scope are blocked. For example, syntax similar to SELECT * is blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions of DataAgent do not include columns beyond the allowed scope. Otherwise, unauthorized SQL statements are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
253
253
  */
254
254
  allowedColumns?: string[];
255
255
  /**
256
256
  * @remarks
257
- * The list of fields that are prohibited from being queried in the current table. If you do not specify this parameter, all fields **can be queried**. If you specify this parameter, SQL statements that query fields outside the allowed range, such as the `SELECT *` syntax, will be blocked.
257
+ * The list of columns prohibited from querying in the current table. If left empty, all columns **can be queried**. If specified, SQL statements that exceed the allowed scope, such as `SELECT *`, will be blocked.
258
258
  *
259
- * If both the prohibited list and the allowed list are configured, the prohibited list takes precedence. For example, if Table 1 has columns A, B, C, and D, and you configure columns A and B as non-queryable while configuring columns B and C as queryable, only column C is ultimately queryable.
259
+ * If both the prohibited list and the allowed list are configured, the prohibited list takes higher priority. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
260
260
  *
261
- * To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance of DataAgent.
261
+ * To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
262
262
  */
263
263
  disallowedColumns?: string[];
264
264
  /**
265
265
  * @remarks
266
- * The row filter condition that must be included for the current table. If you do not specify this parameter, it is ignored. If you specify this parameter, the system checks whether all SQL statements involving this table include the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints will be rejected. Pay attention to the format of the validation condition.
266
+ * The required row filter condition for the current table. If left empty, this field is ignored. If specified, the system checks whether all SQL statements involving this table include the filter column and whether the WHERE clause meets the constraints. SQL statements that do not meet the constraints will be rejected. Ensure the correct format of the validation condition.
267
267
  *
268
268
  * @example
269
269
  * region = \\"east\\"
@@ -343,7 +343,7 @@ export class SendChatMessageRequestDataSourcesPermission extends $dara.Model {
343
343
  export class SendChatMessageRequestDataSources extends $dara.Model {
344
344
  /**
345
345
  * @remarks
346
- * **[Deprecated]** You do not need to specify this field.
346
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
347
347
  *
348
348
  * @example
349
349
  * 123
@@ -361,7 +361,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
361
361
  dataSourceType?: string;
362
362
  /**
363
363
  * @remarks
364
- * **[Deprecated]** You do not need to specify this field.
364
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
365
365
  *
366
366
  * @example
367
367
  * test_db
@@ -393,7 +393,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
393
393
  dmsInstanceId?: string;
394
394
  /**
395
395
  * @remarks
396
- * The type of the database.
396
+ * The database engine type.
397
397
  *
398
398
  * @example
399
399
  * mysql
@@ -409,7 +409,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
409
409
  fileId?: string;
410
410
  /**
411
411
  * @remarks
412
- * **[Deprecated]** You do not need to specify this field.
412
+ * **[Deprecated]** This field is deprecated. You do not need to specify it.
413
413
  *
414
414
  * @example
415
415
  * localhost
@@ -435,7 +435,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
435
435
  tables?: string[];
436
436
  /**
437
437
  * @remarks
438
- * The data source resource identifier.
438
+ * The Uniform Resource Identifier (URI) of the data source.
439
439
  *
440
440
  * @example
441
441
  * datalake://abc/def
@@ -496,8 +496,10 @@ export class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.M
496
496
  /**
497
497
  * @remarks
498
498
  * The default behavior for table-level permissions. This parameter controls whether tables not configured in DataSources.[item].Permission can be queried. Valid values:
499
- * - allow: Works in blacklist mode. This is the default value. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Only when you configure **row- and column-level** permissions in DataSources.[item].Permission will row- and column-level permissions be enforced.
500
- * - deny: Works in whitelist mode. You must manually specify this value. By default, no tables can be queried. A table can be queried only when you configure permissions for it in DataSources.[item].Permission. You can grant full access to a table by not configuring any row- or column-level restrictions.
499
+ *
500
+ * - allow: Default value. Works in blacklist mode. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Row-level and column-level permissions are enforced only when you configure **row-level and column-level** permissions in DataSources.[item].Permission.
501
+ *
502
+ * - deny: Works in whitelist mode. You must manually pass this value. By default, no tables can be queried. A table can be queried only when you configure permissions for it in DataSources.[item].Permission. You can grant full access to a table by not configuring any row-level or column-level restrictions.
501
503
  *
502
504
  * @example
503
505
  * allow
@@ -527,7 +529,7 @@ export class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.M
527
529
  export class SendChatMessageRequestSessionConfig extends $dara.Model {
528
530
  /**
529
531
  * @remarks
530
- * The custom agent ID. A custom agent is an entity used to customize the analysis process. You can create it in the DataAgent console or by calling the CreateCustomAgent operation. A custom agent ID must be a string starting with ca-.
532
+ * The custom agent ID. A custom agent is an entity used to customize the analysis process. You can create it in the DataAgent console or by calling the CreateCustomAgent operation. A custom agent ID must be a string starting with `ca-`.
531
533
  *
532
534
  * @example
533
535
  * ca-asfkjhqwe***aesrfqa
@@ -559,7 +561,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
559
561
  kbUuidList?: string[];
560
562
  /**
561
563
  * @remarks
562
- * The language. Only Chinese and English are supported. The default value is Chinese. Only uppercase letters are supported.
564
+ * The language. Only uppercase values are supported. Currently, only Chinese and English are supported. Default value: Chinese.
563
565
  *
564
566
  * @example
565
567
  * ENGLISH
@@ -576,9 +578,9 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
576
578
  /**
577
579
  * @remarks
578
580
  * The mode. Valid values:
579
- * - **ASK_DATA**: Data query mode.
580
- * - **ANALYSIS**: Analysis mode.
581
- * - **INSIGHT**: Insight mode.
581
+ * - **ASK_DATA**: Data query mode.
582
+ * - **ANALYSIS**: Analysis mode.
583
+ * - **INSIGHT**: Insight mode.
582
584
  *
583
585
  * @example
584
586
  * ANALYSIS
@@ -586,12 +588,12 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
586
588
  mode?: string;
587
589
  /**
588
590
  * @remarks
589
- * The data permission settings at the session level. If configured multiple times in multi-turn conversations within the same session, the last configuration prevails.
591
+ * The session level data permission settings. If configured multiple times in multi-turn conversations within the same session, the last configuration prevails.
590
592
  */
591
593
  permissionConfig?: SendChatMessageRequestSessionConfigPermissionConfig;
592
594
  /**
593
595
  * @remarks
594
- * Specifies whether to enable the plan feature. Valid values: disable, enable, and force. Default value: enable.
596
+ * Specifies whether to enable the plan feature. Valid values: `[disable, enable, force]`. Default value: `enable`.
595
597
  *
596
598
  * @example
597
599
  * disable
@@ -599,7 +601,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
599
601
  planMode?: string;
600
602
  /**
601
603
  * @remarks
602
- * The text to be added as a watermark to the generated PDF report. The text can be up to 64 characters in length.
604
+ * The text used to add a watermark to the generated PDF report. The text can be up to 64 characters in length.
603
605
  *
604
606
  * @example
605
607
  * sample-watermark
@@ -650,6 +652,14 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
650
652
  * default
651
653
  */
652
654
  webReportTheme?: string;
655
+ /**
656
+ * @remarks
657
+ * 交互模式,可选值 analysis(数据分析,默认)/ chat(聊天)
658
+ *
659
+ * @example
660
+ * ANALYSIS
661
+ */
662
+ workMode?: string;
653
663
  static names(): { [key: string]: string } {
654
664
  return {
655
665
  customAgentId: 'CustomAgentId',
@@ -668,6 +678,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
668
678
  skipWebReportConfirm: 'SkipWebReportConfirm',
669
679
  userSpecifiedSkillList: 'UserSpecifiedSkillList',
670
680
  webReportTheme: 'WebReportTheme',
681
+ workMode: 'WorkMode',
671
682
  };
672
683
  }
673
684
 
@@ -689,6 +700,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
689
700
  skipWebReportConfirm: 'boolean',
690
701
  userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
691
702
  webReportTheme: 'string',
703
+ workMode: 'string',
692
704
  };
693
705
  }
694
706
 
@@ -716,7 +728,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
716
728
  export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
717
729
  /**
718
730
  * @remarks
719
- * The prompt that the current report must follow.
731
+ * The prompt that must be followed for the current report.
720
732
  *
721
733
  * @example
722
734
  * generate a report
@@ -724,7 +736,8 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
724
736
  reportPrompt?: string;
725
737
  /**
726
738
  * @remarks
727
- * The report theme. System themes include default, journal, legacy, and neobrutalism, which are globally available theme IDs. You can call the ListDataAgentTheme operation to obtain other available theme IDs.
739
+ * The report theme.
740
+ * The system themes include default, journal, legacy, and neobrutalism, which are globally available theme IDs. You can call the ListDataAgentTheme operation to obtain the IDs of other available themes.
728
741
  *
729
742
  * @example
730
743
  * default
@@ -733,8 +746,8 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
733
746
  /**
734
747
  * @remarks
735
748
  * The service type. Valid values:
736
- * - TextReport: The task generates a text report.
737
- * - WebReport: The task generates a web report.
749
+ * - TextReport: A text report is generated for the current task.
750
+ * - WebReport: A web report is generated for the current task.
738
751
  * Currently, only WebReport is supported.
739
752
  *
740
753
  * @example
@@ -815,7 +828,7 @@ export class SendChatMessageRequest extends $dara.Model {
815
828
  DMSUnit?: string;
816
829
  /**
817
830
  * @remarks
818
- * The data source information. This parameter can be left empty. You can specify only one data source for this parameter. We recommend that you use the DataSources parameter instead.
831
+ * The data source information. This parameter can be left empty. You can pass only one data source in this parameter. We recommend that you use the DataSources parameter instead.
819
832
  *
820
833
  * @example
821
834
  * null
@@ -828,7 +841,7 @@ export class SendChatMessageRequest extends $dara.Model {
828
841
  dataSources?: SendChatMessageRequestDataSources[];
829
842
  /**
830
843
  * @remarks
831
- * The content of the message sent to the agent.
844
+ * The content of the message sent to the agent in the current request.
832
845
  *
833
846
  * This parameter is required.
834
847
  *
@@ -838,12 +851,15 @@ export class SendChatMessageRequest extends $dara.Model {
838
851
  message?: string;
839
852
  /**
840
853
  * @remarks
841
- * The message type. Default value: primary.
854
+ * The message type. Default value: `[primary]`.
855
+ *
856
+ * - For regular interactions with the agent, set the message type to `[primary]`.
857
+ *
858
+ * - If the message responds to a human-in-the-loop question from the agent, set the type to `[additional]`.
859
+ *
860
+ * - If the message triggers report generation, set the type to `[report]`.
842
861
  *
843
- * - In normal interactions with the agent, the message type is primary.
844
- * - When the message is a response to a human-in-the-loop question from the agent, the type must be additional.
845
- * - When the message is intended to trigger report generation, the type must be report.
846
- * - When the message is intended to cancel the current session, the type must be cancel.
862
+ * - If the message cancels the current session, set the type to `[cancel]`.
847
863
  *
848
864
  * @example
849
865
  * primary
@@ -859,7 +875,7 @@ export class SendChatMessageRequest extends $dara.Model {
859
875
  parentSessionId?: string;
860
876
  /**
861
877
  * @remarks
862
- * Required when the message type is additional. Specifies the specific question asked by the agent to the user through human-in-the-loop.
878
+ * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is `additional`.
863
879
  *
864
880
  * @example
865
881
  * Provide the calculation criteria for GMV
@@ -867,7 +883,7 @@ export class SendChatMessageRequest extends $dara.Model {
867
883
  question?: string;
868
884
  /**
869
885
  * @remarks
870
- * The current quoted content. This is typically used during interactions with the agent.
886
+ * The quoted content passed in the current request. This is typically used during interactions with the agent.
871
887
  *
872
888
  * @example
873
889
  * {"version":"v0"}
@@ -877,7 +893,7 @@ export class SendChatMessageRequest extends $dara.Model {
877
893
  * @remarks
878
894
  * **Important**
879
895
  *
880
- * When this message is a reply to an agent message (such as the agent asking for clarification through ASK_HUMAN), reply_to must exactly match the 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 the initial analysis is complete, you can leave reply_to empty or set it to 0.
896
+ * If this message replies to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in that agent message to `reply_to`. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the initial analysis is complete, you can leave `reply_to` empty or set it to "0".
881
897
  *
882
898
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
883
899
  *
@@ -887,7 +903,7 @@ export class SendChatMessageRequest extends $dara.Model {
887
903
  replyTo?: string;
888
904
  /**
889
905
  * @remarks
890
- * The special configurations for the current session. For the same session, only the configurations passed during the first SendMessage call take effect.
906
+ * The special configurations for the current session. For the same session, only the configurations passed in the first SendMessage request take effect.
891
907
  *
892
908
  * **if can be null:**
893
909
  * true
@@ -896,9 +912,9 @@ export class SendChatMessageRequest extends $dara.Model {
896
912
  /**
897
913
  * @remarks
898
914
  * The session ID. This is an optional field used for multi-turn sessions.
899
- * - You can start a session without specifying this field, and the response will include the SessionID for the current session.
915
+ * - You can start a session without specifying this field. The response will include the session ID for the current session.
900
916
  * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
901
- * - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage operation in this API call.
917
+ * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this request.
902
918
  *
903
919
  * @example
904
920
  * sess_***
@@ -911,7 +927,7 @@ export class SendChatMessageRequest extends $dara.Model {
911
927
  taskConfig?: SendChatMessageRequestTaskConfig;
912
928
  /**
913
929
  * @remarks
914
- * The Object Storage Service (OSS) bucket of the user. If you do not specify this parameter, the analysis process is securely stored in the built-in storage.
930
+ * The Object Storage Service (OSS) bucket of the user. If this parameter is left empty, the analysis process is securely stored in the built-in storage.
915
931
  *
916
932
  * @example
917
933
  * my-bucket
@@ -21,7 +21,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
21
21
  DMSUnit?: string;
22
22
  /**
23
23
  * @remarks
24
- * The data source information. This parameter can be left empty. You can specify only one data source for this parameter. We recommend that you use the DataSources parameter instead.
24
+ * The data source information. This parameter can be left empty. You can pass only one data source in this parameter. We recommend that you use the DataSources parameter instead.
25
25
  *
26
26
  * @example
27
27
  * null
@@ -34,7 +34,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
34
34
  dataSourcesShrink?: string;
35
35
  /**
36
36
  * @remarks
37
- * The content of the message sent to the agent.
37
+ * The content of the message sent to the agent in the current request.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -44,12 +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
48
  *
49
- * - In normal interactions with the agent, the message type is primary.
50
- * - When the message is a response to a human-in-the-loop question from the agent, the type must be additional.
51
- * - When the message is intended to trigger report generation, the type must be report.
52
- * - When the message is intended to cancel the current session, the type must be cancel.
49
+ * - For regular interactions with the agent, set the message type to `[primary]`.
50
+ *
51
+ * - If the message responds to a human-in-the-loop question from the agent, set the type to `[additional]`.
52
+ *
53
+ * - If the message triggers report generation, set the type to `[report]`.
54
+ *
55
+ * - If the message cancels the current session, set the type to `[cancel]`.
53
56
  *
54
57
  * @example
55
58
  * primary
@@ -65,7 +68,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
65
68
  parentSessionId?: string;
66
69
  /**
67
70
  * @remarks
68
- * Required when the message type is additional. Specifies the specific question asked by the agent to the user through human-in-the-loop.
71
+ * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is `additional`.
69
72
  *
70
73
  * @example
71
74
  * Provide the calculation criteria for GMV
@@ -73,7 +76,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
73
76
  question?: string;
74
77
  /**
75
78
  * @remarks
76
- * The current quoted content. This is typically used during interactions with the agent.
79
+ * The quoted content passed in the current request. This is typically used during interactions with the agent.
77
80
  *
78
81
  * @example
79
82
  * {"version":"v0"}
@@ -83,7 +86,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
83
86
  * @remarks
84
87
  * **Important**
85
88
  *
86
- * When this message is a reply to an agent message (such as the agent asking for clarification through ASK_HUMAN), reply_to must exactly match the 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 the initial analysis is complete, you can leave reply_to empty or set it to 0.
89
+ * If this message replies to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in that agent message to `reply_to`. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the initial analysis is complete, you can leave `reply_to` empty or set it to "0".
87
90
  *
88
91
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
89
92
  *
@@ -93,7 +96,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
93
96
  replyTo?: string;
94
97
  /**
95
98
  * @remarks
96
- * The special configurations for the current session. For the same session, only the configurations passed during the first SendMessage call take effect.
99
+ * The special configurations for the current session. For the same session, only the configurations passed in the first SendMessage request take effect.
97
100
  *
98
101
  * **if can be null:**
99
102
  * true
@@ -102,9 +105,9 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
102
105
  /**
103
106
  * @remarks
104
107
  * The session ID. This is an optional field used for multi-turn sessions.
105
- * - You can start a session without specifying this field, and the response will include the SessionID for the current session.
108
+ * - You can start a session without specifying this field. The response will include the session ID for the current session.
106
109
  * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
107
- * - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage operation in this API call.
110
+ * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this request.
108
111
  *
109
112
  * @example
110
113
  * sess_***
@@ -117,7 +120,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
117
120
  taskConfigShrink?: string;
118
121
  /**
119
122
  * @remarks
120
- * The Object Storage Service (OSS) bucket of the user. If you do not specify this parameter, the analysis process is securely stored in the built-in storage.
123
+ * The Object Storage Service (OSS) bucket of the user. If this parameter is left empty, the analysis process is securely stored in the built-in storage.
121
124
  *
122
125
  * @example
123
126
  * my-bucket