@alicloud/qweneduaisuite20261102 1.0.0 → 2.0.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 +111 -56
- package/dist/client.js +112 -57
- package/dist/client.js.map +1 -1
- package/dist/models/ActivateQwenEduApiResponseBody.d.ts +30 -0
- package/dist/models/ActivateQwenEduApiResponseBody.js.map +1 -1
- package/dist/models/CreateEduHomeworkCorrectSubmitRequest.d.ts +25 -0
- package/dist/models/CreateEduHomeworkCorrectSubmitRequest.js.map +1 -1
- package/dist/models/CreateEduHomeworkCorrectSubmitResponseBody.d.ts +143 -10
- package/dist/models/CreateEduHomeworkCorrectSubmitResponseBody.js.map +1 -1
- package/dist/models/CreateEduProblemSolveRequest.d.ts +27 -1
- package/dist/models/CreateEduProblemSolveRequest.js.map +1 -1
- package/dist/models/CreateEduProblemSolveResponseBody.d.ts +87 -23
- package/dist/models/CreateEduProblemSolveResponseBody.js +11 -35
- package/dist/models/CreateEduProblemSolveResponseBody.js.map +1 -1
- package/dist/models/CreateEduProblemSolveShrinkRequest.d.ts +4 -1
- package/dist/models/CreateEduProblemSolveShrinkRequest.js.map +1 -1
- package/dist/models/GetEduHomeworkCorrectionResultRequest.d.ts +7 -0
- package/dist/models/GetEduHomeworkCorrectionResultRequest.js.map +1 -1
- package/dist/models/GetEduHomeworkCorrectionResultResponseBody.d.ts +194 -10
- package/dist/models/GetEduHomeworkCorrectionResultResponseBody.js.map +1 -1
- package/dist/models/GetQwenEduApiActivationStatusResponseBody.d.ts +37 -0
- package/dist/models/GetQwenEduApiActivationStatusResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +3 -4
- package/dist/models/model.js +6 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +112 -57
- package/src/models/ActivateQwenEduApiResponseBody.ts +30 -0
- package/src/models/CreateEduHomeworkCorrectSubmitRequest.ts +25 -0
- package/src/models/CreateEduHomeworkCorrectSubmitResponseBody.ts +143 -10
- package/src/models/CreateEduProblemSolveRequest.ts +27 -1
- package/src/models/CreateEduProblemSolveResponseBody.ts +92 -43
- package/src/models/CreateEduProblemSolveShrinkRequest.ts +4 -1
- package/src/models/GetEduHomeworkCorrectionResultRequest.ts +7 -0
- package/src/models/GetEduHomeworkCorrectionResultResponseBody.ts +194 -10
- package/src/models/GetQwenEduApiActivationStatusResponseBody.ts +37 -0
- package/src/models/model.ts +3 -4
package/dist/client.d.ts
CHANGED
|
@@ -9,10 +9,16 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Activates the learning capability for the current Alibaba Cloud account and supports querying the activation status.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* ## Request description
|
|
16
|
+
* - This operation activates the Qwen learning AI suite capability for the current Alibaba Cloud account.
|
|
17
|
+
* - You must call this operation first. You can call business API operations such as problem solving and grading only after `ACTIVE` is returned.
|
|
18
|
+
* ### Precautions
|
|
19
|
+
* - Both Alibaba Cloud accounts and RAM users can call this operation.
|
|
20
|
+
* - When a RAM user calls this operation, ensure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
21
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
16
22
|
*
|
|
17
23
|
* @param request - ActivateQwenEduApiRequest
|
|
18
24
|
* @param headers - map
|
|
@@ -23,27 +29,32 @@ export default class Client extends OpenApi {
|
|
|
23
29
|
[key: string]: string;
|
|
24
30
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ActivateQwenEduApiResponse>;
|
|
25
31
|
/**
|
|
26
|
-
*
|
|
32
|
+
* Activates the learning capability for the current Alibaba Cloud account and supports querying the activation status.
|
|
27
33
|
*
|
|
28
34
|
* @remarks
|
|
29
|
-
*
|
|
35
|
+
* ## Request description
|
|
36
|
+
* - This operation activates the Qwen learning AI suite capability for the current Alibaba Cloud account.
|
|
37
|
+
* - You must call this operation first. You can call business API operations such as problem solving and grading only after `ACTIVE` is returned.
|
|
38
|
+
* ### Precautions
|
|
39
|
+
* - Both Alibaba Cloud accounts and RAM users can call this operation.
|
|
40
|
+
* - When a RAM user calls this operation, ensure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
41
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
30
42
|
*
|
|
31
43
|
* @param request - ActivateQwenEduApiRequest
|
|
32
44
|
* @returns ActivateQwenEduApiResponse
|
|
33
45
|
*/
|
|
34
46
|
activateQwenEduApi(request: $_model.ActivateQwenEduApiRequest): Promise<$_model.ActivateQwenEduApiResponse>;
|
|
35
47
|
/**
|
|
36
|
-
*
|
|
48
|
+
* Submits a single-page homework image and asynchronously retrieves the grading results.
|
|
37
49
|
*
|
|
38
50
|
* @remarks
|
|
39
|
-
* ##
|
|
40
|
-
* -
|
|
41
|
-
* -
|
|
42
|
-
* -
|
|
43
|
-
* -
|
|
44
|
-
* -
|
|
45
|
-
* -
|
|
46
|
-
* - `request_id`字段建议由调用方生成并传递,以便于问题排查和对账。
|
|
51
|
+
* ## Request description
|
|
52
|
+
* - This operation submits a homework image to the server for question segmentation, recognition, and grading.
|
|
53
|
+
* - You can submit the image by using `imageBase64` or `imageUrl`. `imageBase64` takes precedence.
|
|
54
|
+
* - The optional `dewarp` parameter specifies whether to correct the image distortion. Default value: `true`.
|
|
55
|
+
* - Provide `requestId` to facilitate troubleshooting and reconciliation.
|
|
56
|
+
* - Image size limit: The Base64-encoded image size cannot exceed 15 MB.
|
|
57
|
+
* - All requests and responses use the JSON format.
|
|
47
58
|
*
|
|
48
59
|
* @param request - CreateEduHomeworkCorrectSubmitRequest
|
|
49
60
|
* @param headers - map
|
|
@@ -54,35 +65,37 @@ export default class Client extends OpenApi {
|
|
|
54
65
|
[key: string]: string;
|
|
55
66
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEduHomeworkCorrectSubmitResponse>;
|
|
56
67
|
/**
|
|
57
|
-
*
|
|
68
|
+
* Submits a single-page homework image and asynchronously retrieves the grading results.
|
|
58
69
|
*
|
|
59
70
|
* @remarks
|
|
60
|
-
* ##
|
|
61
|
-
* -
|
|
62
|
-
* -
|
|
63
|
-
* -
|
|
64
|
-
* -
|
|
65
|
-
* -
|
|
66
|
-
* -
|
|
67
|
-
* - `request_id`字段建议由调用方生成并传递,以便于问题排查和对账。
|
|
71
|
+
* ## Request description
|
|
72
|
+
* - This operation submits a homework image to the server for question segmentation, recognition, and grading.
|
|
73
|
+
* - You can submit the image by using `imageBase64` or `imageUrl`. `imageBase64` takes precedence.
|
|
74
|
+
* - The optional `dewarp` parameter specifies whether to correct the image distortion. Default value: `true`.
|
|
75
|
+
* - Provide `requestId` to facilitate troubleshooting and reconciliation.
|
|
76
|
+
* - Image size limit: The Base64-encoded image size cannot exceed 15 MB.
|
|
77
|
+
* - All requests and responses use the JSON format.
|
|
68
78
|
*
|
|
69
79
|
* @param request - CreateEduHomeworkCorrectSubmitRequest
|
|
70
80
|
* @returns CreateEduHomeworkCorrectSubmitResponse
|
|
71
81
|
*/
|
|
72
82
|
createEduHomeworkCorrectSubmit(request: $_model.CreateEduHomeworkCorrectSubmitRequest): Promise<$_model.CreateEduHomeworkCorrectSubmitResponse>;
|
|
73
83
|
/**
|
|
74
|
-
*
|
|
84
|
+
* Provides question resolution services by using image URLs or Base64 encoding.
|
|
75
85
|
*
|
|
76
86
|
* @remarks
|
|
77
|
-
* ##
|
|
78
|
-
* -
|
|
79
|
-
* -
|
|
80
|
-
* -
|
|
81
|
-
* -
|
|
82
|
-
* -
|
|
83
|
-
* -
|
|
84
|
-
* -
|
|
85
|
-
* -
|
|
87
|
+
* ## Request description
|
|
88
|
+
* - This API supports obtaining question resolution results by providing the URL or Base64 encoding of a question image.
|
|
89
|
+
* - Supports processing a single image. The image format must be JPG, JPEG, or PNG.
|
|
90
|
+
* - The image must be clear and complete. Avoid tilted, obscured, or irrelevant content.
|
|
91
|
+
* - Each request can process only one image. Multi-image or plain text requests are not supported.
|
|
92
|
+
* - The recommended image size is up to 1 MB, with a maximum of 10 MB. The image width and height must not exceed 8,000 pixels, and the total pixel count must not exceed 2.6 million.
|
|
93
|
+
* - You must use the HTTPS protocol to call the API and provide image URLs.
|
|
94
|
+
* - The user_id parameter must be an anonymized identifier. Do not pass direct identity information such as names or phone numbers.
|
|
95
|
+
* - The API uses the HTTP POST method combined with Server-Sent Events (SSE) streaming response. The client must read the response event by event, rather than waiting for the connection to close to read the entire response.
|
|
96
|
+
* - A successful response returns the question resolution process through a series of message events and ends with a complete event. If an error occurs, an error event is returned.
|
|
97
|
+
* - For retryable errors such as TOO_MANY_ACTIVE_STREAMS, use an exponential backoff strategy to retry the request.
|
|
98
|
+
* - Set a reasonable timeout period of at least 3 minutes on the client, and ensure that the proxy layer does not cache SSE responses.
|
|
86
99
|
*
|
|
87
100
|
* @param tmpReq - CreateEduProblemSolveRequest
|
|
88
101
|
* @param headers - map
|
|
@@ -93,18 +106,21 @@ export default class Client extends OpenApi {
|
|
|
93
106
|
[key: string]: string;
|
|
94
107
|
}, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.CreateEduProblemSolveResponse, any, unknown>;
|
|
95
108
|
/**
|
|
96
|
-
*
|
|
109
|
+
* Provides question resolution services by using image URLs or Base64 encoding.
|
|
97
110
|
*
|
|
98
111
|
* @remarks
|
|
99
|
-
* ##
|
|
100
|
-
* -
|
|
101
|
-
* -
|
|
102
|
-
* -
|
|
103
|
-
* -
|
|
104
|
-
* -
|
|
105
|
-
* -
|
|
106
|
-
* -
|
|
107
|
-
* -
|
|
112
|
+
* ## Request description
|
|
113
|
+
* - This API supports obtaining question resolution results by providing the URL or Base64 encoding of a question image.
|
|
114
|
+
* - Supports processing a single image. The image format must be JPG, JPEG, or PNG.
|
|
115
|
+
* - The image must be clear and complete. Avoid tilted, obscured, or irrelevant content.
|
|
116
|
+
* - Each request can process only one image. Multi-image or plain text requests are not supported.
|
|
117
|
+
* - The recommended image size is up to 1 MB, with a maximum of 10 MB. The image width and height must not exceed 8,000 pixels, and the total pixel count must not exceed 2.6 million.
|
|
118
|
+
* - You must use the HTTPS protocol to call the API and provide image URLs.
|
|
119
|
+
* - The user_id parameter must be an anonymized identifier. Do not pass direct identity information such as names or phone numbers.
|
|
120
|
+
* - The API uses the HTTP POST method combined with Server-Sent Events (SSE) streaming response. The client must read the response event by event, rather than waiting for the connection to close to read the entire response.
|
|
121
|
+
* - A successful response returns the question resolution process through a series of message events and ends with a complete event. If an error occurs, an error event is returned.
|
|
122
|
+
* - For retryable errors such as TOO_MANY_ACTIVE_STREAMS, use an exponential backoff strategy to retry the request.
|
|
123
|
+
* - Set a reasonable timeout period of at least 3 minutes on the client, and ensure that the proxy layer does not cache SSE responses.
|
|
108
124
|
*
|
|
109
125
|
* @param tmpReq - CreateEduProblemSolveRequest
|
|
110
126
|
* @param headers - map
|
|
@@ -115,25 +131,36 @@ export default class Client extends OpenApi {
|
|
|
115
131
|
[key: string]: string;
|
|
116
132
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateEduProblemSolveResponse>;
|
|
117
133
|
/**
|
|
118
|
-
*
|
|
134
|
+
* Provides question resolution services by using image URLs or Base64 encoding.
|
|
119
135
|
*
|
|
120
136
|
* @remarks
|
|
121
|
-
* ##
|
|
122
|
-
* -
|
|
123
|
-
* -
|
|
124
|
-
* -
|
|
125
|
-
* -
|
|
126
|
-
* -
|
|
127
|
-
* -
|
|
128
|
-
* -
|
|
129
|
-
* -
|
|
137
|
+
* ## Request description
|
|
138
|
+
* - This API supports obtaining question resolution results by providing the URL or Base64 encoding of a question image.
|
|
139
|
+
* - Supports processing a single image. The image format must be JPG, JPEG, or PNG.
|
|
140
|
+
* - The image must be clear and complete. Avoid tilted, obscured, or irrelevant content.
|
|
141
|
+
* - Each request can process only one image. Multi-image or plain text requests are not supported.
|
|
142
|
+
* - The recommended image size is up to 1 MB, with a maximum of 10 MB. The image width and height must not exceed 8,000 pixels, and the total pixel count must not exceed 2.6 million.
|
|
143
|
+
* - You must use the HTTPS protocol to call the API and provide image URLs.
|
|
144
|
+
* - The user_id parameter must be an anonymized identifier. Do not pass direct identity information such as names or phone numbers.
|
|
145
|
+
* - The API uses the HTTP POST method combined with Server-Sent Events (SSE) streaming response. The client must read the response event by event, rather than waiting for the connection to close to read the entire response.
|
|
146
|
+
* - A successful response returns the question resolution process through a series of message events and ends with a complete event. If an error occurs, an error event is returned.
|
|
147
|
+
* - For retryable errors such as TOO_MANY_ACTIVE_STREAMS, use an exponential backoff strategy to retry the request.
|
|
148
|
+
* - Set a reasonable timeout period of at least 3 minutes on the client, and ensure that the proxy layer does not cache SSE responses.
|
|
130
149
|
*
|
|
131
150
|
* @param request - CreateEduProblemSolveRequest
|
|
132
151
|
* @returns CreateEduProblemSolveResponse
|
|
133
152
|
*/
|
|
134
153
|
createEduProblemSolve(request: $_model.CreateEduProblemSolveRequest): Promise<$_model.CreateEduProblemSolveResponse>;
|
|
135
154
|
/**
|
|
136
|
-
*
|
|
155
|
+
* Queries the progress and final results of homework grading based on the task ID.
|
|
156
|
+
*
|
|
157
|
+
* @remarks
|
|
158
|
+
* ## Request description
|
|
159
|
+
* - This operation queries the status and detailed results of single-page homework grading by using the `taskId` returned when the task is submitted.
|
|
160
|
+
* - The caller should poll this operation at an interval of 1 to 2 seconds until the task status changes to `finished` or `failed`.
|
|
161
|
+
* - When the task status is `finished`, the response contains complete grading information, including question recognition, grading conclusions, dewarped images, and rendered images.
|
|
162
|
+
* - If the task fails (the status is `failed`), check the `message` field in the response or the specific fault information in `data`.
|
|
163
|
+
* - All requests and responses are in JSON format.
|
|
137
164
|
*
|
|
138
165
|
* @param request - GetEduHomeworkCorrectionResultRequest
|
|
139
166
|
* @param headers - map
|
|
@@ -144,14 +171,32 @@ export default class Client extends OpenApi {
|
|
|
144
171
|
[key: string]: string;
|
|
145
172
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetEduHomeworkCorrectionResultResponse>;
|
|
146
173
|
/**
|
|
147
|
-
*
|
|
174
|
+
* Queries the progress and final results of homework grading based on the task ID.
|
|
175
|
+
*
|
|
176
|
+
* @remarks
|
|
177
|
+
* ## Request description
|
|
178
|
+
* - This operation queries the status and detailed results of single-page homework grading by using the `taskId` returned when the task is submitted.
|
|
179
|
+
* - The caller should poll this operation at an interval of 1 to 2 seconds until the task status changes to `finished` or `failed`.
|
|
180
|
+
* - When the task status is `finished`, the response contains complete grading information, including question recognition, grading conclusions, dewarped images, and rendered images.
|
|
181
|
+
* - If the task fails (the status is `failed`), check the `message` field in the response or the specific fault information in `data`.
|
|
182
|
+
* - All requests and responses are in JSON format.
|
|
148
183
|
*
|
|
149
184
|
* @param request - GetEduHomeworkCorrectionResultRequest
|
|
150
185
|
* @returns GetEduHomeworkCorrectionResultResponse
|
|
151
186
|
*/
|
|
152
187
|
getEduHomeworkCorrectionResult(request: $_model.GetEduHomeworkCorrectionResultRequest): Promise<$_model.GetEduHomeworkCorrectionResultResponse>;
|
|
153
188
|
/**
|
|
154
|
-
*
|
|
189
|
+
* Queries whether the current account has activated Qwen education-related services.
|
|
190
|
+
*
|
|
191
|
+
* @remarks
|
|
192
|
+
* ## Request description
|
|
193
|
+
* This operation queries whether a specified Alibaba Cloud account or RAM user has successfully activated the Qwen learning AI suite. Before calling any business API operations, you must use this operation to confirm that the service status is `ACTIVE`. If the service is not activated, perform the corresponding operations based on the returned status information, such as waiting for a period of time and retrying.
|
|
194
|
+
* ### Precautions
|
|
195
|
+
* - This operation supports calls from Alibaba Cloud accounts and RAM users.
|
|
196
|
+
* - When a RAM user calls this operation, make sure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
197
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
198
|
+
* - If the status is `ACTIVATING`, retry the query after the time interval recommended by the returned `retry_after_seconds` field.
|
|
199
|
+
* - If a failure occurs (`FAILED`), refer to the specific error code, take corresponding measures, and then try again.
|
|
155
200
|
*
|
|
156
201
|
* @param request - GetQwenEduApiActivationStatusRequest
|
|
157
202
|
* @param headers - map
|
|
@@ -162,7 +207,17 @@ export default class Client extends OpenApi {
|
|
|
162
207
|
[key: string]: string;
|
|
163
208
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetQwenEduApiActivationStatusResponse>;
|
|
164
209
|
/**
|
|
165
|
-
*
|
|
210
|
+
* Queries whether the current account has activated Qwen education-related services.
|
|
211
|
+
*
|
|
212
|
+
* @remarks
|
|
213
|
+
* ## Request description
|
|
214
|
+
* This operation queries whether a specified Alibaba Cloud account or RAM user has successfully activated the Qwen learning AI suite. Before calling any business API operations, you must use this operation to confirm that the service status is `ACTIVE`. If the service is not activated, perform the corresponding operations based on the returned status information, such as waiting for a period of time and retrying.
|
|
215
|
+
* ### Precautions
|
|
216
|
+
* - This operation supports calls from Alibaba Cloud accounts and RAM users.
|
|
217
|
+
* - When a RAM user calls this operation, make sure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
218
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
219
|
+
* - If the status is `ACTIVATING`, retry the query after the time interval recommended by the returned `retry_after_seconds` field.
|
|
220
|
+
* - If a failure occurs (`FAILED`), refer to the specific error code, take corresponding measures, and then try again.
|
|
166
221
|
*
|
|
167
222
|
* @param request - GetQwenEduApiActivationStatusRequest
|
|
168
223
|
* @returns GetQwenEduApiActivationStatusResponse
|
package/dist/client.js
CHANGED
|
@@ -72,7 +72,7 @@ class Client extends openapi_core_1.default {
|
|
|
72
72
|
this._productId = "QwenEduAiSuite";
|
|
73
73
|
let gatewayClient = new gateway_pop_1.default();
|
|
74
74
|
this._spi = gatewayClient;
|
|
75
|
-
this._endpointRule = "";
|
|
75
|
+
this._endpointRule = "regional";
|
|
76
76
|
this.checkConfig(config);
|
|
77
77
|
this._endpoint = this.getEndpoint("qweneduaisuite", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
78
78
|
}
|
|
@@ -86,10 +86,16 @@ class Client extends openapi_core_1.default {
|
|
|
86
86
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Activates the learning capability for the current Alibaba Cloud account and supports querying the activation status.
|
|
90
90
|
*
|
|
91
91
|
* @remarks
|
|
92
|
-
*
|
|
92
|
+
* ## Request description
|
|
93
|
+
* - This operation activates the Qwen learning AI suite capability for the current Alibaba Cloud account.
|
|
94
|
+
* - You must call this operation first. You can call business API operations such as problem solving and grading only after `ACTIVE` is returned.
|
|
95
|
+
* ### Precautions
|
|
96
|
+
* - Both Alibaba Cloud accounts and RAM users can call this operation.
|
|
97
|
+
* - When a RAM user calls this operation, ensure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
98
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
93
99
|
*
|
|
94
100
|
* @param request - ActivateQwenEduApiRequest
|
|
95
101
|
* @param headers - map
|
|
@@ -115,10 +121,16 @@ class Client extends openapi_core_1.default {
|
|
|
115
121
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ActivateQwenEduApiResponse({}));
|
|
116
122
|
}
|
|
117
123
|
/**
|
|
118
|
-
*
|
|
124
|
+
* Activates the learning capability for the current Alibaba Cloud account and supports querying the activation status.
|
|
119
125
|
*
|
|
120
126
|
* @remarks
|
|
121
|
-
*
|
|
127
|
+
* ## Request description
|
|
128
|
+
* - This operation activates the Qwen learning AI suite capability for the current Alibaba Cloud account.
|
|
129
|
+
* - You must call this operation first. You can call business API operations such as problem solving and grading only after `ACTIVE` is returned.
|
|
130
|
+
* ### Precautions
|
|
131
|
+
* - Both Alibaba Cloud accounts and RAM users can call this operation.
|
|
132
|
+
* - When a RAM user calls this operation, ensure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
133
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
122
134
|
*
|
|
123
135
|
* @param request - ActivateQwenEduApiRequest
|
|
124
136
|
* @returns ActivateQwenEduApiResponse
|
|
@@ -129,17 +141,16 @@ class Client extends openapi_core_1.default {
|
|
|
129
141
|
return await this.activateQwenEduApiWithOptions(request, headers, runtime);
|
|
130
142
|
}
|
|
131
143
|
/**
|
|
132
|
-
*
|
|
144
|
+
* Submits a single-page homework image and asynchronously retrieves the grading results.
|
|
133
145
|
*
|
|
134
146
|
* @remarks
|
|
135
|
-
* ##
|
|
136
|
-
* -
|
|
137
|
-
* -
|
|
138
|
-
* -
|
|
139
|
-
* -
|
|
140
|
-
* -
|
|
141
|
-
* -
|
|
142
|
-
* - `request_id`字段建议由调用方生成并传递,以便于问题排查和对账。
|
|
147
|
+
* ## Request description
|
|
148
|
+
* - This operation submits a homework image to the server for question segmentation, recognition, and grading.
|
|
149
|
+
* - You can submit the image by using `imageBase64` or `imageUrl`. `imageBase64` takes precedence.
|
|
150
|
+
* - The optional `dewarp` parameter specifies whether to correct the image distortion. Default value: `true`.
|
|
151
|
+
* - Provide `requestId` to facilitate troubleshooting and reconciliation.
|
|
152
|
+
* - Image size limit: The Base64-encoded image size cannot exceed 15 MB.
|
|
153
|
+
* - All requests and responses use the JSON format.
|
|
143
154
|
*
|
|
144
155
|
* @param request - CreateEduHomeworkCorrectSubmitRequest
|
|
145
156
|
* @param headers - map
|
|
@@ -179,17 +190,16 @@ class Client extends openapi_core_1.default {
|
|
|
179
190
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateEduHomeworkCorrectSubmitResponse({}));
|
|
180
191
|
}
|
|
181
192
|
/**
|
|
182
|
-
*
|
|
193
|
+
* Submits a single-page homework image and asynchronously retrieves the grading results.
|
|
183
194
|
*
|
|
184
195
|
* @remarks
|
|
185
|
-
* ##
|
|
186
|
-
* -
|
|
187
|
-
* -
|
|
188
|
-
* -
|
|
189
|
-
* -
|
|
190
|
-
* -
|
|
191
|
-
* -
|
|
192
|
-
* - `request_id`字段建议由调用方生成并传递,以便于问题排查和对账。
|
|
196
|
+
* ## Request description
|
|
197
|
+
* - This operation submits a homework image to the server for question segmentation, recognition, and grading.
|
|
198
|
+
* - You can submit the image by using `imageBase64` or `imageUrl`. `imageBase64` takes precedence.
|
|
199
|
+
* - The optional `dewarp` parameter specifies whether to correct the image distortion. Default value: `true`.
|
|
200
|
+
* - Provide `requestId` to facilitate troubleshooting and reconciliation.
|
|
201
|
+
* - Image size limit: The Base64-encoded image size cannot exceed 15 MB.
|
|
202
|
+
* - All requests and responses use the JSON format.
|
|
193
203
|
*
|
|
194
204
|
* @param request - CreateEduHomeworkCorrectSubmitRequest
|
|
195
205
|
* @returns CreateEduHomeworkCorrectSubmitResponse
|
|
@@ -200,18 +210,21 @@ class Client extends openapi_core_1.default {
|
|
|
200
210
|
return await this.createEduHomeworkCorrectSubmitWithOptions(request, headers, runtime);
|
|
201
211
|
}
|
|
202
212
|
/**
|
|
203
|
-
*
|
|
213
|
+
* Provides question resolution services by using image URLs or Base64 encoding.
|
|
204
214
|
*
|
|
205
215
|
* @remarks
|
|
206
|
-
* ##
|
|
207
|
-
* -
|
|
208
|
-
* -
|
|
209
|
-
* -
|
|
210
|
-
* -
|
|
211
|
-
* -
|
|
212
|
-
* -
|
|
213
|
-
* -
|
|
214
|
-
* -
|
|
216
|
+
* ## Request description
|
|
217
|
+
* - This API supports obtaining question resolution results by providing the URL or Base64 encoding of a question image.
|
|
218
|
+
* - Supports processing a single image. The image format must be JPG, JPEG, or PNG.
|
|
219
|
+
* - The image must be clear and complete. Avoid tilted, obscured, or irrelevant content.
|
|
220
|
+
* - Each request can process only one image. Multi-image or plain text requests are not supported.
|
|
221
|
+
* - The recommended image size is up to 1 MB, with a maximum of 10 MB. The image width and height must not exceed 8,000 pixels, and the total pixel count must not exceed 2.6 million.
|
|
222
|
+
* - You must use the HTTPS protocol to call the API and provide image URLs.
|
|
223
|
+
* - The user_id parameter must be an anonymized identifier. Do not pass direct identity information such as names or phone numbers.
|
|
224
|
+
* - The API uses the HTTP POST method combined with Server-Sent Events (SSE) streaming response. The client must read the response event by event, rather than waiting for the connection to close to read the entire response.
|
|
225
|
+
* - A successful response returns the question resolution process through a series of message events and ends with a complete event. If an error occurs, an error event is returned.
|
|
226
|
+
* - For retryable errors such as TOO_MANY_ACTIVE_STREAMS, use an exponential backoff strategy to retry the request.
|
|
227
|
+
* - Set a reasonable timeout period of at least 3 minutes on the client, and ensure that the proxy layer does not cache SSE responses.
|
|
215
228
|
*
|
|
216
229
|
* @param tmpReq - CreateEduProblemSolveRequest
|
|
217
230
|
* @param headers - map
|
|
@@ -277,18 +290,21 @@ class Client extends openapi_core_1.default {
|
|
|
277
290
|
});
|
|
278
291
|
}
|
|
279
292
|
/**
|
|
280
|
-
*
|
|
293
|
+
* Provides question resolution services by using image URLs or Base64 encoding.
|
|
281
294
|
*
|
|
282
295
|
* @remarks
|
|
283
|
-
* ##
|
|
284
|
-
* -
|
|
285
|
-
* -
|
|
286
|
-
* -
|
|
287
|
-
* -
|
|
288
|
-
* -
|
|
289
|
-
* -
|
|
290
|
-
* -
|
|
291
|
-
* -
|
|
296
|
+
* ## Request description
|
|
297
|
+
* - This API supports obtaining question resolution results by providing the URL or Base64 encoding of a question image.
|
|
298
|
+
* - Supports processing a single image. The image format must be JPG, JPEG, or PNG.
|
|
299
|
+
* - The image must be clear and complete. Avoid tilted, obscured, or irrelevant content.
|
|
300
|
+
* - Each request can process only one image. Multi-image or plain text requests are not supported.
|
|
301
|
+
* - The recommended image size is up to 1 MB, with a maximum of 10 MB. The image width and height must not exceed 8,000 pixels, and the total pixel count must not exceed 2.6 million.
|
|
302
|
+
* - You must use the HTTPS protocol to call the API and provide image URLs.
|
|
303
|
+
* - The user_id parameter must be an anonymized identifier. Do not pass direct identity information such as names or phone numbers.
|
|
304
|
+
* - The API uses the HTTP POST method combined with Server-Sent Events (SSE) streaming response. The client must read the response event by event, rather than waiting for the connection to close to read the entire response.
|
|
305
|
+
* - A successful response returns the question resolution process through a series of message events and ends with a complete event. If an error occurs, an error event is returned.
|
|
306
|
+
* - For retryable errors such as TOO_MANY_ACTIVE_STREAMS, use an exponential backoff strategy to retry the request.
|
|
307
|
+
* - Set a reasonable timeout period of at least 3 minutes on the client, and ensure that the proxy layer does not cache SSE responses.
|
|
292
308
|
*
|
|
293
309
|
* @param tmpReq - CreateEduProblemSolveRequest
|
|
294
310
|
* @param headers - map
|
|
@@ -327,18 +343,21 @@ class Client extends openapi_core_1.default {
|
|
|
327
343
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateEduProblemSolveResponse({}));
|
|
328
344
|
}
|
|
329
345
|
/**
|
|
330
|
-
*
|
|
346
|
+
* Provides question resolution services by using image URLs or Base64 encoding.
|
|
331
347
|
*
|
|
332
348
|
* @remarks
|
|
333
|
-
* ##
|
|
334
|
-
* -
|
|
335
|
-
* -
|
|
336
|
-
* -
|
|
337
|
-
* -
|
|
338
|
-
* -
|
|
339
|
-
* -
|
|
340
|
-
* -
|
|
341
|
-
* -
|
|
349
|
+
* ## Request description
|
|
350
|
+
* - This API supports obtaining question resolution results by providing the URL or Base64 encoding of a question image.
|
|
351
|
+
* - Supports processing a single image. The image format must be JPG, JPEG, or PNG.
|
|
352
|
+
* - The image must be clear and complete. Avoid tilted, obscured, or irrelevant content.
|
|
353
|
+
* - Each request can process only one image. Multi-image or plain text requests are not supported.
|
|
354
|
+
* - The recommended image size is up to 1 MB, with a maximum of 10 MB. The image width and height must not exceed 8,000 pixels, and the total pixel count must not exceed 2.6 million.
|
|
355
|
+
* - You must use the HTTPS protocol to call the API and provide image URLs.
|
|
356
|
+
* - The user_id parameter must be an anonymized identifier. Do not pass direct identity information such as names or phone numbers.
|
|
357
|
+
* - The API uses the HTTP POST method combined with Server-Sent Events (SSE) streaming response. The client must read the response event by event, rather than waiting for the connection to close to read the entire response.
|
|
358
|
+
* - A successful response returns the question resolution process through a series of message events and ends with a complete event. If an error occurs, an error event is returned.
|
|
359
|
+
* - For retryable errors such as TOO_MANY_ACTIVE_STREAMS, use an exponential backoff strategy to retry the request.
|
|
360
|
+
* - Set a reasonable timeout period of at least 3 minutes on the client, and ensure that the proxy layer does not cache SSE responses.
|
|
342
361
|
*
|
|
343
362
|
* @param request - CreateEduProblemSolveRequest
|
|
344
363
|
* @returns CreateEduProblemSolveResponse
|
|
@@ -349,7 +368,15 @@ class Client extends openapi_core_1.default {
|
|
|
349
368
|
return await this.createEduProblemSolveWithOptions(request, headers, runtime);
|
|
350
369
|
}
|
|
351
370
|
/**
|
|
352
|
-
*
|
|
371
|
+
* Queries the progress and final results of homework grading based on the task ID.
|
|
372
|
+
*
|
|
373
|
+
* @remarks
|
|
374
|
+
* ## Request description
|
|
375
|
+
* - This operation queries the status and detailed results of single-page homework grading by using the `taskId` returned when the task is submitted.
|
|
376
|
+
* - The caller should poll this operation at an interval of 1 to 2 seconds until the task status changes to `finished` or `failed`.
|
|
377
|
+
* - When the task status is `finished`, the response contains complete grading information, including question recognition, grading conclusions, dewarped images, and rendered images.
|
|
378
|
+
* - If the task fails (the status is `failed`), check the `message` field in the response or the specific fault information in `data`.
|
|
379
|
+
* - All requests and responses are in JSON format.
|
|
353
380
|
*
|
|
354
381
|
* @param request - GetEduHomeworkCorrectionResultRequest
|
|
355
382
|
* @param headers - map
|
|
@@ -380,7 +407,15 @@ class Client extends openapi_core_1.default {
|
|
|
380
407
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetEduHomeworkCorrectionResultResponse({}));
|
|
381
408
|
}
|
|
382
409
|
/**
|
|
383
|
-
*
|
|
410
|
+
* Queries the progress and final results of homework grading based on the task ID.
|
|
411
|
+
*
|
|
412
|
+
* @remarks
|
|
413
|
+
* ## Request description
|
|
414
|
+
* - This operation queries the status and detailed results of single-page homework grading by using the `taskId` returned when the task is submitted.
|
|
415
|
+
* - The caller should poll this operation at an interval of 1 to 2 seconds until the task status changes to `finished` or `failed`.
|
|
416
|
+
* - When the task status is `finished`, the response contains complete grading information, including question recognition, grading conclusions, dewarped images, and rendered images.
|
|
417
|
+
* - If the task fails (the status is `failed`), check the `message` field in the response or the specific fault information in `data`.
|
|
418
|
+
* - All requests and responses are in JSON format.
|
|
384
419
|
*
|
|
385
420
|
* @param request - GetEduHomeworkCorrectionResultRequest
|
|
386
421
|
* @returns GetEduHomeworkCorrectionResultResponse
|
|
@@ -391,7 +426,17 @@ class Client extends openapi_core_1.default {
|
|
|
391
426
|
return await this.getEduHomeworkCorrectionResultWithOptions(request, headers, runtime);
|
|
392
427
|
}
|
|
393
428
|
/**
|
|
394
|
-
*
|
|
429
|
+
* Queries whether the current account has activated Qwen education-related services.
|
|
430
|
+
*
|
|
431
|
+
* @remarks
|
|
432
|
+
* ## Request description
|
|
433
|
+
* This operation queries whether a specified Alibaba Cloud account or RAM user has successfully activated the Qwen learning AI suite. Before calling any business API operations, you must use this operation to confirm that the service status is `ACTIVE`. If the service is not activated, perform the corresponding operations based on the returned status information, such as waiting for a period of time and retrying.
|
|
434
|
+
* ### Precautions
|
|
435
|
+
* - This operation supports calls from Alibaba Cloud accounts and RAM users.
|
|
436
|
+
* - When a RAM user calls this operation, make sure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
437
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
438
|
+
* - If the status is `ACTIVATING`, retry the query after the time interval recommended by the returned `retry_after_seconds` field.
|
|
439
|
+
* - If a failure occurs (`FAILED`), refer to the specific error code, take corresponding measures, and then try again.
|
|
395
440
|
*
|
|
396
441
|
* @param request - GetQwenEduApiActivationStatusRequest
|
|
397
442
|
* @param headers - map
|
|
@@ -417,7 +462,17 @@ class Client extends openapi_core_1.default {
|
|
|
417
462
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetQwenEduApiActivationStatusResponse({}));
|
|
418
463
|
}
|
|
419
464
|
/**
|
|
420
|
-
*
|
|
465
|
+
* Queries whether the current account has activated Qwen education-related services.
|
|
466
|
+
*
|
|
467
|
+
* @remarks
|
|
468
|
+
* ## Request description
|
|
469
|
+
* This operation queries whether a specified Alibaba Cloud account or RAM user has successfully activated the Qwen learning AI suite. Before calling any business API operations, you must use this operation to confirm that the service status is `ACTIVE`. If the service is not activated, perform the corresponding operations based on the returned status information, such as waiting for a period of time and retrying.
|
|
470
|
+
* ### Precautions
|
|
471
|
+
* - This operation supports calls from Alibaba Cloud accounts and RAM users.
|
|
472
|
+
* - When a RAM user calls this operation, make sure that the RAM user has the required RAM permissions. The service is activated for the Alibaba Cloud account to which the RAM user belongs.
|
|
473
|
+
* - This operation is idempotent based on the Alibaba Cloud account ID. Repeated calls do not result in multiple activations.
|
|
474
|
+
* - If the status is `ACTIVATING`, retry the query after the time interval recommended by the returned `retry_after_seconds` field.
|
|
475
|
+
* - If a failure occurs (`FAILED`), refer to the specific error code, take corresponding measures, and then try again.
|
|
421
476
|
*
|
|
422
477
|
* @param request - GetQwenEduApiActivationStatusRequest
|
|
423
478
|
* @returns GetQwenEduApiActivationStatusResponse
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,wEAAkD;AAClD,0EAA6C;AAC7C,yDAAkE;AAGlE,wDAA0C;AAC1C,iDAA+B;AAE/B,MAAqB,MAAO,SAAQ,sBAAO;IAEzC,YAAY,MAA2B;QACrC,KAAK,CAAC,MAAM,CAAC,C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C,EAAE,CAAC,CAAC,CAAC;IACpK,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,6BAA6B,CAAC,OAAqD;QACvF,IAAI,OAAO,GAAG,IAAI,KAAK,CAAC,cAAc,CAAC,EAAG,CAAC,CAAC;QAC5C,IAAI,OAAO,GAA8B,EAAG,CAAC;QAC7C,OAAO,MAAM,IAAI,CAAC,wCAAwC,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;CAEF;AA/aD,yBA+aC"}
|
|
@@ -2,8 +2,21 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
/**
|
|
3
3
|
*/
|
|
4
4
|
export declare class ActivateQwenEduApiResponseBodyData extends $dara.Model {
|
|
5
|
+
/**
|
|
6
|
+
* @remarks
|
|
7
|
+
* The failure description.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* Service activation failed. Try again later
|
|
11
|
+
*/
|
|
5
12
|
failMessage?: string;
|
|
6
13
|
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The activation status. Valid values:
|
|
16
|
+
* - ACTIVE: Activated.
|
|
17
|
+
* - ACTIVATING: Activating.
|
|
18
|
+
* - FAILED: Activation failed.
|
|
19
|
+
*
|
|
7
20
|
* @example
|
|
8
21
|
* ACTIVE
|
|
9
22
|
*/
|
|
@@ -21,16 +34,33 @@ export declare class ActivateQwenEduApiResponseBodyData extends $dara.Model {
|
|
|
21
34
|
}
|
|
22
35
|
export declare class ActivateQwenEduApiResponseBody extends $dara.Model {
|
|
23
36
|
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The API status or POP error code.
|
|
39
|
+
*
|
|
24
40
|
* @example
|
|
25
41
|
* OK
|
|
26
42
|
*/
|
|
27
43
|
code?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The activation result. This parameter is null when an error occurs.
|
|
47
|
+
*/
|
|
28
48
|
data?: ActivateQwenEduApiResponseBodyData;
|
|
29
49
|
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The request error message.
|
|
52
|
+
*
|
|
30
53
|
* @example
|
|
31
54
|
* success
|
|
32
55
|
*/
|
|
33
56
|
message?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @remarks
|
|
59
|
+
* The POP request ID. This parameter is not returned when signature or identity verification fails.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* 5C5E3F0A-2B0E-4F7B-9C55-0E1A6A0E2F11
|
|
63
|
+
*/
|
|
34
64
|
requestId?: string;
|
|
35
65
|
static names(): {
|
|
36
66
|
[key: string]: string;
|