diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/nlp-automl/2019-11-11/api-docs.php | |
| download | acs-metadata-full-b5cdc3380f379f7c0246858ac091f04334b7fb8d.tar.gz acs-metadata-full-b5cdc3380f379f7c0246858ac091f04334b7fb8d.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/nlp-automl/2019-11-11/api-docs.php')
| -rw-r--r-- | data/en_us/nlp-automl/2019-11-11/api-docs.php | 859 |
1 files changed, 859 insertions, 0 deletions
diff --git a/data/en_us/nlp-automl/2019-11-11/api-docs.php b/data/en_us/nlp-automl/2019-11-11/api-docs.php new file mode 100644 index 0000000..22db059 --- /dev/null +++ b/data/en_us/nlp-automl/2019-11-11/api-docs.php @@ -0,0 +1,859 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'nlp-automl', + 'version' => '2019-11-11', + ], + 'directories' => [ + [ + 'id' => 66230, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateAsyncPredict', + 'GetAsyncPredict', + ], + ], + [ + 'id' => 66233, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetPredictResult', + 'RunPreTrainService', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateAsyncPredict' => [ + 'summary' => '创建异步预测任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnlp2P1OGB', + 'FEATUREnlp6HZZI5', + 'FEATUREnlp8RK87E', + 'FEATUREnlpMXQY7X', + 'FEATUREnlp0537I6', + 'FEATUREnlpAOZDQ8', + 'FEATUREnlpCAMXDD', + 'FEATUREnlpEZFBRW', + 'FEATUREnlpM7P12V', + 'FEATUREnlp3ZJX2G', + 'FEATUREnlpQTX906', + 'FEATUREnlp97BF9V', + 'FEATUREnlpLCH6DG', + 'FEATUREnlpR1YV22', + 'FEATUREnlpDG0HX3', + 'FEATUREnlpJOUXF2', + 'FEATUREnlp9YSZ64', + 'FEATUREnlpF61RQU', + 'FEATUREnlpUZ2C2Y', + 'FEATUREnlpM0OA48', + 'FEATUREnlpZBZJI2', + 'FEATUREnlp01ENOR', + 'FEATUREnlpV1PN9B', + 'FEATUREnlp0VR1QU', + 'FEATUREnlpWB1IYO', + 'FEATUREnlp6X5BYZ', + 'FEATUREnlpX2LEJN', + 'FEATUREnlpLSF30C', + 'FEATUREnlpQ032BR', + 'FEATUREnlpQHAWK2', + 'FEATUREnlpWLVJE2', + 'FEATUREnlp4JXFXB', + 'FEATUREnlp0PKWIK', + 'FEATUREnlp1V7KGA', + 'FEATUREnlpR5NT62', + 'FEATUREnlpUC15C2', + 'FEATUREnlpOT0DNK', + 'FEATUREnlpQBSUD4', + 'FEATUREnlp8ES9UE', + 'FEATUREnlpTE27I1', + 'FEATUREnlp6WE0DC', + 'FEATUREnlpVBPY3Z', + 'FEATUREnlp0MGP51', + 'FEATUREnlpJSUF2I', + ], + ], + 'parameters' => [ + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'title' => '根据服务名称和服务版本创建异步预测的时候,此参数不必传;否则必传;', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'V1', + ], + ], + [ + 'name' => 'DetailTag', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'TopK', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0,3', + ], + ], + [ + 'name' => 'FileType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'text,html,pdf,docx,doc', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://127.0.0.1/example.docx', + ], + ], + [ + 'name' => 'FileContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[base64 encode content]', + ], + ], + [ + 'name' => 'FetchContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'true,false', + ], + ], + [ + 'name' => 'ServiceName', + 'in' => 'formData', + 'schema' => [ + 'title' => '服务名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ContractNERPretrain', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '服务版本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'V1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AsyncPredictId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'E5C4531B-8331-5CD5-BEB3-2F8B58A4D680', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '40002', + 'errorMessage' => 'The specified interface is throttled.', + ], + [ + 'errorCode' => '40013', + 'errorMessage' => 'An error occurred while authenticating the model.', + ], + ], + 400 => [ + [ + 'errorCode' => 'InvalidAccountStatus.ServiceUnavailable', + 'errorMessage' => 'The NLP Auto Machine Learning service has not been activated.', + ], + [ + 'errorCode' => 'InvalidAccountStatus.ServiceLimit', + 'errorMessage' => 'The maximum number of free API daily visits is exceeded.', + ], + [ + 'errorCode' => 'InvalidParameter.ModelId', + 'errorMessage' => 'The specified modelId is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter.ModelVersion', + 'errorMessage' => 'The specified modelVersion is invalid.', + ], + [ + 'errorCode' => 'InvalidContentLength', + 'errorMessage' => 'The length of content exceeds the limit.', + ], + [ + 'errorCode' => 'parameterError', + 'errorMessage' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'predictLimit', + 'errorMessage' => 'The maximum number of submitted tasks is exceeded.', + ], + [ + 'errorCode' => 'postPaidArrearage', + 'errorMessage' => 'The service is not opened or the account is overdue.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Forbbiden', + 'errorMessage' => 'You are not authorized to operate on the specified resource.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The specified Model does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'An error occurred while processing your request.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'An error occurred while processing your request.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AsyncPredictId\\": 1,\\n \\"RequestId\\": \\"E5C4531B-8331-5CD5-BEB3-2F8B58A4D680\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateAsyncPredictResponse>\\r\\n <requestId>A357B459-3EA6-4F68-B285-FFDDF4E4662D</requestId>\\r\\n <asyncPredictId>1634</asyncPredictId>\\r\\n</CreateAsyncPredictResponse>","errorExample":""}]', + 'title' => 'CreateAsyncPredict', + ], + 'GetAsyncPredict' => [ + 'summary' => '获取异步预测结果', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnlp2P1OGB', + 'FEATUREnlp6HZZI5', + 'FEATUREnlp8RK87E', + 'FEATUREnlpMXQY7X', + 'FEATUREnlp0537I6', + 'FEATUREnlpAOZDQ8', + 'FEATUREnlpCAMXDD', + 'FEATUREnlpEZFBRW', + 'FEATUREnlpM7P12V', + 'FEATUREnlp3ZJX2G', + 'FEATUREnlpQTX906', + 'FEATUREnlp97BF9V', + 'FEATUREnlpLCH6DG', + 'FEATUREnlpR1YV22', + 'FEATUREnlpDG0HX3', + 'FEATUREnlpJOUXF2', + 'FEATUREnlp9YSZ64', + 'FEATUREnlpF61RQU', + 'FEATUREnlpUZ2C2Y', + 'FEATUREnlpM0OA48', + 'FEATUREnlpZBZJI2', + 'FEATUREnlp01ENOR', + 'FEATUREnlpV1PN9B', + 'FEATUREnlp0VR1QU', + 'FEATUREnlpWB1IYO', + 'FEATUREnlp6X5BYZ', + 'FEATUREnlpX2LEJN', + 'FEATUREnlpLSF30C', + 'FEATUREnlpQ032BR', + 'FEATUREnlpQHAWK2', + 'FEATUREnlpWLVJE2', + 'FEATUREnlp4JXFXB', + 'FEATUREnlp0PKWIK', + 'FEATUREnlp1V7KGA', + 'FEATUREnlpR5NT62', + 'FEATUREnlpUC15C2', + 'FEATUREnlpOT0DNK', + 'FEATUREnlpQBSUD4', + 'FEATUREnlp8ES9UE', + 'FEATUREnlpTE27I1', + 'FEATUREnlp6WE0DC', + 'FEATUREnlpVBPY3Z', + 'FEATUREnlp0MGP51', + 'FEATUREnlpJSUF2I', + ], + ], + 'parameters' => [ + [ + 'name' => 'AsyncPredictId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1629', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AsyncPredictId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1629', + ], + 'Status' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'EBF1AAD7-A3FB-4A78-B5E9-8356324B12B2', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'json string', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidAccountStatus.ServiceUnavailable', + 'errorMessage' => 'The NLP Auto Machine Learning service has not been activated.', + ], + [ + 'errorCode' => 'InvalidAccountStatus.ServiceLimit', + 'errorMessage' => 'The maximum number of free API daily visits is exceeded.', + ], + [ + 'errorCode' => 'InvalidParameter.ModelId', + 'errorMessage' => 'The specified modelId is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter.ModelVersion', + 'errorMessage' => 'The specified modelVersion is invalid.', + ], + [ + 'errorCode' => 'InvalidContentLength', + 'errorMessage' => 'The length of content exceeds the limit.', + ], + [ + 'errorCode' => 'Account arrearage', + 'errorMessage' => 'The account is arrearage.', + ], + [ + 'errorCode' => 'PermissionDeny', + 'errorMessage' => 'No RAM permission.', + ], + ], + 403 => [ + [ + 'errorCode' => 'Forbbiden', + 'errorMessage' => 'You are not authorized to operate on the specified resource.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The specified Model does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'An error occurred while processing your request.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'An error occurred while processing your request.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AsyncPredictId\\": 1629,\\n \\"Status\\": 2,\\n \\"RequestId\\": \\"EBF1AAD7-A3FB-4A78-B5E9-8356324B12B2\\",\\n \\"Content\\": \\"json string\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAsyncPredictResponse>\\n <requestId>EBF1AAD7-A3FB-4A78-B5E9-8356324B12B2</requestId>\\n <asyncPredictId>1629</asyncPredictId>\\n <status>2</status>\\n <content></content>\\n</GetAsyncPredictResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'GetPredictResult' => [ + 'summary' => '获取模型预测结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnlp6HZZI5', + 'FEATUREnlpMXQY7X', + 'FEATUREnlpAOZDQ8', + 'FEATUREnlpEZFBRW', + 'FEATUREnlp3ZJX2G', + 'FEATUREnlp97BF9V', + 'FEATUREnlpR1YV22', + 'FEATUREnlpJOUXF2', + 'FEATUREnlpF61RQU', + 'FEATUREnlpM0OA48', + 'FEATUREnlp01ENOR', + 'FEATUREnlp0VR1QU', + 'FEATUREnlp6X5BYZ', + ], + ], + 'parameters' => [ + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1818', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + [ + 'name' => 'ModelVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'V1', + ], + ], + [ + 'name' => 'DetailTag', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'TopK', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '32CE4E89-218B-4DAE-A103-E6BFA66EE63B', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidAccountStatus.ServiceUnavailable', + 'errorMessage' => 'The NLP Auto Machine Learning service has not been activated.', + ], + [ + 'errorCode' => 'InvalidAccountStatus.ServiceLimit', + 'errorMessage' => 'The maximum number of free API daily visits is exceeded.', + ], + [ + 'errorCode' => 'InvalidParameter.ModelId', + 'errorMessage' => 'The specified modelId is invalid.', + ], + [ + 'errorCode' => 'InvalidParameter.ModelVersion', + 'errorMessage' => 'The specified modelVersion is invalid.', + ], + [ + 'errorCode' => 'InvalidContentLength', + 'errorMessage' => 'The length of content exceeds the limit.', + ], + [ + 'errorCode' => 'parameterError', + 'errorMessage' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'Account arrearage', + 'errorMessage' => 'The account is arrearage.', + ], + [ + 'errorCode' => 'PermissionDeny', + 'errorMessage' => 'No RAM permission.', + ], + ], + 403 => [ + [ + 'errorCode' => '40003', + 'errorMessage' => 'An error occurred while authenticating the model.', + ], + [ + 'errorCode' => 'Forbbiden', + 'errorMessage' => 'You are not authorized to operate on the specified resource.', + ], + [ + 'errorCode' => '40002', + 'errorMessage' => 'The specified interface is throttled.', + ], + [ + 'errorCode' => '40013', + 'errorMessage' => 'An error occurred while authenticating the model.', + ], + ], + [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The specified Model does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'An error occurred while processing your request.', + ], + [ + 'errorCode' => 'ModelInferenceFailed', + 'errorMessage' => 'The model inference result is null.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'An error occurred while processing your request.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Content\\": \\"\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'GetPredictResult', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RunPreTrainService' => [ + 'summary' => '预训练服务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREnlp2P1OGB', + 'FEATUREnlp8RK87E', + 'FEATUREnlp0537I6', + 'FEATUREnlpCAMXDD', + 'FEATUREnlpM7P12V', + 'FEATUREnlpQTX906', + 'FEATUREnlpLCH6DG', + 'FEATUREnlpDG0HX3', + 'FEATUREnlp9YSZ64', + 'FEATUREnlpUZ2C2Y', + 'FEATUREnlpZBZJI2', + 'FEATUREnlpV1PN9B', + 'FEATUREnlpWB1IYO', + 'FEATUREnlpX2LEJN', + 'FEATUREnlpLSF30C', + 'FEATUREnlpQ032BR', + 'FEATUREnlpQHAWK2', + 'FEATUREnlpWLVJE2', + 'FEATUREnlp4JXFXB', + 'FEATUREnlp0PKWIK', + 'FEATUREnlp1V7KGA', + 'FEATUREnlpR5NT62', + 'FEATUREnlpUC15C2', + 'FEATUREnlpOT0DNK', + 'FEATUREnlpQBSUD4', + 'FEATUREnlp8ES9UE', + 'FEATUREnlpTE27I1', + 'FEATUREnlp6WE0DC', + 'FEATUREnlpVBPY3Z', + 'FEATUREnlp0MGP51', + 'FEATUREnlpJSUF2I', + ], + ], + 'parameters' => [ + [ + 'name' => 'ServiceName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ReviewAnalysis', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'V1', + ], + ], + [ + 'name' => 'PredictContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PredictResult' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '7310FFCF-9FE8-4257-AE38-0E1AD828C2CC', + ], + 'BillingCount' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'InvalidAccountStatus.ServiceUnavailable', + 'errorMessage' => 'The NLP Auto Machine Learning service has not been activated.', + ], + [ + 'errorCode' => 'InvalidAccountStatus.ServiceLimit', + 'errorMessage' => 'The maximum number of free API daily visits is exceeded.', + ], + [ + 'errorCode' => 'parameterError', + 'errorMessage' => 'The parameter is invalid.', + ], + [ + 'errorCode' => 'predictContentLength', + 'errorMessage' => 'The length of content exceeds the limit.', + ], + [ + 'errorCode' => 'postPaidArrearage', + 'errorMessage' => 'The service is not opened or the account is overdue.', + ], + [ + 'errorCode' => 'PermissionDeny', + 'errorMessage' => 'No RAM permission.', + ], + ], + 404 => [ + [ + 'errorCode' => 'ResourceNotFound', + 'errorMessage' => 'The specified Model does not exist.', + ], + ], + 500 => [ + [ + 'errorCode' => 'ModelInferenceError', + 'errorMessage' => 'Failed to obtain the model prediction result.', + ], + [ + 'errorCode' => 'UnknownError', + 'errorMessage' => 'A server error occurred while processing your request. Please try again later or contact customer support.', + ], + [ + 'errorCode' => 'InternalError', + 'errorMessage' => 'An error occurred while processing your request.', + ], + [ + 'errorCode' => 'predictTimeout', + 'errorMessage' => 'model predict cost greater than 9000ms.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'An error occurred while processing your request.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PredictResult\\": \\"{\\\\\\"cost\\\\\\":\\\\\\"21.812ms\\\\\\",\\\\\\"imprs\\\\\\":[{\\\\\\"aspect\\\\\\":\\\\\\"款式\\\\\\",\\\\\\"clause\\\\\\":\\\\\\"这件衣服真好看\\\\\\",\\\\\\"neg_prob\\\\\\":0.0,\\\\\\"pos_prob\\\\\\":0.566100001335144,\\\\\\"position\\\\\\":\\\\\\"0,7\\\\\\",\\\\\\"sentiment\\\\\\":\\\\\\"正\\\\\\"}]},\\\\\\"message\\\\\\":\\\\\\"SUCCESS\\\\\\",\\\\\\"tracerId\\\\\\":\\\\\\"7973b50e31dcbea8323460e0134d3226\\\\\\"}\\",\\n \\"RequestId\\": \\"7310FFCF-9FE8-4257-AE38-0E1AD828C2CC\\",\\n \\"BillingCount\\": 1\\n}","errorExample":""},{"type":"xml","example":"<RunPreTrainServiceResponse>\\n <PredictResult>{\\"cost\\":\\"21.812ms\\",\\"imprs\\":[{\\"aspect\\":\\"款式\\",\\"clause\\":\\"这件衣服真好看\\",\\"neg_prob\\":0.0,\\"pos_prob\\":0.566100001335144,\\"position\\":\\"0,7\\",\\"sentiment\\":\\"正\\"}]},\\"message\\":\\"SUCCESS\\",\\"tracerId\\":\\"7973b50e31dcbea8323460e0134d3226\\"}</PredictResult>\\n <RequestId>7310FFCF-9FE8-4257-AE38-0E1AD828C2CC</RequestId>\\n <BillingCount>1</BillingCount>\\n</RunPreTrainServiceResponse>","errorExample":""}]', + 'title' => 'RunPreTrainService', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'nlp-automl.cn-hangzhou.aliyuncs.com', + ], + ], +]; |
