@alicloud/dms20250414 1.20.2 → 1.20.3
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/models/SendChatMessageRequest.d.ts +44 -29
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +21 -9
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/models/SendChatMessageRequest.ts +44 -29
- package/src/models/SendChatMessageShrinkRequest.ts +21 -9
|
@@ -2,12 +2,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* 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
|
|
5
|
+
* 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 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 the DataAgent prompts, knowledge, or instructions modules. Otherwise, SQL statements without proper permissions are generated and blocked, which reduces DataAgent analysis speed and effectiveness.
|
|
6
6
|
*/
|
|
7
7
|
allowedColumns?: string[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* The required row filter condition for the current table. If this parameter is not specified, it is ignored. If this
|
|
10
|
+
* The required row filter condition for the current table. If this parameter is not specified, it is ignored. If specified, all SQL statements involving this table are validated to check whether they include 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.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* region = \\"east\\"
|
|
@@ -15,7 +15,7 @@ export declare class SendChatMessageRequestDataSourcePermissionTables extends $d
|
|
|
15
15
|
requiredRowFilter?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The name
|
|
18
|
+
* The table name to which the permission constraint rule applies.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* sample_table
|
|
@@ -60,7 +60,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
60
60
|
dataSourceId?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The data source type. Valid values: `[remote_data_center, database]`, indicating
|
|
63
|
+
* The data source type. Valid values: `[remote_data_center, database]`, indicating whether the analysis is for a file or a database.
|
|
64
64
|
*
|
|
65
65
|
* @example
|
|
66
66
|
* remote_data_center
|
|
@@ -84,7 +84,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
84
84
|
dbName?: string;
|
|
85
85
|
/**
|
|
86
86
|
* @remarks
|
|
87
|
-
* The ID
|
|
87
|
+
* The database ID in Data Management.
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
90
|
* 23******
|
|
@@ -92,7 +92,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
92
92
|
dmsDatabaseId?: string;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The ID
|
|
95
|
+
* The instance ID in Data Management.
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* 12******
|
|
@@ -124,7 +124,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
124
124
|
location?: string;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
* The permission constraints for querying the current data source. The permission constraint feature is
|
|
127
|
+
* The permission constraints for querying the current data source. The permission constraint feature is in canary release. This field does not take effect for users who are not included in the canary release.
|
|
128
128
|
*/
|
|
129
129
|
permission?: SendChatMessageRequestDataSourcePermission;
|
|
130
130
|
/**
|
|
@@ -154,12 +154,12 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
154
154
|
export declare class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
* 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
|
|
157
|
+
* 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 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 the DataAgent prompts, knowledge, or instructions modules. Otherwise, SQL statements without proper permissions are generated and blocked, which reduces DataAgent analysis speed and effectiveness.
|
|
158
158
|
*/
|
|
159
159
|
allowedColumns?: string[];
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
* The required row filter condition for the current table. If this parameter is not specified, it is ignored. If this
|
|
162
|
+
* The required row filter condition for the current table. If this parameter is not specified, it is ignored. If specified, all SQL statements involving this table are validated to check whether they include 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.
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
165
|
* region = \\"east\\"
|
|
@@ -167,7 +167,7 @@ export declare class SendChatMessageRequestDataSourcesPermissionTables extends $
|
|
|
167
167
|
requiredRowFilter?: string;
|
|
168
168
|
/**
|
|
169
169
|
* @remarks
|
|
170
|
-
* The name
|
|
170
|
+
* The table name to which the permission constraint rule applies.
|
|
171
171
|
*
|
|
172
172
|
* @example
|
|
173
173
|
* sample_table
|
|
@@ -212,7 +212,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
212
212
|
dataSourceId?: string;
|
|
213
213
|
/**
|
|
214
214
|
* @remarks
|
|
215
|
-
* The data source type. Valid values: remote_data_center
|
|
215
|
+
* The data source type. Valid values: remote_data_center, database, indicating whether the analysis is for a file or a database.
|
|
216
216
|
*
|
|
217
217
|
* @example
|
|
218
218
|
* remote_data_center
|
|
@@ -236,7 +236,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
236
236
|
dbName?: string;
|
|
237
237
|
/**
|
|
238
238
|
* @remarks
|
|
239
|
-
* The ID
|
|
239
|
+
* The database ID in Data Management.
|
|
240
240
|
*
|
|
241
241
|
* @example
|
|
242
242
|
* 123****
|
|
@@ -244,7 +244,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
244
244
|
dmsDatabaseId?: string;
|
|
245
245
|
/**
|
|
246
246
|
* @remarks
|
|
247
|
-
* The ID
|
|
247
|
+
* The instance ID in Data Management.
|
|
248
248
|
*
|
|
249
249
|
* @example
|
|
250
250
|
* 248*****
|
|
@@ -276,7 +276,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
276
276
|
location?: string;
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
* The permission constraints for querying the current data source. The permission constraint feature is
|
|
279
|
+
* The permission constraints for querying the current data source. The permission constraint feature is in canary release. This field does not take effect for users who are not included in the canary release.
|
|
280
280
|
*/
|
|
281
281
|
permission?: SendChatMessageRequestDataSourcesPermission;
|
|
282
282
|
/**
|
|
@@ -338,7 +338,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
338
338
|
kbUuidList?: string;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
*
|
|
341
|
+
* Currently only Chinese and English are supported. The default value is Chinese. Only uppercase is supported.
|
|
342
342
|
*
|
|
343
343
|
* @example
|
|
344
344
|
* ENGLISH
|
|
@@ -354,7 +354,10 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
354
354
|
mcpServerIds?: string;
|
|
355
355
|
/**
|
|
356
356
|
* @remarks
|
|
357
|
-
* The mode:
|
|
357
|
+
* The mode. Valid values:
|
|
358
|
+
* - **ASK_DATA**: data query mode.
|
|
359
|
+
* - **ANALYSIS**: analysis mode.
|
|
360
|
+
* - **INSIGHT**: insight mode.
|
|
358
361
|
*
|
|
359
362
|
* @example
|
|
360
363
|
* ANALYSIS
|
|
@@ -362,7 +365,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
362
365
|
mode?: string;
|
|
363
366
|
/**
|
|
364
367
|
* @remarks
|
|
365
|
-
* Specifies whether to enable the plan. Valid values: disable, enable,
|
|
368
|
+
* Specifies whether to enable the plan. Valid values: disable, enable, force. Default value: enable.
|
|
366
369
|
*
|
|
367
370
|
* @example
|
|
368
371
|
* disable
|
|
@@ -373,7 +376,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
373
376
|
* The text of up to 64 characters that is used as a watermark in the generated PDF report.
|
|
374
377
|
*
|
|
375
378
|
* @example
|
|
376
|
-
* SampleWatermark
|
|
379
|
+
* SampleWatermark
|
|
377
380
|
*/
|
|
378
381
|
reportWaterMark?: string;
|
|
379
382
|
/**
|
|
@@ -430,7 +433,7 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
|
|
|
430
433
|
reportPrompt?: string;
|
|
431
434
|
/**
|
|
432
435
|
* @remarks
|
|
433
|
-
* The report theme. Valid values: default, journal, legacy,
|
|
436
|
+
* The report theme. Valid values: default, journal, legacy, neobrutalism.
|
|
434
437
|
*
|
|
435
438
|
* @example
|
|
436
439
|
* default
|
|
@@ -438,7 +441,7 @@ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.
|
|
|
438
441
|
reportTheme?: string;
|
|
439
442
|
/**
|
|
440
443
|
* @remarks
|
|
441
|
-
* The service type. Valid values: TextReport
|
|
444
|
+
* The service type. Valid values: TextReport, WebReport, indicating whether the task generates a text report or a web report. Currently only WebReport is supported.
|
|
442
445
|
*
|
|
443
446
|
* @example
|
|
444
447
|
* WebReport
|
|
@@ -475,7 +478,7 @@ export declare class SendChatMessageRequestTaskConfig extends $dara.Model {
|
|
|
475
478
|
export declare class SendChatMessageRequest extends $dara.Model {
|
|
476
479
|
/**
|
|
477
480
|
* @remarks
|
|
478
|
-
* The agent ID. This
|
|
481
|
+
* 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.
|
|
479
482
|
*
|
|
480
483
|
* @example
|
|
481
484
|
* agent_***
|
|
@@ -483,7 +486,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
483
486
|
agentId?: string;
|
|
484
487
|
/**
|
|
485
488
|
* @remarks
|
|
486
|
-
* 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
|
|
489
|
+
* 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. You can go to the DAS console to view your current Data Management unit. If you are a user on the Alibaba Cloud China Website (www.aliyun.com), you can directly enter cn-hangzhou.
|
|
487
490
|
*
|
|
488
491
|
* @example
|
|
489
492
|
* cn-hangzhou
|
|
@@ -491,7 +494,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
491
494
|
DMSUnit?: string;
|
|
492
495
|
/**
|
|
493
496
|
* @remarks
|
|
494
|
-
* The data source information. This parameter can be left empty.
|
|
497
|
+
* The data source information. This parameter can be left empty. This parameter supports only one data source. Use the DataSources parameter instead.
|
|
495
498
|
*
|
|
496
499
|
* @example
|
|
497
500
|
* null
|
|
@@ -516,6 +519,14 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
516
519
|
* @remarks
|
|
517
520
|
* The message type. Default value: `[primary]`.
|
|
518
521
|
*
|
|
522
|
+
* - Under normal circumstances, when interacting with the Agent, the message type is `[primary]`.
|
|
523
|
+
*
|
|
524
|
+
* - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
|
|
525
|
+
*
|
|
526
|
+
* - When the message is intended to trigger a report generation, the type should be `[report]`.
|
|
527
|
+
*
|
|
528
|
+
* - When the message is intended to cancel the current session, the type should be `[cancel]`.
|
|
529
|
+
*
|
|
519
530
|
* @example
|
|
520
531
|
* primary
|
|
521
532
|
*/
|
|
@@ -530,15 +541,15 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
530
541
|
parentSessionId?: string;
|
|
531
542
|
/**
|
|
532
543
|
* @remarks
|
|
533
|
-
*
|
|
544
|
+
* This is a required field when the message type is `additional`. Specify the specific question that the agent asks the user through Human-in-Loop.
|
|
534
545
|
*
|
|
535
546
|
* @example
|
|
536
|
-
* Please provide the criteria for calculating GMV
|
|
547
|
+
* Please provide the criteria for calculating GMV
|
|
537
548
|
*/
|
|
538
549
|
question?: string;
|
|
539
550
|
/**
|
|
540
551
|
* @remarks
|
|
541
|
-
* The quoted content. This
|
|
552
|
+
* The quoted content. This is typically used when interacting with the agent.
|
|
542
553
|
*
|
|
543
554
|
* @example
|
|
544
555
|
* {"version":"v0"}
|
|
@@ -548,13 +559,17 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
548
559
|
* @remarks
|
|
549
560
|
* **Important**
|
|
550
561
|
*
|
|
562
|
+
* When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), set reply_to to the exact Checkpoint number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
|
|
563
|
+
*
|
|
564
|
+
* This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to fall short of expectations.
|
|
565
|
+
*
|
|
551
566
|
* @example
|
|
552
567
|
* 0
|
|
553
568
|
*/
|
|
554
569
|
replyTo?: string;
|
|
555
570
|
/**
|
|
556
571
|
* @remarks
|
|
557
|
-
* The special configuration for the current session. For the same session, only the configuration
|
|
572
|
+
* The special configuration for the current session. For the same session, only the configuration passed with the first SendMessage call takes effect.
|
|
558
573
|
*
|
|
559
574
|
* **if can be null:**
|
|
560
575
|
* true
|
|
@@ -562,7 +577,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
562
577
|
sessionConfig?: SendChatMessageRequestSessionConfig;
|
|
563
578
|
/**
|
|
564
579
|
* @remarks
|
|
565
|
-
* The session ID. This
|
|
580
|
+
* The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
|
|
566
581
|
*
|
|
567
582
|
* @example
|
|
568
583
|
* sess_***
|
|
@@ -575,7 +590,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
|
|
|
575
590
|
taskConfig?: SendChatMessageRequestTaskConfig;
|
|
576
591
|
/**
|
|
577
592
|
* @remarks
|
|
578
|
-
* The OSS bucket
|
|
593
|
+
* The user OSS bucket. If this parameter is not specified, analysis data is securely stored in the built-in storage.
|
|
579
594
|
*
|
|
580
595
|
* @example
|
|
581
596
|
* my-bucket
|
|
@@ -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;IAsB/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,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,QAAQ;YAC3B,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,4GAgDC;AAED,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAMzE,MAAM,CAAC,KAAK;QACV,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AAE,mCAAmC;YAClD,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,gCAAgC;YAC5C,aAAa,EAAE,QAAQ;YACvB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5LD,wDA4LC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The agent ID. This
|
|
5
|
+
* 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.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* agent_***
|
|
@@ -10,7 +10,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
10
10
|
agentId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* 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
|
|
13
|
+
* 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. You can go to the DAS console to view your current Data Management unit. If you are a user on the Alibaba Cloud China Website (www.aliyun.com), you can directly enter cn-hangzhou.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* cn-hangzhou
|
|
@@ -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.
|
|
21
|
+
* The data source information. This parameter can be left empty. This parameter supports only one data source. Use the DataSources parameter instead.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* null
|
|
@@ -43,6 +43,14 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
43
43
|
* @remarks
|
|
44
44
|
* The message type. Default value: `[primary]`.
|
|
45
45
|
*
|
|
46
|
+
* - Under normal circumstances, when interacting with the Agent, the message type is `[primary]`.
|
|
47
|
+
*
|
|
48
|
+
* - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
|
|
49
|
+
*
|
|
50
|
+
* - When the message is intended to trigger a report generation, the type should be `[report]`.
|
|
51
|
+
*
|
|
52
|
+
* - When the message is intended to cancel the current session, the type should be `[cancel]`.
|
|
53
|
+
*
|
|
46
54
|
* @example
|
|
47
55
|
* primary
|
|
48
56
|
*/
|
|
@@ -57,15 +65,15 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
57
65
|
parentSessionId?: string;
|
|
58
66
|
/**
|
|
59
67
|
* @remarks
|
|
60
|
-
*
|
|
68
|
+
* This is a required field when the message type is `additional`. Specify the specific question that the agent asks the user through Human-in-Loop.
|
|
61
69
|
*
|
|
62
70
|
* @example
|
|
63
|
-
* Please provide the criteria for calculating GMV
|
|
71
|
+
* Please provide the criteria for calculating GMV
|
|
64
72
|
*/
|
|
65
73
|
question?: string;
|
|
66
74
|
/**
|
|
67
75
|
* @remarks
|
|
68
|
-
* The quoted content. This
|
|
76
|
+
* The quoted content. This is typically used when interacting with the agent.
|
|
69
77
|
*
|
|
70
78
|
* @example
|
|
71
79
|
* {"version":"v0"}
|
|
@@ -75,13 +83,17 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
75
83
|
* @remarks
|
|
76
84
|
* **Important**
|
|
77
85
|
*
|
|
86
|
+
* When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), set reply_to to the exact Checkpoint number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
|
|
87
|
+
*
|
|
88
|
+
* This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to fall short of expectations.
|
|
89
|
+
*
|
|
78
90
|
* @example
|
|
79
91
|
* 0
|
|
80
92
|
*/
|
|
81
93
|
replyTo?: string;
|
|
82
94
|
/**
|
|
83
95
|
* @remarks
|
|
84
|
-
* The special configuration for the current session. For the same session, only the configuration
|
|
96
|
+
* The special configuration for the current session. For the same session, only the configuration passed with the first SendMessage call takes effect.
|
|
85
97
|
*
|
|
86
98
|
* **if can be null:**
|
|
87
99
|
* true
|
|
@@ -89,7 +101,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
89
101
|
sessionConfigShrink?: string;
|
|
90
102
|
/**
|
|
91
103
|
* @remarks
|
|
92
|
-
* The session ID. This
|
|
104
|
+
* The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
|
|
93
105
|
*
|
|
94
106
|
* @example
|
|
95
107
|
* sess_***
|
|
@@ -102,7 +114,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
102
114
|
taskConfigShrink?: string;
|
|
103
115
|
/**
|
|
104
116
|
* @remarks
|
|
105
|
-
* The OSS bucket
|
|
117
|
+
* The user OSS bucket. If this parameter is not specified, analysis data is securely stored in the built-in storage.
|
|
106
118
|
*
|
|
107
119
|
* @example
|
|
108
120
|
* 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;
|
|
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,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;AAhLD,oEAgLC"}
|
package/package.json
CHANGED
|
@@ -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
|
|
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 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 the DataAgent prompts, knowledge, or instructions modules. Otherwise, SQL statements without proper permissions are generated and blocked, which reduces 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
|
|
13
|
+
* The required row filter condition for the current table. If this parameter is not specified, it is ignored. If specified, all SQL statements involving this table are validated to check whether they include 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
|
|
21
|
+
* The table name to which the permission constraint rule applies.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* sample_table
|
|
@@ -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
|
|
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
|
|
@@ -117,7 +117,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
|
|
|
117
117
|
dbName?: string;
|
|
118
118
|
/**
|
|
119
119
|
* @remarks
|
|
120
|
-
* The ID
|
|
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
|
|
128
|
+
* The instance ID in Data Management.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* 12******
|
|
@@ -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
|
|
160
|
+
* The permission constraints for querying the current data source. The permission constraint feature is in 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
|
|
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 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 the DataAgent prompts, knowledge, or instructions modules. Otherwise, SQL statements without proper permissions are generated and blocked, which reduces 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
|
|
233
|
+
* The required row filter condition for the current table. If this parameter is not specified, it is ignored. If specified, all SQL statements involving this table are validated to check whether they include 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
|
|
241
|
+
* The table name to which the permission constraint rule applies.
|
|
242
242
|
*
|
|
243
243
|
* @example
|
|
244
244
|
* sample_table
|
|
@@ -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
|
|
316
|
+
* The data source type. Valid values: remote_data_center, database, indicating whether the analysis is for a file or a database.
|
|
317
317
|
*
|
|
318
318
|
* @example
|
|
319
319
|
* remote_data_center
|
|
@@ -337,7 +337,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
|
|
|
337
337
|
dbName?: string;
|
|
338
338
|
/**
|
|
339
339
|
* @remarks
|
|
340
|
-
* The ID
|
|
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
|
|
348
|
+
* The instance ID in Data Management.
|
|
349
349
|
*
|
|
350
350
|
* @example
|
|
351
351
|
* 248*****
|
|
@@ -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
|
|
380
|
+
* The permission constraints for querying the current data source. The permission constraint feature is in 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
|
-
*
|
|
480
|
+
* Currently only Chinese and English are supported. The default value 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,
|
|
507
|
+
* Specifies whether to enable the plan. Valid values: disable, enable, force. Default value: enable.
|
|
505
508
|
*
|
|
506
509
|
* @example
|
|
507
510
|
* disable
|
|
@@ -512,7 +515,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
|
|
|
512
515
|
* The 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
|
/**
|
|
@@ -603,7 +606,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
|
|
|
603
606
|
reportPrompt?: string;
|
|
604
607
|
/**
|
|
605
608
|
* @remarks
|
|
606
|
-
* The report theme. Valid values: default, journal, legacy,
|
|
609
|
+
* The report theme. Valid values: default, journal, legacy, neobrutalism.
|
|
607
610
|
*
|
|
608
611
|
* @example
|
|
609
612
|
* default
|
|
@@ -611,7 +614,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
|
|
|
611
614
|
reportTheme?: string;
|
|
612
615
|
/**
|
|
613
616
|
* @remarks
|
|
614
|
-
* The service type. Valid values: TextReport
|
|
617
|
+
* The service type. Valid values: TextReport, WebReport, indicating whether the task generates a text report or a web report. Currently only WebReport is supported.
|
|
615
618
|
*
|
|
616
619
|
* @example
|
|
617
620
|
* WebReport
|
|
@@ -675,7 +678,7 @@ export class SendChatMessageRequestTaskConfig extends $dara.Model {
|
|
|
675
678
|
export class SendChatMessageRequest extends $dara.Model {
|
|
676
679
|
/**
|
|
677
680
|
* @remarks
|
|
678
|
-
* The agent ID. This
|
|
681
|
+
* 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
682
|
*
|
|
680
683
|
* @example
|
|
681
684
|
* agent_***
|
|
@@ -683,7 +686,7 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
683
686
|
agentId?: string;
|
|
684
687
|
/**
|
|
685
688
|
* @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
|
|
689
|
+
* 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. You can go to the DAS console to view your current Data Management unit. If you are a user on the Alibaba Cloud China Website (www.aliyun.com), you can directly enter cn-hangzhou.
|
|
687
690
|
*
|
|
688
691
|
* @example
|
|
689
692
|
* cn-hangzhou
|
|
@@ -691,7 +694,7 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
691
694
|
DMSUnit?: string;
|
|
692
695
|
/**
|
|
693
696
|
* @remarks
|
|
694
|
-
* The data source information. This parameter can be left empty.
|
|
697
|
+
* The data source information. This parameter can be left empty. This parameter supports only one data source. Use the DataSources parameter instead.
|
|
695
698
|
*
|
|
696
699
|
* @example
|
|
697
700
|
* null
|
|
@@ -716,6 +719,14 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
716
719
|
* @remarks
|
|
717
720
|
* The message type. Default value: `[primary]`.
|
|
718
721
|
*
|
|
722
|
+
* - Under normal circumstances, when interacting with the Agent, the message type is `[primary]`.
|
|
723
|
+
*
|
|
724
|
+
* - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
|
|
725
|
+
*
|
|
726
|
+
* - When the message is intended to trigger a report generation, the type should be `[report]`.
|
|
727
|
+
*
|
|
728
|
+
* - When the message is intended to cancel the current session, the type should be `[cancel]`.
|
|
729
|
+
*
|
|
719
730
|
* @example
|
|
720
731
|
* primary
|
|
721
732
|
*/
|
|
@@ -730,15 +741,15 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
730
741
|
parentSessionId?: string;
|
|
731
742
|
/**
|
|
732
743
|
* @remarks
|
|
733
|
-
*
|
|
744
|
+
* This is a required field when the message type is `additional`. Specify the specific question that the agent asks the user through Human-in-Loop.
|
|
734
745
|
*
|
|
735
746
|
* @example
|
|
736
|
-
* Please provide the criteria for calculating GMV
|
|
747
|
+
* Please provide the criteria for calculating GMV
|
|
737
748
|
*/
|
|
738
749
|
question?: string;
|
|
739
750
|
/**
|
|
740
751
|
* @remarks
|
|
741
|
-
* The quoted content. This
|
|
752
|
+
* The quoted content. This is typically used when interacting with the agent.
|
|
742
753
|
*
|
|
743
754
|
* @example
|
|
744
755
|
* {"version":"v0"}
|
|
@@ -748,13 +759,17 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
748
759
|
* @remarks
|
|
749
760
|
* **Important**
|
|
750
761
|
*
|
|
762
|
+
* When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), set reply_to to the exact Checkpoint number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
|
|
763
|
+
*
|
|
764
|
+
* This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to fall short of expectations.
|
|
765
|
+
*
|
|
751
766
|
* @example
|
|
752
767
|
* 0
|
|
753
768
|
*/
|
|
754
769
|
replyTo?: string;
|
|
755
770
|
/**
|
|
756
771
|
* @remarks
|
|
757
|
-
* The special configuration for the current session. For the same session, only the configuration
|
|
772
|
+
* The special configuration for the current session. For the same session, only the configuration passed with the first SendMessage call takes effect.
|
|
758
773
|
*
|
|
759
774
|
* **if can be null:**
|
|
760
775
|
* true
|
|
@@ -762,7 +777,7 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
762
777
|
sessionConfig?: SendChatMessageRequestSessionConfig;
|
|
763
778
|
/**
|
|
764
779
|
* @remarks
|
|
765
|
-
* The session ID. This
|
|
780
|
+
* The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
|
|
766
781
|
*
|
|
767
782
|
* @example
|
|
768
783
|
* sess_***
|
|
@@ -775,7 +790,7 @@ export class SendChatMessageRequest extends $dara.Model {
|
|
|
775
790
|
taskConfig?: SendChatMessageRequestTaskConfig;
|
|
776
791
|
/**
|
|
777
792
|
* @remarks
|
|
778
|
-
* The OSS bucket
|
|
793
|
+
* The user OSS bucket. If this parameter is not specified, analysis data is securely stored in the built-in storage.
|
|
779
794
|
*
|
|
780
795
|
* @example
|
|
781
796
|
* 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
|
|
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
|
|
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. You can go to the DAS console to view your current Data Management unit. If you are a user on the Alibaba Cloud China Website (www.aliyun.com), you can directly enter cn-hangzhou.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* cn-hangzhou
|
|
@@ -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.
|
|
24
|
+
* The data source information. This parameter can be left empty. This parameter supports only one data source. Use the DataSources parameter instead.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* null
|
|
@@ -46,6 +46,14 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* @remarks
|
|
47
47
|
* The message type. Default value: `[primary]`.
|
|
48
48
|
*
|
|
49
|
+
* - Under normal circumstances, when interacting 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 intended to trigger a report generation, the type should be `[report]`.
|
|
54
|
+
*
|
|
55
|
+
* - When the message is intended to cancel the current session, the type should be `[cancel]`.
|
|
56
|
+
*
|
|
49
57
|
* @example
|
|
50
58
|
* primary
|
|
51
59
|
*/
|
|
@@ -60,15 +68,15 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
60
68
|
parentSessionId?: string;
|
|
61
69
|
/**
|
|
62
70
|
* @remarks
|
|
63
|
-
*
|
|
71
|
+
* This is a required field when the message type is `additional`. Specify 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
|
|
79
|
+
* The quoted content. This is typically used when interacting 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), set reply_to to the exact Checkpoint number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
|
|
90
|
+
*
|
|
91
|
+
* This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to fall short of 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
|
|
99
|
+
* The special configuration for the current 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
|
|
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
|
|
120
|
+
* The user OSS bucket. If this parameter is not specified, analysis data is securely stored in the built-in storage.
|
|
109
121
|
*
|
|
110
122
|
* @example
|
|
111
123
|
* my-bucket
|