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/documentautoml/2022-12-29 | |
| download | acs-metadata-full-main.tar.gz acs-metadata-full-main.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/documentautoml/2022-12-29')
| -rw-r--r-- | data/en_us/documentautoml/2022-12-29/api-docs.php | 990 |
1 files changed, 990 insertions, 0 deletions
diff --git a/data/en_us/documentautoml/2022-12-29/api-docs.php b/data/en_us/documentautoml/2022-12-29/api-docs.php new file mode 100644 index 0000000..2b828ec --- /dev/null +++ b/data/en_us/documentautoml/2022-12-29/api-docs.php @@ -0,0 +1,990 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'documentAutoml', + 'version' => '2022-12-29', + ], + 'directories' => [ + 'PredictTemplateModel', + 'PredictModel', + 'PredictClassifierModel', + 'CreateModelAsyncPredict', + 'GetModelAsyncPredict', + 'PredictPreTrainModel', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'PredictTemplateModel' => [ + 'summary' => '文档自学习模版模型预测接口', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'BinaryToText', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'data:image/png;base64,xxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F25FBAB4-665A-5D85-8AEF-39AE29F7D588', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'example' => '', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '21002', + 'errorMessage' => '模板预测超时', + ], + [ + 'errorCode' => '21003', + 'errorMessage' => '模板预测失败', + ], + [ + 'errorCode' => '21004', + 'errorMessage' => '模板提交失败 ', + ], + [ + 'errorCode' => '10001', + 'errorMessage' => '参数出错 ', + ], + [ + 'errorCode' => '10005', + 'errorMessage' => '服务不存在 ', + ], + [ + 'errorCode' => '21018', + 'errorMessage' => '未找到模板信息 ', + ], + [ + 'errorCode' => '16001', + 'errorMessage' => '未找到可预测的模型', + ], + [ + 'errorCode' => '16004', + 'errorMessage' => '指定的模型不存在', + ], + [ + 'errorCode' => '23002', + 'errorMessage' => '获取资源HTTP异常 ', + ], + [ + 'errorCode' => '22002', + 'errorMessage' => 'ocr服务异常 ', + ], + [ + 'errorCode' => '11002', + 'errorMessage' => '账号没有开通服务 ', + ], + [ + 'errorCode' => '19999', + 'errorMessage' => '未知异常', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F25FBAB4-665A-5D85-8AEF-39AE29F7D588\\",\\n \\"Data\\": {\\n \\"score\\": 0.9091,\\n \\"data\\": [\\n {\\n \\"prob\\": 1,\\n \\"fieldName\\": \\"姓名\\",\\n \\"fieldWordRaw\\": \\"方大呆\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.9899999999999999,\\n \\"location\\": [\\n {\\n \\"x\\": 119,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 199,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 199,\\n \\"y\\": 69\\n },\\n {\\n \\"x\\": 119,\\n \\"y\\": 69\\n }\\n ],\\n \\"word\\": \\"方大呆\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 119,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 67\\n },\\n {\\n \\"x\\": 119,\\n \\"y\\": 67\\n }\\n ],\\n \\"word\\": \\"方\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 142,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 165,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 165,\\n \\"y\\": 67\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 67\\n }\\n ],\\n \\"word\\": \\"大\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 167,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 197,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 197,\\n \\"y\\": 67\\n },\\n {\\n \\"x\\": 167,\\n \\"y\\": 67\\n }\\n ],\\n \\"word\\": \\"呆\\"\\n }\\n ]\\n }\\n ],\\n \\"location\\": [\\n {\\n \\"x\\": 119,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 199,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 199,\\n \\"y\\": 69\\n },\\n {\\n \\"x\\": 119,\\n \\"y\\": 69\\n }\\n ],\\n \\"fieldWord\\": \\"方大呆\\"\\n },\\n {\\n \\"prob\\": 1,\\n \\"fieldName\\": \\"性别\\",\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 117,\\n \\"y\\": 93\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 93\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 112\\n },\\n {\\n \\"x\\": 117,\\n \\"y\\": 112\\n }\\n ],\\n \\"word\\": \\"男\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 117,\\n \\"y\\": 93\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 93\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 112\\n },\\n {\\n \\"x\\": 117,\\n \\"y\\": 112\\n }\\n ],\\n \\"word\\": \\"男\\"\\n }\\n ]\\n }\\n ],\\n \\"location\\": [\\n {\\n \\"x\\": 117,\\n \\"y\\": 93\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 93\\n },\\n {\\n \\"x\\": 142,\\n \\"y\\": 112\\n },\\n {\\n \\"x\\": 117,\\n \\"y\\": 112\\n }\\n ],\\n \\"fieldWord\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 1,\\n \\"fieldName\\": \\"身份证号\\",\\n \\"fieldWordRaw\\": \\"310101********3222\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.9899999999999998,\\n \\"location\\": [\\n {\\n \\"x\\": 206,\\n \\"y\\": 301\\n },\\n {\\n \\"x\\": 518,\\n \\"y\\": 301\\n },\\n {\\n \\"x\\": 518,\\n \\"y\\": 320\\n },\\n {\\n \\"x\\": 206,\\n \\"y\\": 320\\n }\\n ],\\n \\"word\\": \\"310101198610203222\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 206,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 223,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 223,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 206,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"3\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 223,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 238,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 238,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 223,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"1\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 240,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 255,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 255,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 240,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"0\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 259,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 274,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 274,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"1\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 276,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 291,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 291,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 276,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"0\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 292,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 307,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 307,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 292,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"1\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 311,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 326,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 326,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 311,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"1\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 328,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 343,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 343,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 328,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"9\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 344,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 359,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 359,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 344,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"8\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 361,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 376,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 376,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 361,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"6\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 380,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 395,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 395,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 380,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"1\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 396,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 411,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 411,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 396,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"0\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 415,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 430,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 430,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 415,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"2\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 432,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 447,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 447,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 432,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"0\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 448,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 463,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 463,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 448,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"3\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 467,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 482,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 482,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"2\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 484,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 499,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 499,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 484,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"2\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 501,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 516,\\n \\"y\\": 302\\n },\\n {\\n \\"x\\": 516,\\n \\"y\\": 319\\n },\\n {\\n \\"x\\": 501,\\n \\"y\\": 319\\n }\\n ],\\n \\"word\\": \\"2\\"\\n }\\n ]\\n }\\n ],\\n \\"location\\": [\\n {\\n \\"x\\": 206,\\n \\"y\\": 301\\n },\\n {\\n \\"x\\": 518,\\n \\"y\\": 301\\n },\\n {\\n \\"x\\": 518,\\n \\"y\\": 320\\n },\\n {\\n \\"x\\": 206,\\n \\"y\\": 320\\n }\\n ],\\n \\"fieldWord\\": \\"310101198610203222\\"\\n },\\n {\\n \\"prob\\": 1,\\n \\"fieldName\\": \\"名族\\",\\n \\"fieldWordRaw\\": \\"汉\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 232,\\n \\"y\\": 94\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 94\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 112\\n },\\n {\\n \\"x\\": 232,\\n \\"y\\": 112\\n }\\n ],\\n \\"word\\": \\"汉\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"location\\": [\\n {\\n \\"x\\": 232,\\n \\"y\\": 94\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 94\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 112\\n },\\n {\\n \\"x\\": 232,\\n \\"y\\": 112\\n }\\n ],\\n \\"word\\": \\"汉\\"\\n }\\n ]\\n }\\n ],\\n \\"location\\": [\\n {\\n \\"x\\": 232,\\n \\"y\\": 94\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 94\\n },\\n {\\n \\"x\\": 259,\\n \\"y\\": 112\\n },\\n {\\n \\"x\\": 232,\\n \\"y\\": 112\\n }\\n ],\\n \\"fieldWord\\": \\"汉\\"\\n }\\n ],\\n \\"specificType\\": \\"infoCustomeKvTemp\\",\\n \\"width\\": 586,\\n \\"angle\\": 0,\\n \\"classType\\": \\"template\\",\\n \\"height\\": 374,\\n \\"predictFile\\": \\"https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/demo/demo.png\\"\\n },\\n \\"Message\\": \\"successful\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]', + ], + 'PredictModel' => [ + 'summary' => '文档自学习模型预测接口', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'maximum' => '9999999999999', + 'minimum' => '1', + 'example' => '123', + ], + ], + [ + 'name' => 'BinaryToText', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => '', + 'default' => 'false', + ], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'data:image/png;base64,xxxxx'."\n", + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3EAC98E6-8DD6-511F-8764-DEE8B6EB6BB4', + ], + 'Code' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '21002', + 'errorMessage' => '模板预测超时 ', + ], + [ + 'errorCode' => '21003', + 'errorMessage' => '模板预测失败 ', + ], + [ + 'errorCode' => '10001', + 'errorMessage' => '参数出错', + ], + [ + 'errorCode' => '10005', + 'errorMessage' => '服务不存在', + ], + [ + 'errorCode' => '16001', + 'errorMessage' => '未找到可预测的模型', + ], + [ + 'errorCode' => '13018', + 'errorMessage' => '未找到模型信息', + ], + [ + 'errorCode' => '16004', + 'errorMessage' => '指定的模型不存在', + ], + [ + 'errorCode' => '23002', + 'errorMessage' => '获取资源HTTP异常', + ], + [ + 'errorCode' => '11002', + 'errorMessage' => '账号没有开通服务', + ], + [ + 'errorCode' => '19999', + 'errorMessage' => '未知异常', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3EAC98E6-8DD6-511F-8764-DEE8B6EB6BB4\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"RequestId\\": \\"0C066DD3-F55D-18F7-8577-DE533E04054D\\",\\n \\"Message\\": \\"\\",\\n \\"Data\\": {\\n \\"code\\": 200,\\n \\"data\\": {\\n \\"姓名\\": \\"xxx\\",\\n \\"证号\\": \\"xxx\\",\\n \\"性别\\": \\"女\\"\\n },\\n \\"specificType\\": \\"ocr_infoExtractBill\\",\\n \\"originalFileUrl\\": \\"https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/demo/extractBill.png\\",\\n \\"message\\": \\"\\",\\n \\"type\\": \\"卡证\\",\\n \\"version\\": \\"1.0.9\\",\\n \\"predictFile\\": \\"\\",\\n \\"tim_img\\": \\"17\\",\\n \\"score\\": 1.05,\\n \\"wid\\": \\"1544\\",\\n \\"hgt\\": \\"1054\\",\\n \\"imageUrl\\": \\"\\",\\n \\"angle\\": \\"0\\",\\n \\"orig_hgt\\": \\"1054\\",\\n \\"orig_wid\\": \\"1544\\",\\n \\"tim_ocr\\": \\"97\\",\\n \\"classType\\": \\"model\\",\\n \\"info\\": [\\n {\\n \\"value_loc\\": \\"595,314,595,399,398,399,398,314\\",\\n \\"key_prob\\": 1,\\n \\"key_loc\\": \\"\\",\\n \\"value_prob\\": 1,\\n \\"value\\": \\"XXX\\",\\n \\"key\\": \\"姓名\\"\\n },\\n {\\n \\"value_loc\\": \\"1256,234,1256,312,678,312,678,233\\",\\n \\"key_prob\\": 1,\\n \\"key_loc\\": \\"\\",\\n \\"value_prob\\": 1,\\n \\"value\\": \\"440305198305101408\\",\\n \\"key\\": \\"证号\\"\\n },\\n {\\n \\"value_loc\\": \\"965,321,965,394,851,394,851,321\\",\\n \\"key_prob\\": 1,\\n \\"key_loc\\": \\"\\",\\n \\"value_prob\\": 1,\\n \\"value\\": \\"女\\",\\n \\"key\\": \\"性别\\"\\n }\\n ]\\n },\\n \\"Code\\": 200\\n }\\n}","type":"json"}]', + ], + 'PredictClassifierModel' => [ + 'summary' => '文档自学习分类器预测接口', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ClassifierId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '99999999999999', + 'minimum' => '1', + 'example' => '', + ], + ], + [ + 'name' => 'AutoPrediction', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'true', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'data:image/png;base64,xxxxx'."\n", + ], + ], + [ + 'name' => 'BinaryToText', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '232B91A8-9938-5C10-B522-127D1E342A57', + ], + 'Code' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'example' => '', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '21002', + 'errorMessage' => '模板预测超时', + ], + [ + 'errorCode' => '21003', + 'errorMessage' => '模板预测失败', + ], + [ + 'errorCode' => '21004', + 'errorMessage' => '模板提交失败', + ], + [ + 'errorCode' => '10001', + 'errorMessage' => '参数出错', + ], + [ + 'errorCode' => '10002', + 'errorMessage' => '没有权限', + ], + [ + 'errorCode' => '10003', + 'errorMessage' => '非法状态', + ], + [ + 'errorCode' => '10005', + 'errorMessage' => '服务不存在', + ], + [ + 'errorCode' => '21018', + 'errorMessage' => '未找到模板信息', + ], + [ + 'errorCode' => '16001', + 'errorMessage' => '未找到可预测的模型', + ], + [ + 'errorCode' => '16004', + 'errorMessage' => '指定的模型不存在', + ], + [ + 'errorCode' => '23002', + 'errorMessage' => '获取资源HTTP异常', + ], + [ + 'errorCode' => '22002', + 'errorMessage' => 'ocr服务异常', + ], + [ + 'errorCode' => '11002', + 'errorMessage' => '账号没有开通服务', + ], + [ + 'errorCode' => '19999', + 'errorMessage' => '未知异常', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"232B91A8-9938-5C10-B522-127D1E342A57\\",\\n \\"Code\\": 200,\\n \\"Data\\": {\\n \\"score\\": 1,\\n \\"classID\\": \\"269_2b6819527769749d962bf51d034b1820\\",\\n \\"tables\\": [\\n {\\n \\"columns\\": [\\n {\\n \\"header_value\\": \\"姓名\\",\\n \\"bodies\\": [\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生1\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 99\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 99\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 123\\n }\\n ],\\n \\"value\\": \\"学生1\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生2\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 146\\n }\\n ],\\n \\"value\\": \\"学生2\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生3\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 169\\n }\\n ],\\n \\"value\\": \\"学生3\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生4\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 191\\n }\\n ],\\n \\"value\\": \\"学生4\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生5\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 215\\n }\\n ],\\n \\"value\\": \\"学生5\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生6\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 238\\n }\\n ],\\n \\"value\\": \\"学生6\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生7\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 261\\n }\\n ],\\n \\"value\\": \\"学生7\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生8\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 283\\n }\\n ],\\n \\"value\\": \\"学生8\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生9\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 307\\n }\\n ],\\n \\"value\\": \\"学生9\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"学生10\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 330\\n }\\n ],\\n \\"value\\": \\"学生10\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 352\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 375\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 399\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 399\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 399\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 399\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 422\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 444\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 467\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 491\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 514\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 536\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 76,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 559\\n },\\n {\\n \\"x\\": 76,\\n \\"y\\": 559\\n }\\n ],\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"header_box\\": [\\n {\\n \\"x\\": 96,\\n \\"y\\": 79\\n },\\n {\\n \\"x\\": 162,\\n \\"y\\": 79\\n },\\n {\\n \\"x\\": 162,\\n \\"y\\": 98\\n },\\n {\\n \\"x\\": 96,\\n \\"y\\": 98\\n }\\n ],\\n \\"col_name\\": \\"name\\"\\n },\\n {\\n \\"header_value\\": \\"性别\\",\\n \\"bodies\\": [\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 100\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 100\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 123\\n }\\n ],\\n \\"value\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 146\\n }\\n ],\\n \\"value\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 169\\n }\\n ],\\n \\"value\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 191\\n }\\n ],\\n \\"value\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 215\\n }\\n ],\\n \\"value\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"男\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 238\\n }\\n ],\\n \\"value\\": \\"男\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"女\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 261\\n }\\n ],\\n \\"value\\": \\"女\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"女\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 283\\n }\\n ],\\n \\"value\\": \\"女\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"女\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 307\\n }\\n ],\\n \\"value\\": \\"女\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"女\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 330\\n }\\n ],\\n \\"value\\": \\"女\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 352\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 375\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 399\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 399\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 399\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 399\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 422\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 444\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 467\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 491\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 514\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 536\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 187,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 296,\\n \\"y\\": 559\\n },\\n {\\n \\"x\\": 187,\\n \\"y\\": 559\\n }\\n ],\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"header_box\\": [\\n {\\n \\"x\\": 210,\\n \\"y\\": 78\\n },\\n {\\n \\"x\\": 267,\\n \\"y\\": 78\\n },\\n {\\n \\"x\\": 267,\\n \\"y\\": 100\\n },\\n {\\n \\"x\\": 210,\\n \\"y\\": 100\\n }\\n ],\\n \\"col_name\\": \\"sex\\"\\n },\\n {\\n \\"header_value\\": \\"档案号\\",\\n \\"bodies\\": [\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D001\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 100\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 100\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 123\\n }\\n ],\\n \\"value\\": \\"D001\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D002\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 123\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 146\\n }\\n ],\\n \\"value\\": \\"D002\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D003\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 146\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 169\\n }\\n ],\\n \\"value\\": \\"D003\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D004\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 169\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 191\\n }\\n ],\\n \\"value\\": \\"D004\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D005\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 191\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 215\\n }\\n ],\\n \\"value\\": \\"D005\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D006\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 215\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 238\\n }\\n ],\\n \\"value\\": \\"D006\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D007\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 238\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 261\\n }\\n ],\\n \\"value\\": \\"D007\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D008\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 261\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 283\\n }\\n ],\\n \\"value\\": \\"D008\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D009\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 283\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 307\\n }\\n ],\\n \\"value\\": \\"D009\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"D010\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 307\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 330\\n }\\n ],\\n \\"value\\": \\"D010\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 330\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 352\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 352\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 375\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 375\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 398\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 398\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 398\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 398\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 422\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 422\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 444\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 444\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 467\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 467\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 491\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 491\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 514\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 514\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 536\\n }\\n ],\\n \\"value\\": \\"\\"\\n },\\n {\\n \\"prob\\": 0,\\n \\"fieldWordRaw\\": \\"\\",\\n \\"wordInfo\\": [],\\n \\"location\\": [\\n {\\n \\"x\\": 406,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 536\\n },\\n {\\n \\"x\\": 520,\\n \\"y\\": 559\\n },\\n {\\n \\"x\\": 406,\\n \\"y\\": 559\\n }\\n ],\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"header_box\\": [\\n {\\n \\"x\\": 430,\\n \\"y\\": 78\\n },\\n {\\n \\"x\\": 493,\\n \\"y\\": 78\\n },\\n {\\n \\"x\\": 493,\\n \\"y\\": 99\\n },\\n {\\n \\"x\\": 430,\\n \\"y\\": 99\\n }\\n ],\\n \\"col_name\\": \\"ID\\"\\n }\\n ],\\n \\"table_id\\": 1675670984484\\n }\\n ],\\n \\"code\\": 0,\\n \\"data\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"fieldWordRaw\\": \\"班级:初二3班\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 2,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 124,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 124,\\n \\"y\\": 51\\n },\\n {\\n \\"x\\": 2,\\n \\"y\\": 51\\n }\\n ],\\n \\"word\\": \\"班级:初二3班\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 2,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 18,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 18,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 2,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\"班\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 18,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 32,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 32,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 18,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\"级\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 34,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 50,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 50,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 34,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\":\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 52,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 71,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 71,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 52,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\"初\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 72,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 88,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 88,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 72,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\"二\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 90,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 100,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 100,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 90,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\"3\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 103,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 124,\\n \\"y\\": 34\\n },\\n {\\n \\"x\\": 124,\\n \\"y\\": 48\\n },\\n {\\n \\"x\\": 103,\\n \\"y\\": 48\\n }\\n ],\\n \\"word\\": \\"班\\"\\n }\\n ]\\n }\\n ],\\n \\"name\\": \\"班级\\",\\n \\"location\\": [\\n {\\n \\"x\\": 1,\\n \\"y\\": 30\\n },\\n {\\n \\"x\\": 1102,\\n \\"y\\": 30\\n },\\n {\\n \\"x\\": 1102,\\n \\"y\\": 54\\n },\\n {\\n \\"x\\": 1,\\n \\"y\\": 54\\n }\\n ],\\n \\"fieldWord\\": \\"班级:初二3班\\"\\n }\\n ],\\n \\"specificType\\": \\"infoCustomeTableTemp\\",\\n \\"className\\": \\"自定义表格模板测试cz02064-学生名\\",\\n \\"originalFileUrl\\": \\"https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/xxx/stage/upload/20230208/oss-uwGPIS8AsKcGRHfMRjvIrQVqN0uAxTgk.png?Expires=1675843535&OSSAccessKeyId=xxx&Signature=uPhg6JpDn47TgLt%2FI%2F7j4f%2FsFeA%3D\\",\\n \\"templateID\\": \\"269_2b6819527769749d962bf51d034b1820\\",\\n \\"message\\": \\"\\",\\n \\"classType\\": \\"template\\",\\n \\"predictFile\\": \\"https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/xxx/stage/upload/20230208/oss-uwGPIS8AsKcGRHfMRjvIrQVqN0uAxTgk.png?Expires=1675843535&OSSAccessKeyId=xxx&Signature=uPhg6JpDn47TgLt%2FI%2F7j4f%2FsFeA%3D\\"\\n },\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', + ], + 'CreateModelAsyncPredict' => [ + 'summary' => '文档自学习创建异步预测任务接口', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ModelVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'V1', + ], + ], + [ + 'name' => 'BinaryToText', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => '', + 'default' => 'false', + ], + ], + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/1559855998794593/stage/upload/20230206/oss-hlfCRJ1SorSWs10MkqxK6YcL4OVAFSv4.png?Expires=1675665563&OSSAccessKeyId=XXXX&Signature=WLKghBc3zKzWJ3Td69%2B4C21jrbE%3D', + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'maximum' => '9999999999999', + 'minimum' => '1', + 'example' => '123', + ], + ], + [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pre_train_service', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'V1', + ], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'data:image/png;base64,xxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3EAC98E6-8DD6-511F-8764-DEE8B6EB6BB4', + ], + 'Code' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{'."\n" + .' "RequestId": "292D1584-134C-1221-B9BB-1B847C623D41",'."\n" + .' "Message": "",'."\n" + .' "Data": 1,'."\n" + .' "Code": 200'."\n" + .'}', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '21002', + 'errorMessage' => '模板预测超时 ', + ], + [ + 'errorCode' => '21003', + 'errorMessage' => '模板预测失败', + ], + [ + 'errorCode' => '10001', + 'errorMessage' => '参数出错', + ], + [ + 'errorCode' => '10005', + 'errorMessage' => '服务不存在', + ], + [ + 'errorCode' => '16001', + 'errorMessage' => '未找到可预测的模型', + ], + [ + 'errorCode' => '13018', + 'errorMessage' => '未找到模型信息', + ], + [ + 'errorCode' => '16004', + 'errorMessage' => '指定的模型不存在', + ], + [ + 'errorCode' => '23002', + 'errorMessage' => '获取资源HTTP异常', + ], + [ + 'errorCode' => '11002', + 'errorMessage' => '账号没有开通服务', + ], + [ + 'errorCode' => '19999', + 'errorMessage' => '未知异常', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3EAC98E6-8DD6-511F-8764-DEE8B6EB6BB4\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"{\\\\n \\\\\\"RequestId\\\\\\": \\\\\\"292D1584-134C-1221-B9BB-1B847C623D41\\\\\\",\\\\n \\\\\\"Message\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"Data\\\\\\": 1,\\\\n \\\\\\"Code\\\\\\": 200\\\\n}\\"\\n}","type":"json"}]', + ], + 'GetModelAsyncPredict' => [ + 'summary' => '获取文档自学习异步模型预测结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AsyncPredictId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'maximum' => '99999999999999', + 'minimum' => '1', + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3EAC98E6-8DD6-511F-8764-DEE8B6EB6BB4', + ], + 'Code' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Data' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{'."\n" + .' "RequestId": "A9796F06-F1C4-1E89-8AFD-596583FF4B16",'."\n" + .' "Message": "",'."\n" + .' "Data": {'."\n" + .' "result": "https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/stage/data/XXXX/asyncPredict/713908/oss-933bbdf4-fa10-4c56-b6ab-9c85f32bbd0e.json?Expires=1991115127&OSSAccessKeyId=XXXX&Signature=5zYLY9yR%2B9Ok1WuRgHYdqtXHK10%3D",'."\n" + .' "asyncPredictId": 713908,'."\n" + .' "errorCode": 200,'."\n" + .' "errorMsg": "",'."\n" + .' "status": 2'."\n" + .' },'."\n" + .' "Code": 200'."\n" + .'}', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '21002', + 'errorMessage' => '模板预测超时', + ], + [ + 'errorCode' => '21003', + 'errorMessage' => '模板预测失败', + ], + [ + 'errorCode' => '10001', + 'errorMessage' => '参数出错', + ], + [ + 'errorCode' => '10005', + 'errorMessage' => '服务不存在', + ], + [ + 'errorCode' => '16001', + 'errorMessage' => '未找到可预测的模型', + ], + [ + 'errorCode' => '13018', + 'errorMessage' => '未找到模型信息', + ], + [ + 'errorCode' => '16004', + 'errorMessage' => '指定的模型不存在', + ], + [ + 'errorCode' => '23002', + 'errorMessage' => '获取资源HTTP异常', + ], + [ + 'errorCode' => '11002', + 'errorMessage' => '账号没有开通服务', + ], + [ + 'errorCode' => '19999', + 'errorMessage' => '未知异常', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3EAC98E6-8DD6-511F-8764-DEE8B6EB6BB4\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"{\\\\n \\\\\\"RequestId\\\\\\": \\\\\\"A9796F06-F1C4-1E89-8AFD-596583FF4B16\\\\\\",\\\\n \\\\\\"Message\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"Data\\\\\\": {\\\\n \\\\\\"result\\\\\\": \\\\\\"https://doc-automl-public.oss-cn-hangzhou.aliyuncs.com/3/stage/data/XXXX/asyncPredict/713908/oss-933bbdf4-fa10-4c56-b6ab-9c85f32bbd0e.json?Expires=1991115127&OSSAccessKeyId=XXXX&Signature=5zYLY9yR%2B9Ok1WuRgHYdqtXHK10%3D\\\\\\",\\\\n \\\\\\"asyncPredictId\\\\\\": 713908,\\\\n \\\\\\"errorCode\\\\\\": 200,\\\\n \\\\\\"errorMsg\\\\\\": \\\\\\"\\\\\\",\\\\n \\\\\\"status\\\\\\": 2\\\\n },\\\\n \\\\\\"Code\\\\\\": 200\\\\n}\\"\\n}","type":"json"}]', + ], + 'PredictPreTrainModel' => [ + 'summary' => '文档自学习预训练模型预测接口', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'Content', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ServiceVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'V1', + ], + ], + [ + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'FormUIE', + ], + ], + [ + 'name' => 'BinaryToText', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'default' => 'false', + ], + ], + [ + 'name' => 'Body', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '29413C69-11EF-15CB-BE20-70D318E2F4E9', + ], + 'Code' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'example' => '', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 200 => [ + [ + 'errorCode' => '21002', + 'errorMessage' => '模板预测超时', + ], + [ + 'errorCode' => '21003', + 'errorMessage' => '模版预测失败', + ], + [ + 'errorCode' => '10001', + 'errorMessage' => '参数出错', + ], + [ + 'errorCode' => '16001', + 'errorMessage' => '未找到可预测的模型', + ], + [ + 'errorCode' => '13018', + 'errorMessage' => '未找到模型信息', + ], + [ + 'errorCode' => '16004', + 'errorMessage' => '指定模型不存在', + ], + [ + 'errorCode' => '23002', + 'errorMessage' => '获取资源HTTP异常', + ], + [ + 'errorCode' => '11002', + 'errorMessage' => '账号没有开通服务', + ], + [ + 'errorCode' => '19999', + 'errorMessage' => '未知异常', + ], + [ + 'errorCode' => '50008', + 'errorMessage' => '文件过大', + ], + [ + 'errorCode' => '50007', + 'errorMessage' => '文件格式不支持', + ], + [ + 'errorCode' => '10005', + 'errorMessage' => '服务不存在', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"29413C69-11EF-15CB-BE20-70D318E2F4E9\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"RequestId\\": \\"29413C69-11EF-15CB-BE20-70D318E2F4E9\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"score\\": 1,\\n \\"data\\": [\\n {\\n \\"prob\\": 0.9138551354408264,\\n \\"fieldWordRaw\\": \\"xx\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.9138551354408264,\\n \\"pos\\": [\\n {\\n \\"x\\": 468,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 476,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 476,\\n \\"y\\": 153\\n },\\n {\\n \\"x\\": 468,\\n \\"y\\": 153\\n }\\n ],\\n \\"word\\": \\"xx\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 468,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 471,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 471,\\n \\"y\\": 153\\n },\\n {\\n \\"x\\": 468,\\n \\"y\\": 153\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 473,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 476,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 476,\\n \\"y\\": 153\\n },\\n {\\n \\"x\\": 473,\\n \\"y\\": 153\\n }\\n ],\\n \\"word\\": \\"x\\"\\n }\\n ]\\n }\\n ],\\n \\"name\\": \\"姓名\\",\\n \\"location\\": [\\n {\\n \\"x\\": 468,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 476,\\n \\"y\\": 139\\n },\\n {\\n \\"x\\": 476,\\n \\"y\\": 153\\n },\\n {\\n \\"x\\": 468,\\n \\"y\\": 153\\n }\\n ],\\n \\"fieldWord\\": \\"xx\\"\\n },\\n {\\n \\"prob\\": 0.9594210982322693,\\n \\"fieldWordRaw\\": \\"xxxxxxxxxxx\\",\\n \\"wordInfo\\": [\\n {\\n \\"prob\\": 0.9594210982322693,\\n \\"pos\\": [\\n {\\n \\"x\\": 168,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 168,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"xxxxxxxxxxx\\",\\n \\"charInfo\\": [\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 366,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 383,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 383,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 366,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 384,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 401,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 401,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 384,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 402,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 414,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 414,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 402,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 418,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 427,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 427,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 418,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 429,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 438,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 438,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 429,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 439,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 448,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 448,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 439,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 450,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 179\\n },\\n {\\n \\"x\\": 450,\\n \\"y\\": 179\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 168,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 180,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 180,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 168,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 180,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 192,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 192,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 180,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"x\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 195,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 209,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 209,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 195,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"1\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 211,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 223,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 223,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 211,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"7\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 224,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 236,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 236,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 224,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"2\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 237,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 249,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 249,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 237,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"7\\"\\n },\\n {\\n \\"prob\\": 0.99,\\n \\"pos\\": [\\n {\\n \\"x\\": 253,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 270,\\n \\"y\\": 224\\n },\\n {\\n \\"x\\": 270,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 253,\\n \\"y\\": 239\\n }\\n ],\\n \\"word\\": \\"x\\"\\n }\\n ]\\n }\\n ],\\n \\"name\\": \\"住址\\",\\n \\"location\\": [\\n {\\n \\"x\\": 168,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 164\\n },\\n {\\n \\"x\\": 467,\\n \\"y\\": 239\\n },\\n {\\n \\"x\\": 168,\\n \\"y\\": 239\\n }\\n ],\\n \\"fieldWord\\": \\"xxxxxxxx\\"\\n }\\n ],\\n \\"specificType\\": \\"formuie-anti\\",\\n \\"classType\\": \\"preDefinedServer\\",\\n \\"predictFile\\": \\"https://xxxx\\"\\n },\\n \\"Code\\": 200\\n }\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'documentautoml.cn-beijing.aliyuncs.com', + ], + ], +]; |
