tccli-intl-en 3.0.1237.1__py2.py3-none-any.whl → 3.0.1282.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +17 -1
- tccli/services/advisor/advisor_client.py +8 -2
- tccli/services/aiart/aiart_client.py +4 -1
- tccli/services/ams/ams_client.py +16 -4
- tccli/services/antiddos/antiddos_client.py +280 -70
- tccli/services/apigateway/apigateway_client.py +372 -93
- tccli/services/apm/apm_client.py +52 -13
- tccli/services/asr/asr_client.py +8 -2
- tccli/services/autoscaling/autoscaling_client.py +232 -58
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/batch_client.py +112 -28
- tccli/services/bi/bi_client.py +1242 -4
- tccli/services/bi/v20220105/api.json +5340 -107
- tccli/services/bi/v20220105/examples.json +196 -1
- tccli/services/billing/billing_client.py +168 -42
- tccli/services/cam/cam_client.py +324 -81
- tccli/services/captcha/captcha_client.py +4 -1
- tccli/services/car/car_client.py +132 -33
- tccli/services/cbs/cbs_client.py +152 -38
- tccli/services/ccc/ccc_client.py +732 -98
- tccli/services/ccc/v20200210/api.json +1727 -196
- tccli/services/ccc/v20200210/examples.json +64 -0
- tccli/services/cdb/cdb_client.py +532 -133
- tccli/services/cdc/cdc_client.py +80 -20
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +176 -44
- tccli/services/cdwdoris/cdwdoris_client.py +308 -77
- tccli/services/cdwpg/cdwpg_client.py +96 -24
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +64 -16
- tccli/services/cfs/cfs_client.py +156 -39
- tccli/services/cfw/cfw_client.py +264 -66
- tccli/services/chdfs/chdfs_client.py +116 -29
- tccli/services/ciam/ciam_client.py +64 -16
- tccli/services/ckafka/ckafka_client.py +575 -77
- tccli/services/ckafka/v20190819/api.json +2749 -1470
- tccli/services/ckafka/v20190819/examples.json +209 -155
- tccli/services/clb/clb_client.py +332 -83
- tccli/services/clb/v20180317/api.json +29 -14
- tccli/services/cloudaudit/cloudaudit_client.py +72 -18
- tccli/services/cls/cls_client.py +348 -87
- tccli/services/cmq/cmq_client.py +12 -801
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +24 -6
- tccli/services/controlcenter/controlcenter_client.py +4 -1
- tccli/services/csip/csip_client.py +136 -34
- tccli/services/ctsdb/ctsdb_client.py +8 -2
- tccli/services/cvm/cvm_client.py +627 -110
- tccli/services/cvm/v20170312/api.json +750 -340
- tccli/services/cvm/v20170312/examples.json +105 -59
- tccli/services/cwp/cwp_client.py +1860 -465
- tccli/services/cynosdb/cynosdb_client.py +1749 -439
- tccli/services/cynosdb/v20190107/api.json +11763 -7697
- tccli/services/cynosdb/v20190107/examples.json +132 -4
- tccli/services/dataintegration/dataintegration_client.py +4 -1
- tccli/services/dayu/dayu_client.py +412 -103
- tccli/services/dbbrain/dbbrain_client.py +168 -42
- tccli/services/dc/dc_client.py +72 -18
- tccli/services/dcdb/dcdb_client.py +248 -62
- tccli/services/dlc/dlc_client.py +756 -111
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +8 -2
- tccli/services/dnspod/dnspod_client.py +353 -74
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +96 -24
- tccli/services/dts/dts_client.py +332 -83
- tccli/services/eb/eb_client.py +104 -26
- tccli/services/ecdn/ecdn_client.py +60 -15
- tccli/services/ecm/ecm_client.py +496 -124
- tccli/services/eiam/eiam_client.py +160 -40
- tccli/services/emr/emr_client.py +2784 -115
- tccli/services/emr/v20190103/api.json +14647 -4756
- tccli/services/emr/v20190103/examples.json +408 -40
- tccli/services/es/es_client.py +84 -21
- tccli/services/facefusion/facefusion_client.py +12 -3
- tccli/services/faceid/faceid_client.py +76 -19
- tccli/services/faceid/v20180301/api.json +79 -14
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +352 -88
- tccli/services/gme/gme_client.py +40 -10
- tccli/services/gpm/gpm_client.py +72 -18
- tccli/services/gse/gse_client.py +88 -22
- tccli/services/gwlb/gwlb_client.py +72 -18
- tccli/services/iai/iai_client.py +116 -29
- tccli/services/iap/iap_client.py +24 -6
- tccli/services/ims/ims_client.py +4 -1
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +168 -42
- tccli/services/intlpartnersmgt/v20220928/api.json +11 -11
- tccli/services/iotcloud/iotcloud_client.py +80 -20
- tccli/services/ip/ip_client.py +24 -6
- tccli/services/kms/kms_client.py +272 -68
- tccli/services/lcic/lcic_client.py +212 -53
- tccli/services/lighthouse/lighthouse_client.py +296 -74
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +480 -120
- tccli/services/lke/lke_client.py +360 -90
- tccli/services/lke/v20231130/api.json +182 -39
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +546 -0
- tccli/services/lkeap/v20240522/api.json +855 -0
- tccli/services/lkeap/v20240522/examples.json +72 -0
- tccli/services/mariadb/mariadb_client.py +200 -50
- tccli/services/mdc/mdc_client.py +72 -18
- tccli/services/mdl/mdl_client.py +132 -33
- tccli/services/mdl/v20200326/api.json +186 -12
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/mdp_client.py +680 -70
- tccli/services/mdp/v20200527/api.json +748 -23
- tccli/services/mdp/v20200527/examples.json +143 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +340 -29
- tccli/services/mongodb/v20190725/api.json +811 -226
- tccli/services/mongodb/v20190725/examples.json +54 -22
- tccli/services/monitor/monitor_client.py +864 -152
- tccli/services/monitor/v20180724/api.json +657 -8
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +592 -92
- tccli/services/mps/v20190612/api.json +2931 -399
- tccli/services/mps/v20190612/examples.json +64 -14
- tccli/services/msp/msp_client.py +28 -7
- tccli/services/ocr/ocr_client.py +212 -45
- tccli/services/ocr/v20181119/api.json +872 -112
- tccli/services/ocr/v20181119/examples.json +12 -4
- tccli/services/omics/omics_client.py +80 -20
- tccli/services/organization/organization_client.py +464 -116
- tccli/services/postgres/postgres_client.py +364 -91
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +124 -31
- tccli/services/pts/pts_client.py +192 -48
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +4 -1
- tccli/services/redis/redis_client.py +592 -106
- tccli/services/redis/v20180412/api.json +636 -240
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/region_client.py +12 -3
- tccli/services/rum/rum_client.py +240 -60
- tccli/services/scf/scf_client.py +168 -42
- tccli/services/ses/ses_client.py +116 -29
- tccli/services/sms/sms_client.py +72 -18
- tccli/services/sqlserver/sqlserver_client.py +3772 -387
- tccli/services/sqlserver/v20180328/api.json +9760 -3380
- tccli/services/sqlserver/v20180328/examples.json +478 -18
- tccli/services/ssl/ssl_client.py +152 -38
- tccli/services/ssm/ssm_client.py +96 -24
- tccli/services/sts/sts_client.py +20 -5
- tccli/services/tag/tag_client.py +120 -30
- tccli/services/tat/tat_client.py +76 -19
- tccli/services/tbaas/tbaas_client.py +16 -4
- tccli/services/tcaplusdb/tcaplusdb_client.py +208 -52
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +4 -1
- tccli/services/tcmpp/tcmpp_client.py +416 -104
- tccli/services/tcr/tcr_client.py +304 -76
- tccli/services/tcsas/tcsas_client.py +236 -59
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1320 -330
- tccli/services/tdid/tdid_client.py +192 -48
- tccli/services/tdmq/tdmq_client.py +376 -94
- tccli/services/tem/tem_client.py +224 -56
- tccli/services/teo/teo_client.py +1127 -245
- tccli/services/teo/v20220901/api.json +382 -58
- tccli/services/teo/v20220901/examples.json +24 -0
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +204 -51
- tccli/services/tke/tke_client.py +552 -138
- tccli/services/tms/tms_client.py +4 -1
- tccli/services/tmt/tmt_client.py +4 -1
- tccli/services/trabbit/trabbit_client.py +116 -29
- tccli/services/trro/trro_client.py +76 -19
- tccli/services/trtc/trtc_client.py +420 -55
- tccli/services/trtc/v20190722/api.json +685 -23
- tccli/services/trtc/v20190722/examples.json +39 -7
- tccli/services/tts/tts_client.py +4 -1
- tccli/services/vclm/vclm_client.py +8 -2
- tccli/services/vm/vm_client.py +16 -4
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vod/vod_client.py +716 -179
- tccli/services/vpc/v20170312/api.json +970 -75
- tccli/services/vpc/v20170312/examples.json +106 -10
- tccli/services/vpc/vpc_client.py +1876 -361
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1051 -147
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +5830 -1026
- tccli/services/yunjing/yunjing_client.py +284 -71
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/RECORD +214 -192
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,855 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": {
|
|
3
|
+
"CreateReconstructDocumentFlow": {
|
|
4
|
+
"document": "This API is used to initiate requests for this asynchronous API, for initiating document parsing tasks.\nDocument parsing supports converting images or PDF files into Markdown format files, and can parse content elements including tables, formulas, images, headings, paragraphs, headers, and footers, and intelligently convert the content into reading order. Please refer to the input parameter list below for specific supported file types.\nDuring the trial period, the QPS limit for a single account is only 1. If you need to access officially, please contact our R&D team.",
|
|
5
|
+
"input": "CreateReconstructDocumentFlowRequest",
|
|
6
|
+
"name": "Document Parsing Task Creation",
|
|
7
|
+
"output": "CreateReconstructDocumentFlowResponse",
|
|
8
|
+
"status": "online"
|
|
9
|
+
},
|
|
10
|
+
"CreateSplitDocumentFlow": {
|
|
11
|
+
"document": "This API is used to create document segmentation tasks, support various file types, possess mllm capacity, and can analyze and deeply understand the information in charts.",
|
|
12
|
+
"input": "CreateSplitDocumentFlowRequest",
|
|
13
|
+
"name": "Document Splitting Task Creation",
|
|
14
|
+
"output": "CreateSplitDocumentFlowResponse",
|
|
15
|
+
"status": "online"
|
|
16
|
+
},
|
|
17
|
+
"GetReconstructDocumentResult": {
|
|
18
|
+
"document": "This is an asynchronous API for querying results, which is used to obtain the result of document parsing.",
|
|
19
|
+
"input": "GetReconstructDocumentResultRequest",
|
|
20
|
+
"name": "Query Document Parsing Task Result",
|
|
21
|
+
"output": "GetReconstructDocumentResultResponse",
|
|
22
|
+
"status": "online"
|
|
23
|
+
},
|
|
24
|
+
"GetSplitDocumentResult": {
|
|
25
|
+
"document": "This API is used to query the results of document splitting tasks.",
|
|
26
|
+
"input": "GetSplitDocumentResultRequest",
|
|
27
|
+
"name": "Query Document Splitting Task Result",
|
|
28
|
+
"output": "GetSplitDocumentResultResponse",
|
|
29
|
+
"status": "online"
|
|
30
|
+
},
|
|
31
|
+
"QueryRewrite": {
|
|
32
|
+
"document": "QueryRewrite is mainly used in multi-round conversations for reference resolution and ellipsis completion. Using this API, you don't need to input prompt descriptions. A more accurate user query can be generated based on the conversation history. In terms of application scenarios, this API can be applied to various scenarios such as intelligent Q&A and conversational search.\nThere is a call limit for single-account for this API. If you need to increase the concurrency limit, please contact us (https://cloud.tencent.com/act/event/Online_service).",
|
|
33
|
+
"input": "QueryRewriteRequest",
|
|
34
|
+
"name": "Multiple rounds of rewriting",
|
|
35
|
+
"output": "QueryRewriteResponse",
|
|
36
|
+
"status": "online"
|
|
37
|
+
},
|
|
38
|
+
"ReconstructDocumentSSE": {
|
|
39
|
+
"document": "This API is used for quasi-real-time document parsing, using HTTP SSE protocol for communication.",
|
|
40
|
+
"input": "ReconstructDocumentSSERequest",
|
|
41
|
+
"name": "Performs real-time document parsing",
|
|
42
|
+
"output": "ReconstructDocumentSSEResponse",
|
|
43
|
+
"status": "online"
|
|
44
|
+
},
|
|
45
|
+
"RunRerank": {
|
|
46
|
+
"document": "This API is used to reorder the results of multi-channel recall based on the rerank model of knowledge engine fine-tuning model technology, sort the segments according to the relevance between the query and the segment content from high to low score, and output the corresponding scoring results.",
|
|
47
|
+
"input": "RunRerankRequest",
|
|
48
|
+
"name": "Reorder",
|
|
49
|
+
"output": "RunRerankResponse",
|
|
50
|
+
"status": "online"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"metadata": {
|
|
54
|
+
"apiVersion": "2024-05-22",
|
|
55
|
+
"serviceNameCN": "知识引擎原子能力",
|
|
56
|
+
"serviceShortName": "lkeap"
|
|
57
|
+
},
|
|
58
|
+
"objects": {
|
|
59
|
+
"CreateReconstructDocumentFlowConfig": {
|
|
60
|
+
"document": "Configuration information for creating intelligent document parsing tasks.",
|
|
61
|
+
"members": [
|
|
62
|
+
{
|
|
63
|
+
"disabled": false,
|
|
64
|
+
"document": "The form in which tables in a Markdown file are returned.\n- 0: returned as MD.\n- 1: returned as HTML.\nThe default is 0.",
|
|
65
|
+
"example": "1",
|
|
66
|
+
"member": "string",
|
|
67
|
+
"name": "TableResultType",
|
|
68
|
+
"required": false,
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"disabled": false,
|
|
73
|
+
"document": "The format of the returned results of intelligent document parsing.\n- 0: only returns full-text MD.\n- 1: only returns the OCR original Json for each page.\n- 2: only returns the MD of each page.\n- 3: returns the full-text MD and the original OCR Json of each page.\n- 4: returns full-text MD and MD of each page.\nThe default value is 3 (returns the full-text MD and the original OCR Json of each page).",
|
|
74
|
+
"example": "3",
|
|
75
|
+
"member": "string",
|
|
76
|
+
"name": "ResultType",
|
|
77
|
+
"required": false,
|
|
78
|
+
"type": "string"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"usage": "in"
|
|
82
|
+
},
|
|
83
|
+
"CreateReconstructDocumentFlowRequest": {
|
|
84
|
+
"document": "CreateReconstructDocumentFlow request structure.",
|
|
85
|
+
"members": [
|
|
86
|
+
{
|
|
87
|
+
"disabled": false,
|
|
88
|
+
"document": "File type.\n**Supported file types**: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, MD, TXT, PNG, JPG, JPEG, CSV, HTML, EPUB, BMP, GIF, WEBP, HEIC, EPS, ICNS, IM, PCX, PPM, TIFF, XBM, HEIF, JP2.\n**Supported file sizes**: \n- Max 100 MB for PDF.\n- Max 200 MB for DOC, DOCX, PPT, and PPTX .\n- Max 10 MB for MD, and TXT.\n- Max 20 MB for others.",
|
|
89
|
+
"example": "PDF",
|
|
90
|
+
"member": "string",
|
|
91
|
+
"name": "FileType",
|
|
92
|
+
"required": true,
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"disabled": false,
|
|
97
|
+
"document": "File URL. It is recommended to store the file in Tencent Cloud as the URL where the file is stored in Tencent Cloud can ensure higher download speed and stability. External URL may affect the speed and stability. Refer to: [Tencent Cloud COS Documentation](https://cloud.tencent.com/document/product/436/7749)",
|
|
98
|
+
"example": "http://examplebucket-1250000000.cos.ap-beijing.myqcloud.com/example.jpg",
|
|
99
|
+
"member": "string",
|
|
100
|
+
"name": "FileUrl",
|
|
101
|
+
"required": false,
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"disabled": false,
|
|
106
|
+
"document": "The base64 value of the file. Supported file types: PNG, JPG, JPEG, PDF, BMP, TIFF. File size limit: the downloaded file does not exceed 8MB after base64 encoding. File download time does not exceed 3 seconds. Supported image pixels: the length of a single side is between 20-10000px. Either FileUrl or FileBase64 of the file must be provided. If both are provided, only the FileUrl is used.",
|
|
107
|
+
"example": "文件base64值",
|
|
108
|
+
"member": "string",
|
|
109
|
+
"name": "FileBase64",
|
|
110
|
+
"required": false,
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"disabled": false,
|
|
115
|
+
"document": "The starting page number of the file. When type of the uploaded file is pdf, doc, ppt, or pptx, it specifies the starting page number for recognition, including the current value.",
|
|
116
|
+
"example": "1",
|
|
117
|
+
"member": "int64",
|
|
118
|
+
"name": "FileStartPageNumber",
|
|
119
|
+
"required": false,
|
|
120
|
+
"type": "int"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"disabled": false,
|
|
124
|
+
"document": "The end page number of the file. When type of the uploaded file is pdf, doc, ppt, or pptx, it specifies the end page number for recognition, including the current value.",
|
|
125
|
+
"example": "100",
|
|
126
|
+
"member": "int64",
|
|
127
|
+
"name": "FileEndPageNumber",
|
|
128
|
+
"required": false,
|
|
129
|
+
"type": "int"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"disabled": false,
|
|
133
|
+
"document": "Creates task configuration information for document parsing.",
|
|
134
|
+
"example": "无",
|
|
135
|
+
"member": "CreateReconstructDocumentFlowConfig",
|
|
136
|
+
"name": "Config",
|
|
137
|
+
"required": false,
|
|
138
|
+
"type": "object"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"type": "object"
|
|
142
|
+
},
|
|
143
|
+
"CreateReconstructDocumentFlowResponse": {
|
|
144
|
+
"document": "CreateReconstructDocumentFlow response structure.",
|
|
145
|
+
"members": [
|
|
146
|
+
{
|
|
147
|
+
"disabled": false,
|
|
148
|
+
"document": "Unique task ID. The processing result corresponding to TaskId can be queried through the API [GetReconstructDocumentResult] within 30 days.",
|
|
149
|
+
"example": "25adcef61750343903609",
|
|
150
|
+
"member": "string",
|
|
151
|
+
"name": "TaskId",
|
|
152
|
+
"output_required": true,
|
|
153
|
+
"type": "string",
|
|
154
|
+
"value_allowed_null": false
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
158
|
+
"member": "string",
|
|
159
|
+
"name": "RequestId",
|
|
160
|
+
"type": "string"
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"type": "object"
|
|
164
|
+
},
|
|
165
|
+
"CreateSplitDocumentFlowConfig": {
|
|
166
|
+
"document": "Configuration information for creating intelligent document splitting task.",
|
|
167
|
+
"members": [
|
|
168
|
+
{
|
|
169
|
+
"disabled": true,
|
|
170
|
+
"document": "The form in which tables in a Markdown file are returned.\n- 0: returned as MD.\n- 1: returned as HTML.",
|
|
171
|
+
"example": "1",
|
|
172
|
+
"member": "string",
|
|
173
|
+
"name": "TableResultType",
|
|
174
|
+
"required": false,
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"disabled": true,
|
|
179
|
+
"document": "The format of the returned results of intelligent document parsing.\n- 0: only returns full-text MD.\n- 1: only returns the OCR original Json for each page.\n- 2: only returns the MD of each page.\n- 3: returns the full-text MD and the original OCR Json of each page.\n- 4: returns full-text MD and MD of each page.\nThe default value is 3 (returns the full-text MD and the original OCR Json of each page).",
|
|
180
|
+
"example": "3",
|
|
181
|
+
"member": "string",
|
|
182
|
+
"name": "ResultType",
|
|
183
|
+
"required": false,
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"disabled": false,
|
|
188
|
+
"document": "Whether to enable mllm.",
|
|
189
|
+
"example": "true",
|
|
190
|
+
"member": "bool",
|
|
191
|
+
"name": "EnableMllm",
|
|
192
|
+
"required": false,
|
|
193
|
+
"type": "bool"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"disabled": false,
|
|
197
|
+
"document": "Max segment length.",
|
|
198
|
+
"example": "4800",
|
|
199
|
+
"member": "int64",
|
|
200
|
+
"name": "MaxChunkSize",
|
|
201
|
+
"required": false,
|
|
202
|
+
"type": "int"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"usage": "in"
|
|
206
|
+
},
|
|
207
|
+
"CreateSplitDocumentFlowRequest": {
|
|
208
|
+
"document": "CreateSplitDocumentFlow request structure.",
|
|
209
|
+
"members": [
|
|
210
|
+
{
|
|
211
|
+
"disabled": false,
|
|
212
|
+
"document": "File type.\n**Supported file types**: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, MD, TXT, PNG, JPG, JPEG, CSV, HTML, EPUB.\n**Supported file sizes**: \n- Max 500 MB for PDF.\n- Max 200 MB for DOC, DOCX, PPT, and PPTX .\n- Max 10 MB for MD, and TXT.\n- Max 20 MB for others.",
|
|
213
|
+
"example": "PDF",
|
|
214
|
+
"member": "string",
|
|
215
|
+
"name": "FileType",
|
|
216
|
+
"required": true,
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"disabled": false,
|
|
221
|
+
"document": "File URL. It is recommended to store the file in Tencent Cloud as the URL where the file is stored in Tencent Cloud can ensure higher download speed and stability. External URL may affect the speed and stability. \nRefer to: [Tencent Cloud COS Documentation](https://cloud.tencent.com/document/product/436/7749).",
|
|
222
|
+
"example": "https://example.com/example.pdf",
|
|
223
|
+
"member": "string",
|
|
224
|
+
"name": "FileUrl",
|
|
225
|
+
"required": true,
|
|
226
|
+
"type": "string"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"disabled": false,
|
|
230
|
+
"document": "Filename. optional.\n**The file type suffix shall be included**. This field is required to be specified when the file name cannot be obtained from the passed-in \"FileUrl\".",
|
|
231
|
+
"example": "example.pdf",
|
|
232
|
+
"member": "string",
|
|
233
|
+
"name": "FileName",
|
|
234
|
+
"required": false,
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"disabled": true,
|
|
239
|
+
"document": "The base64 value of the file. File size limit: the downloaded file shall not exceed 8MB after base64 encoding. File download time does not exceed 3 seconds. Supported image pixels: the length of a single side is between 20-10000px. Either FileUrl or FileBase64 of the file must be provided. If both are provided, only the FileUrl is used.",
|
|
240
|
+
"example": "文件base64值",
|
|
241
|
+
"member": "string",
|
|
242
|
+
"name": "FileBase64",
|
|
243
|
+
"required": false,
|
|
244
|
+
"type": "string"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"disabled": false,
|
|
248
|
+
"document": "The starting page number of the file. When type of the uploaded file is pdf, doc, ppt, or pptx, it specifies the starting page number for recognition, including the current value.",
|
|
249
|
+
"example": "1",
|
|
250
|
+
"member": "int64",
|
|
251
|
+
"name": "FileStartPageNumber",
|
|
252
|
+
"required": false,
|
|
253
|
+
"type": "int"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"disabled": false,
|
|
257
|
+
"document": "The end page number of the file. When type of the uploaded file is pdf, doc, ppt, or pptx, it specifies the end page number for recognition, including the current value.",
|
|
258
|
+
"example": "100",
|
|
259
|
+
"member": "int64",
|
|
260
|
+
"name": "FileEndPageNumber",
|
|
261
|
+
"required": false,
|
|
262
|
+
"type": "int"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"disabled": false,
|
|
266
|
+
"document": "Configuration message for document splitting task.",
|
|
267
|
+
"example": "无",
|
|
268
|
+
"member": "CreateSplitDocumentFlowConfig",
|
|
269
|
+
"name": "Config",
|
|
270
|
+
"required": false,
|
|
271
|
+
"type": "object"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"type": "object"
|
|
275
|
+
},
|
|
276
|
+
"CreateSplitDocumentFlowResponse": {
|
|
277
|
+
"document": "CreateSplitDocumentFlow response structure.",
|
|
278
|
+
"members": [
|
|
279
|
+
{
|
|
280
|
+
"disabled": false,
|
|
281
|
+
"document": "The unique ID of the splitting task.\nThe splitting results corresponding to the TaskId can be queried through the [GetSplitDocumentResult] API within 30 days.",
|
|
282
|
+
"example": "236e51fd-827b-41cb-b303-56003a817ce5",
|
|
283
|
+
"member": "string",
|
|
284
|
+
"name": "TaskId",
|
|
285
|
+
"output_required": true,
|
|
286
|
+
"type": "string",
|
|
287
|
+
"value_allowed_null": false
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
291
|
+
"member": "string",
|
|
292
|
+
"name": "RequestId",
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"type": "object"
|
|
297
|
+
},
|
|
298
|
+
"DocumentUsage": {
|
|
299
|
+
"document": "The usage of document splitting task.",
|
|
300
|
+
"members": [
|
|
301
|
+
{
|
|
302
|
+
"disabled": false,
|
|
303
|
+
"document": "Page number of the document splitting task.",
|
|
304
|
+
"example": "10",
|
|
305
|
+
"member": "int64",
|
|
306
|
+
"name": "PageNumber",
|
|
307
|
+
"output_required": false,
|
|
308
|
+
"type": "int",
|
|
309
|
+
"value_allowed_null": false
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"disabled": true,
|
|
313
|
+
"document": "Total number of tokens consumed by the document splitting task.",
|
|
314
|
+
"example": "2048",
|
|
315
|
+
"member": "int64",
|
|
316
|
+
"name": "TotalToken",
|
|
317
|
+
"output_required": false,
|
|
318
|
+
"type": "int",
|
|
319
|
+
"value_allowed_null": false
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"disabled": false,
|
|
323
|
+
"document": "Total number of tokens consumed by the document splitting task.",
|
|
324
|
+
"example": "2048",
|
|
325
|
+
"member": "int64",
|
|
326
|
+
"name": "TotalTokens",
|
|
327
|
+
"output_required": false,
|
|
328
|
+
"type": "int",
|
|
329
|
+
"value_allowed_null": false
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"usage": "out"
|
|
333
|
+
},
|
|
334
|
+
"GetReconstructDocumentResultRequest": {
|
|
335
|
+
"document": "GetReconstructDocumentResult request structure.",
|
|
336
|
+
"members": [
|
|
337
|
+
{
|
|
338
|
+
"disabled": false,
|
|
339
|
+
"document": "Parsing task ID.",
|
|
340
|
+
"example": "25adcef61750343903609",
|
|
341
|
+
"member": "string",
|
|
342
|
+
"name": "TaskId",
|
|
343
|
+
"required": true,
|
|
344
|
+
"type": "string"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"type": "object"
|
|
348
|
+
},
|
|
349
|
+
"GetReconstructDocumentResultResponse": {
|
|
350
|
+
"document": "GetReconstructDocumentResult response structure.",
|
|
351
|
+
"members": [
|
|
352
|
+
{
|
|
353
|
+
"disabled": false,
|
|
354
|
+
"document": "Task status.\n-Success: execution completed.\n-Processing: executing.\n-Pause: paused.\n-Failed: execution failed.\n-WaitExecute: pending execution.",
|
|
355
|
+
"example": "Success",
|
|
356
|
+
"member": "string",
|
|
357
|
+
"name": "Status",
|
|
358
|
+
"output_required": false,
|
|
359
|
+
"type": "string",
|
|
360
|
+
"value_allowed_null": false
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"disabled": false,
|
|
364
|
+
"document": "Temporary download URL for the parsing result. The file is a zip compressed package, and the URL is valid for 30 minutes.",
|
|
365
|
+
"example": "https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/example/example.zip",
|
|
366
|
+
"member": "string",
|
|
367
|
+
"name": "DocumentRecognizeResultUrl",
|
|
368
|
+
"output_required": false,
|
|
369
|
+
"type": "string",
|
|
370
|
+
"value_allowed_null": false
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"disabled": false,
|
|
374
|
+
"document": "Page number where document parsing fails.",
|
|
375
|
+
"example": "无",
|
|
376
|
+
"member": "ReconstructDocumentFailedPage",
|
|
377
|
+
"name": "FailedPages",
|
|
378
|
+
"output_required": false,
|
|
379
|
+
"type": "list",
|
|
380
|
+
"value_allowed_null": false
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
384
|
+
"member": "string",
|
|
385
|
+
"name": "RequestId",
|
|
386
|
+
"type": "string"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"type": "object"
|
|
390
|
+
},
|
|
391
|
+
"GetSplitDocumentResultRequest": {
|
|
392
|
+
"document": "GetSplitDocumentResult request structure.",
|
|
393
|
+
"members": [
|
|
394
|
+
{
|
|
395
|
+
"disabled": false,
|
|
396
|
+
"document": "Splitting task ID.",
|
|
397
|
+
"example": "236e51fd-827b-41cb-b303-56003a817ce5",
|
|
398
|
+
"member": "string",
|
|
399
|
+
"name": "TaskId",
|
|
400
|
+
"required": true,
|
|
401
|
+
"type": "string"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"type": "object"
|
|
405
|
+
},
|
|
406
|
+
"GetSplitDocumentResultResponse": {
|
|
407
|
+
"document": "GetSplitDocumentResult response structure.",
|
|
408
|
+
"members": [
|
|
409
|
+
{
|
|
410
|
+
"disabled": false,
|
|
411
|
+
"document": "Task status:\n-Success: execution completed.\n-Processing: executing.\n-Pause: paused.\n-Failed: execution failed.\n-WaitExecute: pending execution.",
|
|
412
|
+
"example": "Success",
|
|
413
|
+
"member": "string",
|
|
414
|
+
"name": "Status",
|
|
415
|
+
"output_required": false,
|
|
416
|
+
"type": "string",
|
|
417
|
+
"value_allowed_null": false
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"disabled": false,
|
|
421
|
+
"document": "Temporary download URL for the splitting result. The file is a zip compressed package, and the URL is valid for 30 minutes. The compressed package contains the following folders: \\*.md, \\*.jsonl, \\*mllm.json, images.\n>**jsonl** structure description:.\n- page_content: Used to generate an embedding library for retrieval purposes. The images in this field will be replaced with placeholders.\n- org_data: The minimum semantic integrity block corresponding to page_content, used for Q&A model processing.\n- big_data: The maximum semantic integrity block corresponding to page_content, also used for Q&A model processing.",
|
|
422
|
+
"example": "https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/example/example.zip",
|
|
423
|
+
"member": "string",
|
|
424
|
+
"name": "DocumentRecognizeResultUrl",
|
|
425
|
+
"output_required": false,
|
|
426
|
+
"type": "string",
|
|
427
|
+
"value_allowed_null": false
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"disabled": true,
|
|
431
|
+
"document": "Page number where document splitting fails.",
|
|
432
|
+
"example": "无",
|
|
433
|
+
"member": "SplitDocumentFailedPage",
|
|
434
|
+
"name": "FailedPages",
|
|
435
|
+
"output_required": false,
|
|
436
|
+
"type": "list",
|
|
437
|
+
"value_allowed_null": false
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"disabled": false,
|
|
441
|
+
"document": "Amount of the document split task.",
|
|
442
|
+
"example": "无",
|
|
443
|
+
"member": "DocumentUsage",
|
|
444
|
+
"name": "Usage",
|
|
445
|
+
"output_required": false,
|
|
446
|
+
"type": "object",
|
|
447
|
+
"value_allowed_null": false
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
451
|
+
"member": "string",
|
|
452
|
+
"name": "RequestId",
|
|
453
|
+
"type": "string"
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"type": "object"
|
|
457
|
+
},
|
|
458
|
+
"Message": {
|
|
459
|
+
"document": "Session content.",
|
|
460
|
+
"members": [
|
|
461
|
+
{
|
|
462
|
+
"disabled": false,
|
|
463
|
+
"document": "Role.",
|
|
464
|
+
"example": "user",
|
|
465
|
+
"member": "string",
|
|
466
|
+
"name": "Role",
|
|
467
|
+
"output_required": false,
|
|
468
|
+
"required": false,
|
|
469
|
+
"type": "string",
|
|
470
|
+
"value_allowed_null": false
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"disabled": false,
|
|
474
|
+
"document": "Content.",
|
|
475
|
+
"example": "content",
|
|
476
|
+
"member": "string",
|
|
477
|
+
"name": "Content",
|
|
478
|
+
"output_required": false,
|
|
479
|
+
"required": false,
|
|
480
|
+
"type": "string",
|
|
481
|
+
"value_allowed_null": false
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"disabled": false,
|
|
485
|
+
"document": "Chain of thought content. The ReasoningConent parameter only supports output parameters, and is only returned by the deepseek-r1 model.",
|
|
486
|
+
"example": "无",
|
|
487
|
+
"member": "string",
|
|
488
|
+
"name": "ReasoningContent",
|
|
489
|
+
"output_required": false,
|
|
490
|
+
"required": false,
|
|
491
|
+
"type": "string",
|
|
492
|
+
"value_allowed_null": false
|
|
493
|
+
}
|
|
494
|
+
],
|
|
495
|
+
"usage": "both"
|
|
496
|
+
},
|
|
497
|
+
"QueryRewriteRequest": {
|
|
498
|
+
"document": "QueryRewrite request structure.",
|
|
499
|
+
"members": [
|
|
500
|
+
{
|
|
501
|
+
"disabled": false,
|
|
502
|
+
"document": "The multi-round historical conversation that needs to be rewritten. Each round of historical conversation should include paired inputs of user (question) and assistant (answer). Due to the character limit of the model, a maximum of 4 rounds of conversations can be provided. The last round of conversation will be rewritten.",
|
|
503
|
+
"example": "无",
|
|
504
|
+
"member": "Message",
|
|
505
|
+
"name": "Messages",
|
|
506
|
+
"required": true,
|
|
507
|
+
"type": "list"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"disabled": false,
|
|
511
|
+
"document": "Model name.",
|
|
512
|
+
"example": "lke-query-rewrite-base",
|
|
513
|
+
"member": "string",
|
|
514
|
+
"name": "Model",
|
|
515
|
+
"required": false,
|
|
516
|
+
"type": "string"
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"type": "object"
|
|
520
|
+
},
|
|
521
|
+
"QueryRewriteResponse": {
|
|
522
|
+
"document": "QueryRewrite response structure.",
|
|
523
|
+
"members": [
|
|
524
|
+
{
|
|
525
|
+
"disabled": false,
|
|
526
|
+
"document": "Rewritten result.",
|
|
527
|
+
"example": "你好",
|
|
528
|
+
"member": "string",
|
|
529
|
+
"name": "Content",
|
|
530
|
+
"output_required": true,
|
|
531
|
+
"type": "string",
|
|
532
|
+
"value_allowed_null": false
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"disabled": false,
|
|
536
|
+
"document": "Consumption. The numbers of input tokens, output tokens, and total tokens will be returned.",
|
|
537
|
+
"example": "无",
|
|
538
|
+
"member": "Usage",
|
|
539
|
+
"name": "Usage",
|
|
540
|
+
"output_required": false,
|
|
541
|
+
"type": "object",
|
|
542
|
+
"value_allowed_null": false
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
546
|
+
"member": "string",
|
|
547
|
+
"name": "RequestId",
|
|
548
|
+
"type": "string"
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"type": "object"
|
|
552
|
+
},
|
|
553
|
+
"ReconstructDocumentFailedPage": {
|
|
554
|
+
"document": "Document parsing failure record.",
|
|
555
|
+
"members": [
|
|
556
|
+
{
|
|
557
|
+
"disabled": false,
|
|
558
|
+
"document": "Page number that failed to parse.",
|
|
559
|
+
"example": "无",
|
|
560
|
+
"member": "int64",
|
|
561
|
+
"name": "PageNumber",
|
|
562
|
+
"output_required": false,
|
|
563
|
+
"type": "int",
|
|
564
|
+
"value_allowed_null": true
|
|
565
|
+
}
|
|
566
|
+
],
|
|
567
|
+
"usage": "out"
|
|
568
|
+
},
|
|
569
|
+
"ReconstructDocumentSSEConfig": {
|
|
570
|
+
"document": "ReconstructDocumentSSE feature configuration parameters.",
|
|
571
|
+
"members": [
|
|
572
|
+
{
|
|
573
|
+
"disabled": false,
|
|
574
|
+
"document": "The form in which tables in a Markdown file are returned.\n- 0: returned as MD.\n- 1: returned as HTML.\nThe default is 0.",
|
|
575
|
+
"example": "0",
|
|
576
|
+
"member": "string",
|
|
577
|
+
"name": "TableResultType",
|
|
578
|
+
"required": false,
|
|
579
|
+
"type": "string"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"disabled": false,
|
|
583
|
+
"document": "The form in which images in a Markdown file are returned.\n- 0: returned as URL.\n- 1: only return the text content extracted from the image in markdown.\nThe default value is 0.",
|
|
584
|
+
"example": "0",
|
|
585
|
+
"member": "string",
|
|
586
|
+
"name": "MarkdownImageResponseType",
|
|
587
|
+
"required": false,
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"disabled": false,
|
|
592
|
+
"document": "Whether the Markdown file contains page number information.",
|
|
593
|
+
"example": "true",
|
|
594
|
+
"member": "bool",
|
|
595
|
+
"name": "ReturnPageFormat",
|
|
596
|
+
"required": false,
|
|
597
|
+
"type": "bool"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"disabled": false,
|
|
601
|
+
"document": "The custom output page number style. {{p}} is a placeholder for the page number. Enable ReturnPageFormat to take effect. If empty, the default style is: <page_num>page {{p}}</page_num>.",
|
|
602
|
+
"example": "<page_num>page {{p}}</page_num>",
|
|
603
|
+
"member": "string",
|
|
604
|
+
"name": "PageFormat",
|
|
605
|
+
"required": false,
|
|
606
|
+
"type": "string"
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
"usage": "in"
|
|
610
|
+
},
|
|
611
|
+
"ReconstructDocumentSSERequest": {
|
|
612
|
+
"document": "ReconstructDocumentSSE request structure.",
|
|
613
|
+
"members": [
|
|
614
|
+
{
|
|
615
|
+
"disabled": false,
|
|
616
|
+
"document": "The base64 value of the file. File size limit: the downloaded file shall not exceed 8MB after base64 encoding. File download time does not exceed 3 seconds. Supported image pixels: the length of a single side is between 20-10000px. Either FileUrl or FileBase64 of the file must be provided. If both are provided, only the FileUrl is used.",
|
|
617
|
+
"example": "base64",
|
|
618
|
+
"member": "string",
|
|
619
|
+
"name": "FileBase64",
|
|
620
|
+
"required": false,
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"disabled": false,
|
|
625
|
+
"document": "Document parsing configuration information.\t",
|
|
626
|
+
"example": "无",
|
|
627
|
+
"member": "ReconstructDocumentSSEConfig",
|
|
628
|
+
"name": "Config",
|
|
629
|
+
"required": false,
|
|
630
|
+
"type": "object"
|
|
631
|
+
}
|
|
632
|
+
],
|
|
633
|
+
"type": "object"
|
|
634
|
+
},
|
|
635
|
+
"ReconstructDocumentSSEResponse": {
|
|
636
|
+
"document": "ReconstructDocumentSSE response structure.",
|
|
637
|
+
"members": [
|
|
638
|
+
{
|
|
639
|
+
"disabled": false,
|
|
640
|
+
"document": "Task ID. The unique identifier of the current request.",
|
|
641
|
+
"example": "taskld",
|
|
642
|
+
"member": "string",
|
|
643
|
+
"name": "TaskId",
|
|
644
|
+
"output_required": false,
|
|
645
|
+
"type": "string",
|
|
646
|
+
"value_allowed_null": false
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"disabled": false,
|
|
650
|
+
"document": "Response type. 1: return progress information; 2: return parsing result.",
|
|
651
|
+
"example": "type",
|
|
652
|
+
"member": "string",
|
|
653
|
+
"name": "ResponseType",
|
|
654
|
+
"output_required": false,
|
|
655
|
+
"type": "string",
|
|
656
|
+
"value_allowed_null": false
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"disabled": false,
|
|
660
|
+
"document": "Progress. Value range: 0 to 100.",
|
|
661
|
+
"example": "progress",
|
|
662
|
+
"member": "string",
|
|
663
|
+
"name": "Progress",
|
|
664
|
+
"output_required": false,
|
|
665
|
+
"type": "string",
|
|
666
|
+
"value_allowed_null": false
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"disabled": false,
|
|
670
|
+
"document": "Progress information.",
|
|
671
|
+
"example": "progressMessage",
|
|
672
|
+
"member": "string",
|
|
673
|
+
"name": "ProgressMessage",
|
|
674
|
+
"output_required": false,
|
|
675
|
+
"type": "string",
|
|
676
|
+
"value_allowed_null": false
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"disabled": false,
|
|
680
|
+
"document": "Temporary download URL for the document parsing result. The file is a zip compressed package, and the URL is valid for 30 minutes. The compressed package contains the following folders: \\*.md, \\*.jsonl, \\*mllm.json, images.",
|
|
681
|
+
"example": "documentRecognizeResultUrl",
|
|
682
|
+
"member": "string",
|
|
683
|
+
"name": "DocumentRecognizeResultUrl",
|
|
684
|
+
"output_required": false,
|
|
685
|
+
"type": "string",
|
|
686
|
+
"value_allowed_null": false
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"disabled": false,
|
|
690
|
+
"document": "Page number where document parsing fails.",
|
|
691
|
+
"example": "无",
|
|
692
|
+
"member": "ReconstructDocumentFailedPage",
|
|
693
|
+
"name": "FailedPages",
|
|
694
|
+
"output_required": false,
|
|
695
|
+
"type": "list",
|
|
696
|
+
"value_allowed_null": false
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"disabled": false,
|
|
700
|
+
"document": "",
|
|
701
|
+
"example": "1",
|
|
702
|
+
"member": "int64",
|
|
703
|
+
"name": "FailPageNum",
|
|
704
|
+
"output_required": false,
|
|
705
|
+
"type": "int",
|
|
706
|
+
"value_allowed_null": false
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"disabled": false,
|
|
710
|
+
"document": "",
|
|
711
|
+
"example": "10",
|
|
712
|
+
"member": "int64",
|
|
713
|
+
"name": "SuccessPageNum",
|
|
714
|
+
"output_required": false,
|
|
715
|
+
"type": "int",
|
|
716
|
+
"value_allowed_null": false
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. As a streaming response API, when the request is successfully completed, the RequestId will be placed in the Header \"X-TC-RequestId\" of the HTTP response.",
|
|
720
|
+
"member": "string",
|
|
721
|
+
"name": "RequestId",
|
|
722
|
+
"type": "string"
|
|
723
|
+
}
|
|
724
|
+
],
|
|
725
|
+
"type": "object"
|
|
726
|
+
},
|
|
727
|
+
"RunRerankRequest": {
|
|
728
|
+
"document": "RunRerank request structure.",
|
|
729
|
+
"members": [
|
|
730
|
+
{
|
|
731
|
+
"disabled": false,
|
|
732
|
+
"document": "Query content.",
|
|
733
|
+
"example": "腾讯知识引擎大模型",
|
|
734
|
+
"member": "string",
|
|
735
|
+
"name": "Query",
|
|
736
|
+
"required": true,
|
|
737
|
+
"type": "string"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"disabled": false,
|
|
741
|
+
"document": "Document list, up to 20 documents.",
|
|
742
|
+
"example": "[\"腾讯知识引擎\",\"知识引擎大模型\"]",
|
|
743
|
+
"member": "string",
|
|
744
|
+
"name": "Docs",
|
|
745
|
+
"required": true,
|
|
746
|
+
"type": "list"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"disabled": false,
|
|
750
|
+
"document": "Model name. Default: lke-reranker-base.",
|
|
751
|
+
"example": "lke-reranker-base",
|
|
752
|
+
"member": "string",
|
|
753
|
+
"name": "Model",
|
|
754
|
+
"required": false,
|
|
755
|
+
"type": "string"
|
|
756
|
+
}
|
|
757
|
+
],
|
|
758
|
+
"type": "object"
|
|
759
|
+
},
|
|
760
|
+
"RunRerankResponse": {
|
|
761
|
+
"document": "RunRerank response structure.",
|
|
762
|
+
"members": [
|
|
763
|
+
{
|
|
764
|
+
"disabled": false,
|
|
765
|
+
"document": "Relevance. A higher numeric value indicates greater relevance.",
|
|
766
|
+
"example": "[-19.681953, -19.414124]",
|
|
767
|
+
"member": "float",
|
|
768
|
+
"name": "ScoreList",
|
|
769
|
+
"output_required": true,
|
|
770
|
+
"type": "list",
|
|
771
|
+
"value_allowed_null": false
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"disabled": false,
|
|
775
|
+
"document": "Consumption. Only returns TotalToken.",
|
|
776
|
+
"example": "无",
|
|
777
|
+
"member": "Usage",
|
|
778
|
+
"name": "Usage",
|
|
779
|
+
"output_required": false,
|
|
780
|
+
"type": "object",
|
|
781
|
+
"value_allowed_null": false
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
785
|
+
"member": "string",
|
|
786
|
+
"name": "RequestId",
|
|
787
|
+
"type": "string"
|
|
788
|
+
}
|
|
789
|
+
],
|
|
790
|
+
"type": "object"
|
|
791
|
+
},
|
|
792
|
+
"SplitDocumentFailedPage": {
|
|
793
|
+
"document": "Document parsing failure record.",
|
|
794
|
+
"members": [
|
|
795
|
+
{
|
|
796
|
+
"disabled": false,
|
|
797
|
+
"document": "Page number that failed to parse.",
|
|
798
|
+
"example": "无",
|
|
799
|
+
"member": "int64",
|
|
800
|
+
"name": "PageNumber",
|
|
801
|
+
"output_required": false,
|
|
802
|
+
"type": "int",
|
|
803
|
+
"value_allowed_null": true
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"usage": "out"
|
|
807
|
+
},
|
|
808
|
+
"Usage": {
|
|
809
|
+
"document": "Consumption.",
|
|
810
|
+
"members": [
|
|
811
|
+
{
|
|
812
|
+
"disabled": false,
|
|
813
|
+
"document": "Number of document pages.",
|
|
814
|
+
"example": "10",
|
|
815
|
+
"member": "int64",
|
|
816
|
+
"name": "TotalPages",
|
|
817
|
+
"output_required": false,
|
|
818
|
+
"type": "int",
|
|
819
|
+
"value_allowed_null": false
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"disabled": false,
|
|
823
|
+
"document": "Number of input tokens.",
|
|
824
|
+
"example": "10",
|
|
825
|
+
"member": "int64",
|
|
826
|
+
"name": "InputTokens",
|
|
827
|
+
"output_required": false,
|
|
828
|
+
"type": "int",
|
|
829
|
+
"value_allowed_null": false
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"disabled": false,
|
|
833
|
+
"document": "Number of output tokens.",
|
|
834
|
+
"example": "10",
|
|
835
|
+
"member": "int64",
|
|
836
|
+
"name": "OutputTokens",
|
|
837
|
+
"output_required": false,
|
|
838
|
+
"type": "int",
|
|
839
|
+
"value_allowed_null": false
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"disabled": false,
|
|
843
|
+
"document": "Total number of tokens.",
|
|
844
|
+
"example": "10",
|
|
845
|
+
"member": "int64",
|
|
846
|
+
"name": "TotalTokens",
|
|
847
|
+
"output_required": false,
|
|
848
|
+
"type": "int",
|
|
849
|
+
"value_allowed_null": false
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"usage": "out"
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
}
|