@alicloud/dms20250414 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +17 -2
- package/dist/client.js +62 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataAgentFeedbackRequest.d.ts +53 -0
- package/dist/models/CreateDataAgentFeedbackRequest.js +72 -0
- package/dist/models/CreateDataAgentFeedbackRequest.js.map +1 -0
- package/dist/models/CreateDataAgentFeedbackResponse.d.ts +19 -0
- package/dist/models/CreateDataAgentFeedbackResponse.js +69 -0
- package/dist/models/CreateDataAgentFeedbackResponse.js.map +1 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.d.ts +91 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js +104 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js.map +1 -0
- package/dist/models/SendChatMessageRequest.d.ts +52 -26
- package/dist/models/SendChatMessageRequest.js +35 -1
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +14 -14
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +28 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +72 -2
- package/src/models/CreateDataAgentFeedbackRequest.ts +80 -0
- package/src/models/CreateDataAgentFeedbackResponse.ts +40 -0
- package/src/models/CreateDataAgentFeedbackResponseBody.ts +141 -0
- package/src/models/SendChatMessageRequest.ts +77 -26
- package/src/models/SendChatMessageShrinkRequest.ts +14 -14
- package/src/models/model.ts +5 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* **[
|
|
8
|
+
* **[Deprecated]** This field is now automatically obtained by the backend. You do not need to specify this field.
|
|
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
|
-
* **[
|
|
16
|
+
* **[Deprecated]** This field is now automatically obtained by the backend. You do not need to specify this field when calling the API.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* cn-hangzhou
|
|
@@ -34,7 +34,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
34
34
|
dataSourcesShrink?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The message
|
|
37
|
+
* The content of the message to send to the Agent.
|
|
38
38
|
*
|
|
39
39
|
* This parameter is required.
|
|
40
40
|
*
|
|
@@ -46,13 +46,13 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
46
46
|
* @remarks
|
|
47
47
|
* The message type. Default value: `[primary]`.
|
|
48
48
|
*
|
|
49
|
-
* - For regular interactions with the Agent, the message type
|
|
49
|
+
* - For regular interactions with the Agent, set the message type to `[primary]`.
|
|
50
50
|
*
|
|
51
|
-
* - When the message is a response to the Agent\\"s
|
|
51
|
+
* - When the message is a response to the Agent\\"s human-in-the-loop question, set the type to `[additional]`.
|
|
52
52
|
*
|
|
53
|
-
* - When the message
|
|
53
|
+
* - When the message triggers a report generation, set the type to `[report]`.
|
|
54
54
|
*
|
|
55
|
-
* - When the message
|
|
55
|
+
* - When the message cancels the current session, set the type to `[cancel]`.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
58
|
* primary
|
|
@@ -68,10 +68,10 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
68
68
|
parentSessionId?: string;
|
|
69
69
|
/**
|
|
70
70
|
* @remarks
|
|
71
|
-
* This field is required when the message type is `additional`. Specify the specific question that the Agent asks the user through
|
|
71
|
+
* This field is required when the message type is `additional`. Specify the specific question that the Agent asks the user through the human-in-the-loop mechanism.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
|
-
*
|
|
74
|
+
* Provide the criteria for calculating GMV
|
|
75
75
|
*/
|
|
76
76
|
question?: string;
|
|
77
77
|
/**
|
|
@@ -86,9 +86,9 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
86
86
|
* @remarks
|
|
87
87
|
* **Important**
|
|
88
88
|
*
|
|
89
|
-
* When this message is a reply to an Agent message (for example, the Agent asks a
|
|
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 sequence 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
90
|
*
|
|
91
|
-
* This field affects how the Agent decides to process the message. Passing an incorrect value may
|
|
91
|
+
* This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to be less effective than expected.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* 0
|
|
@@ -105,8 +105,8 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
107
|
* The session ID. This is an optional field used for multi-turn conversations.
|
|
108
|
-
* - You can start a
|
|
109
|
-
* - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating a
|
|
108
|
+
* - You can start a session without specifying this field. The response includes the SessionID for the current session.
|
|
109
|
+
* - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating a session.
|
|
110
110
|
* - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage call.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
@@ -120,7 +120,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
|
|
|
120
120
|
taskConfigShrink?: string;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The
|
|
123
|
+
* The OSS bucket of the user. If this field is left empty, the analysis data is securely stored in the built-in storage.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* my-bucket
|
package/src/models/model.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { CreateCustomAgentResponseBodyDataKnowledgeSemanticConfigList } from './
|
|
|
19
19
|
export { CreateCustomAgentResponseBodyDataScheduleTaskConfig } from './CreateCustomAgentResponseBody';
|
|
20
20
|
export { CreateCustomAgentResponseBodyData } from './CreateCustomAgentResponseBody';
|
|
21
21
|
export { CreateDataAgentAccuracyTestResponseBodyData } from './CreateDataAgentAccuracyTestResponseBody';
|
|
22
|
+
export { CreateDataAgentFeedbackResponseBodyData } from './CreateDataAgentFeedbackResponseBody';
|
|
22
23
|
export { CreateDataAgentKnowledgeBaseResponseBodyData } from './CreateDataAgentKnowledgeBaseResponseBody';
|
|
23
24
|
export { CreateDataAgentSessionRequestSessionConfig } from './CreateDataAgentSessionRequest';
|
|
24
25
|
export { CreateDataAgentSessionResponseBodyDataSessionConfig } from './CreateDataAgentSessionResponseBody';
|
|
@@ -121,6 +122,7 @@ export { SendChatMessageRequestDataSource } from './SendChatMessageRequest';
|
|
|
121
122
|
export { SendChatMessageRequestDataSourcesPermissionTables } from './SendChatMessageRequest';
|
|
122
123
|
export { SendChatMessageRequestDataSourcesPermission } from './SendChatMessageRequest';
|
|
123
124
|
export { SendChatMessageRequestDataSources } from './SendChatMessageRequest';
|
|
125
|
+
export { SendChatMessageRequestSessionConfigPermissionConfig } from './SendChatMessageRequest';
|
|
124
126
|
export { SendChatMessageRequestSessionConfig } from './SendChatMessageRequest';
|
|
125
127
|
export { SendChatMessageRequestTaskConfigReportConfig } from './SendChatMessageRequest';
|
|
126
128
|
export { SendChatMessageRequestTaskConfig } from './SendChatMessageRequest';
|
|
@@ -231,6 +233,9 @@ export { CreateCustomAgentResponse } from './CreateCustomAgentResponse';
|
|
|
231
233
|
export { CreateDataAgentAccuracyTestRequest } from './CreateDataAgentAccuracyTestRequest';
|
|
232
234
|
export { CreateDataAgentAccuracyTestResponseBody } from './CreateDataAgentAccuracyTestResponseBody';
|
|
233
235
|
export { CreateDataAgentAccuracyTestResponse } from './CreateDataAgentAccuracyTestResponse';
|
|
236
|
+
export { CreateDataAgentFeedbackRequest } from './CreateDataAgentFeedbackRequest';
|
|
237
|
+
export { CreateDataAgentFeedbackResponseBody } from './CreateDataAgentFeedbackResponseBody';
|
|
238
|
+
export { CreateDataAgentFeedbackResponse } from './CreateDataAgentFeedbackResponse';
|
|
234
239
|
export { CreateDataAgentKnowledgeBaseRequest } from './CreateDataAgentKnowledgeBaseRequest';
|
|
235
240
|
export { CreateDataAgentKnowledgeBaseResponseBody } from './CreateDataAgentKnowledgeBaseResponseBody';
|
|
236
241
|
export { CreateDataAgentKnowledgeBaseResponse } from './CreateDataAgentKnowledgeBaseResponse';
|