tccli 3.0.1304.1__py2.py3-none-any.whl → 3.0.1306.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/aiart/v20221229/api.json +39 -39
- tccli/services/aiart/v20221229/examples.json +11 -11
- tccli/services/ams/v20201229/api.json +28 -34
- tccli/services/ams/v20201229/examples.json +2 -8
- tccli/services/autoscaling/v20180419/api.json +57 -57
- tccli/services/autoscaling/v20180419/examples.json +6 -6
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/cbs/v20170312/api.json +49 -38
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/cdb/v20170320/api.json +9 -9
- tccli/services/cdb/v20170320/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +61 -58
- tccli/services/cdn/v20180606/examples.json +8 -8
- tccli/services/cfs/v20190719/api.json +12 -2
- tccli/services/cfs/v20190719/examples.json +2 -2
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +539 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/chc/v20230418/api.json +10 -0
- tccli/services/ckafka/ckafka_client.py +53 -0
- tccli/services/ckafka/v20190819/api.json +242 -8
- tccli/services/ckafka/v20190819/examples.json +8 -0
- tccli/services/clb/v20180317/api.json +8 -8
- tccli/services/cvm/v20170312/api.json +129 -20
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +9 -9
- tccli/services/dbbrain/v20191016/api.json +11 -10
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dbbrain/v20210527/api.json +1 -1
- tccli/services/dc/v20180410/api.json +16 -6
- tccli/services/dc/v20180410/examples.json +4 -4
- tccli/services/domain/v20180808/api.json +162 -162
- tccli/services/domain/v20180808/examples.json +34 -34
- tccli/services/drm/v20181115/api.json +52 -65
- tccli/services/drm/v20181115/examples.json +1 -1
- tccli/services/dsgc/v20190723/api.json +10 -0
- tccli/services/dts/v20211206/api.json +0 -9
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecdn/v20191012/api.json +12 -12
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +75 -3
- tccli/services/gs/v20191118/examples.json +15 -7
- tccli/services/gwlb/v20240906/api.json +28 -28
- tccli/services/hai/hai_client.py +53 -0
- tccli/services/hai/v20230812/api.json +62 -0
- tccli/services/hai/v20230812/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +4 -4
- tccli/services/ims/v20201229/api.json +14 -5
- tccli/services/ims/v20201229/examples.json +2 -2
- tccli/services/ioa/v20220601/api.json +13 -2
- tccli/services/iotexplorer/v20190423/api.json +62 -3
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/iotvideoindustry/v20201201/api.json +29 -19
- tccli/services/iotvideoindustry/v20201201/examples.json +2 -2
- tccli/services/iss/iss_client.py +273 -8
- tccli/services/iss/v20230517/api.json +586 -0
- tccli/services/iss/v20230517/examples.json +46 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/live/v20180801/api.json +18 -18
- tccli/services/lke/v20231130/api.json +50 -6
- tccli/services/lkeap/v20240522/api.json +124 -1
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +283 -290
- tccli/services/mps/v20190612/examples.json +9 -9
- tccli/services/ocr/v20181119/api.json +133 -114
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/postgres/v20170312/api.json +140 -121
- tccli/services/postgres/v20170312/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +94 -4
- tccli/services/redis/v20180412/examples.json +3 -3
- tccli/services/ses/v20201002/api.json +9 -0
- tccli/services/soe/v20180724/api.json +13 -13
- tccli/services/soe/v20180724/examples.json +2 -2
- tccli/services/tat/v20201028/api.json +19 -19
- tccli/services/tcss/v20201101/api.json +27 -0
- tccli/services/teo/v20220901/api.json +14 -3
- tccli/services/tione/tione_client.py +53 -0
- tccli/services/tione/v20211111/api.json +49 -1
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +5 -5
- tccli/services/tse/v20201207/api.json +30 -0
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vm/v20210922/api.json +21 -30
- tccli/services/vm/v20210922/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +6 -6
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +103 -81
- tccli/services/vpc/v20170312/examples.json +3 -3
- tccli/services/vrs/v20200824/api.json +52 -52
- tccli/services/vrs/v20200824/examples.json +2 -2
- tccli/services/wedata/v20210820/api.json +192 -11
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1306.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1306.1.dist-info}/RECORD +102 -102
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1306.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1306.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1304.1.dist-info → tccli-3.0.1306.1.dist-info}/license_files/LICENSE +0 -0
@@ -108,6 +108,14 @@
|
|
108
108
|
"title": "success"
|
109
109
|
}
|
110
110
|
],
|
111
|
+
"BatchDeleteVideoDownloadTask": [
|
112
|
+
{
|
113
|
+
"document": "",
|
114
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchDeleteVideoDownloadTask\n<公共请求参数>\n\n{\n \"DownloadTaskIds\": [\n \"*******\",\n \"********\"\n ]\n}",
|
115
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cd92416f-bc75-4d17-91f3-93d7c94d1cf5\"\n }\n}",
|
116
|
+
"title": "成功"
|
117
|
+
}
|
118
|
+
],
|
111
119
|
"BatchOperateDevice": [
|
112
120
|
{
|
113
121
|
"document": " ",
|
@@ -178,6 +186,14 @@
|
|
178
186
|
"title": "无本地录像结果"
|
179
187
|
}
|
180
188
|
],
|
189
|
+
"CreateVideoDownloadTask": [
|
190
|
+
{
|
191
|
+
"document": " ",
|
192
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVideoDownloadTask\n<公共请求参数>\n\n{\n \"ChannelId\": \"***********\",\n \"BeginTime\": 1729288800,\n \"EndTime\": 1729292400,\n \"Scale\": 1,\n \"Expire\": 7,\n \"FileType\": 1\n}",
|
193
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DownloadTaskId\": \"**********\"\n },\n \"RequestId\": \"cd92416f-bc75-4d17-91f3-93d7c94d1cf5\"\n }\n}",
|
194
|
+
"title": "成功"
|
195
|
+
}
|
196
|
+
],
|
181
197
|
"DeleteAITask": [
|
182
198
|
{
|
183
199
|
"document": "AI任务不存在",
|
@@ -262,6 +278,14 @@
|
|
262
278
|
"title": "成功"
|
263
279
|
}
|
264
280
|
],
|
281
|
+
"DeleteTask": [
|
282
|
+
{
|
283
|
+
"document": "",
|
284
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteTask\n<公共请求参数>\n\n{\n \"TaskId\": \"4d3535ba-3d81-4154-85ac-************\"\n}",
|
285
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
286
|
+
"title": "成功"
|
287
|
+
}
|
288
|
+
],
|
265
289
|
"DeleteUserDevice": [
|
266
290
|
{
|
267
291
|
"document": " ",
|
@@ -358,6 +382,20 @@
|
|
358
382
|
"title": "成功"
|
359
383
|
}
|
360
384
|
],
|
385
|
+
"DescribeGBDeviceAddr": [
|
386
|
+
{
|
387
|
+
"document": "包含无效的DeviceId",
|
388
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGBDeviceAddr\n<公共请求参数>\n\n{\n \"DeviceIds\": [\n \"null\"\n ]\n}",
|
389
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ContainInvalidDeviceId\",\n \"Message\": \"包含无效的DeviceId\"\n },\n \"RequestId\": \"1cb1df16-8c29-****-****-e3283cea4958\"\n }\n}",
|
390
|
+
"title": "错误"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"document": "success",
|
394
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGBDeviceAddr\n<公共请求参数>\n\n{\n \"DeviceIds\": [\n \"3db****e3-****-****-b7be-****4be705d\"\n ]\n}",
|
395
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"RemoteAddrs\": [\n {\n \"Addr\": \"127.0.0.1\",\n \"DeviceId\": \"3db****e3-****-****-b7be-****4be705d\"\n }\n ]\n },\n \"RequestId\": \"887e50f0-****-****-a37d-c88b****19e3\"\n }\n}",
|
396
|
+
"title": "成功"
|
397
|
+
}
|
398
|
+
],
|
361
399
|
"DescribeGateway": [
|
362
400
|
{
|
363
401
|
"document": " ",
|
@@ -740,6 +778,14 @@
|
|
740
778
|
"title": "成功"
|
741
779
|
}
|
742
780
|
],
|
781
|
+
"ListVideoDownloadTask": [
|
782
|
+
{
|
783
|
+
"document": " ",
|
784
|
+
"input": "POST / HTTP/1.1\nHost: iss.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListVideoDownloadTask\n<公共请求参数>\n\n{}",
|
785
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"List\": [\n {\n \"ChannelCode\": \"310****00001320000001\",\n \"ChannelId\": \"21098feb-57a4-4fbc-9435-************\",\n \"ChannelName\": \"11\",\n \"DeviceCode\": \"610*****01180000159\",\n \"DeviceName\": \"NVR\",\n \"DownloadTaskId\": \"e6651293-b5fa-4dbb-bfe0-************\",\n \"DownloadTime\": 7200,\n \"EndTime\": \"2024-10-22 12:29:02\",\n \"Expire\": 7,\n \"FailedReason\": \"\",\n \"FileDownloadUrl\": \"https://*********.demo.cn/vds/lr/video.mp4?source=localrecord%2F7%2F21098feb-57a4-4fbc-9435-************%2F20241021%2Fe6651293-b5fa-4dbb-bfe0-************.mp4%3Bivc-test-new-251228313-ap-shanghai-1258344699%3Bap-shanghai%3B21098feb-57a4-4fbc-9435-*********%3B251228313%3B7000003*****9&intranet=0&expires=3600&signtime=1729675136&sign=1f9f2d21eb5e18b088f70f81*********\",\n \"Scale\": 2,\n \"StartTime\": \"2024-10-22 11:28:36\",\n \"Status\": 2,\n \"VideoSize\": 967309246,\n \"VideoTimeSection\": \"2024-10-21 08:00:00-2024-10-21 10:00:00\"\n }\n ],\n \"TotalCount\": 15\n },\n \"RequestId\": \"f5447c9b-a7a6-42d5-b831-9e666bfbe261\"\n }\n}",
|
786
|
+
"title": "成功"
|
787
|
+
}
|
788
|
+
],
|
743
789
|
"PlayRecord": [
|
744
790
|
{
|
745
791
|
"document": " ",
|
@@ -3947,7 +3947,7 @@
|
|
3947
3947
|
},
|
3948
3948
|
{
|
3949
3949
|
"disabled": false,
|
3950
|
-
"document": "过滤器列表。\n<li>template-id</li>按照【防火墙模板所属的ID】进行过滤。\n类型:String\n必选:否\n<li>template-name</li>按照【防火墙模板所属的名称】进行过滤。\n类型:String\n必选:否\n<li>template-type</li>按照【防火墙模板的类型】进行过滤。\n类型:String\n必选:否\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 TemplateIds 和 Filters。",
|
3950
|
+
"document": "过滤器列表。\n<li>template-id</li>按照【防火墙模板所属的ID】进行过滤。\n类型:String\n必选:否\n<li>template-name</li>按照【防火墙模板所属的名称】进行过滤。\n类型:String\n必选:否\n<li>template-type</li>按照【防火墙模板的类型】进行过滤。\n类型:String\n必选:否\n取值: \"PRIVATE\"(个人模版)\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 TemplateIds 和 Filters。",
|
3951
3951
|
"example": "无",
|
3952
3952
|
"member": "Filter",
|
3953
3953
|
"name": "Filters",
|
@@ -13596,7 +13596,7 @@
|
|
13596
13596
|
{
|
13597
13597
|
"disabled": false,
|
13598
13598
|
"document": "断流信息",
|
13599
|
-
"example": "
|
13599
|
+
"example": "[\"stream 1 is broken\", \"stream 2 is broken\"\"]",
|
13600
13600
|
"member": "string",
|
13601
13601
|
"name": "StreamBrokenResults",
|
13602
13602
|
"output_required": true,
|
@@ -13606,7 +13606,7 @@
|
|
13606
13606
|
{
|
13607
13607
|
"disabled": false,
|
13608
13608
|
"document": "低帧率信息",
|
13609
|
-
"example": "
|
13609
|
+
"example": "[\"stream 1 framerate is less than 10 fps\", \"stream 2 framerate is less than 10 fps\"]",
|
13610
13610
|
"member": "string",
|
13611
13611
|
"name": "LowFrameRateResults",
|
13612
13612
|
"output_required": true,
|
@@ -13616,7 +13616,7 @@
|
|
13616
13616
|
{
|
13617
13617
|
"disabled": false,
|
13618
13618
|
"document": "流格式诊断信息",
|
13619
|
-
"example": "
|
13619
|
+
"example": "[\"stream 1 is jitter\", \"stream 2 is jitter\"]",
|
13620
13620
|
"member": "string",
|
13621
13621
|
"name": "StreamFormatResults",
|
13622
13622
|
"output_required": true,
|
@@ -14179,10 +14179,10 @@
|
|
14179
14179
|
{
|
14180
14180
|
"disabled": false,
|
14181
14181
|
"document": "流名称。",
|
14182
|
-
"example": "
|
14182
|
+
"example": "stream1",
|
14183
14183
|
"member": "string",
|
14184
14184
|
"name": "StreamName",
|
14185
|
-
"
|
14185
|
+
"output_required": true,
|
14186
14186
|
"type": "string",
|
14187
14187
|
"value_allowed_null": false
|
14188
14188
|
},
|
@@ -14192,7 +14192,7 @@
|
|
14192
14192
|
"example": "2020-01-01 12:12:12",
|
14193
14193
|
"member": "string",
|
14194
14194
|
"name": "CreateTime",
|
14195
|
-
"
|
14195
|
+
"output_required": true,
|
14196
14196
|
"type": "string",
|
14197
14197
|
"value_allowed_null": false
|
14198
14198
|
},
|
@@ -14202,27 +14202,27 @@
|
|
14202
14202
|
"example": "2020-01-01 12:12:12",
|
14203
14203
|
"member": "string",
|
14204
14204
|
"name": "ExpireTime",
|
14205
|
-
"
|
14205
|
+
"output_required": true,
|
14206
14206
|
"type": "string",
|
14207
14207
|
"value_allowed_null": false
|
14208
14208
|
},
|
14209
14209
|
{
|
14210
14210
|
"disabled": false,
|
14211
14211
|
"document": "推流路径。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14212
|
-
"example": "
|
14212
|
+
"example": "live",
|
14213
14213
|
"member": "string",
|
14214
14214
|
"name": "AppName",
|
14215
|
-
"
|
14215
|
+
"output_required": true,
|
14216
14216
|
"type": "string",
|
14217
14217
|
"value_allowed_null": true
|
14218
14218
|
},
|
14219
14219
|
{
|
14220
14220
|
"disabled": false,
|
14221
14221
|
"document": "推流域名。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14222
|
-
"example": "
|
14222
|
+
"example": "5000.livepush.com",
|
14223
14223
|
"member": "string",
|
14224
14224
|
"name": "DomainName",
|
14225
|
-
"
|
14225
|
+
"output_required": true,
|
14226
14226
|
"type": "string",
|
14227
14227
|
"value_allowed_null": true
|
14228
14228
|
}
|
@@ -14271,7 +14271,7 @@
|
|
14271
14271
|
{
|
14272
14272
|
"disabled": false,
|
14273
14273
|
"document": "HLS续流超时时间。\n取值范围[0,1800]。\n注意:此字段可能返回 null,表示取不到有效值。",
|
14274
|
-
"example": "
|
14274
|
+
"example": "50",
|
14275
14275
|
"member": "uint64",
|
14276
14276
|
"name": "FlowContinueDuration",
|
14277
14277
|
"output_required": false,
|
@@ -15161,7 +15161,7 @@
|
|
15161
15161
|
{
|
15162
15162
|
"disabled": false,
|
15163
15163
|
"document": "智能语音识别结果。",
|
15164
|
-
"example": "
|
15164
|
+
"example": "[\"stream 1: 你好\", “stream 2: 最近怎么样”]",
|
15165
15165
|
"member": "string",
|
15166
15166
|
"name": "AiAsrResults",
|
15167
15167
|
"output_required": true,
|
@@ -15171,7 +15171,7 @@
|
|
15171
15171
|
{
|
15172
15172
|
"disabled": false,
|
15173
15173
|
"document": "智能文字识别结果。",
|
15174
|
-
"example": "
|
15174
|
+
"example": "[\"stream 1: cctv\", “stream 2: cctv2”]",
|
15175
15175
|
"member": "string",
|
15176
15176
|
"name": "AiOcrResults",
|
15177
15177
|
"output_required": true,
|
@@ -15181,7 +15181,7 @@
|
|
15181
15181
|
{
|
15182
15182
|
"disabled": false,
|
15183
15183
|
"document": "内容质检结果。",
|
15184
|
-
"example": "
|
15184
|
+
"example": "[\"stream1: Moasic\", \"stream 2: Blur\"]",
|
15185
15185
|
"member": "string",
|
15186
15186
|
"name": "StreamQuaCtrlResults",
|
15187
15187
|
"output_required": true,
|
@@ -18852,7 +18852,7 @@
|
|
18852
18852
|
{
|
18853
18853
|
"disabled": false,
|
18854
18854
|
"document": "模板名称。",
|
18855
|
-
"example": "
|
18855
|
+
"example": "name",
|
18856
18856
|
"member": "string",
|
18857
18857
|
"name": "TemplateName",
|
18858
18858
|
"output_required": true,
|
@@ -18862,7 +18862,7 @@
|
|
18862
18862
|
{
|
18863
18863
|
"disabled": false,
|
18864
18864
|
"document": "描述信息。",
|
18865
|
-
"example": "
|
18865
|
+
"example": "description",
|
18866
18866
|
"member": "string",
|
18867
18867
|
"name": "Description",
|
18868
18868
|
"output_required": true,
|
@@ -20584,7 +20584,7 @@
|
|
20584
20584
|
{
|
20585
20585
|
"disabled": false,
|
20586
20586
|
"document": "时移自适应码率子流转码模板ID。",
|
20587
|
-
"example": "
|
20587
|
+
"example": "332341",
|
20588
20588
|
"member": "uint64",
|
20589
20589
|
"name": "TransCodeId",
|
20590
20590
|
"output_required": true,
|
@@ -845,6 +845,28 @@
|
|
845
845
|
"required": false,
|
846
846
|
"type": "int",
|
847
847
|
"value_allowed_null": true
|
848
|
+
},
|
849
|
+
{
|
850
|
+
"disabled": false,
|
851
|
+
"document": "主agent\n注意:此字段可能返回 null,表示取不到有效值。",
|
852
|
+
"example": "转交出去的agent",
|
853
|
+
"member": "string",
|
854
|
+
"name": "SourceAgentName",
|
855
|
+
"output_required": false,
|
856
|
+
"required": false,
|
857
|
+
"type": "string",
|
858
|
+
"value_allowed_null": true
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"disabled": false,
|
862
|
+
"document": "挂号agent\n注意:此字段可能返回 null,表示取不到有效值。",
|
863
|
+
"example": "接受方agent",
|
864
|
+
"member": "string",
|
865
|
+
"name": "TargetAgentName",
|
866
|
+
"output_required": false,
|
867
|
+
"required": false,
|
868
|
+
"type": "string",
|
869
|
+
"value_allowed_null": true
|
848
870
|
}
|
849
871
|
],
|
850
872
|
"usage": "both"
|
@@ -6978,8 +7000,8 @@
|
|
6978
7000
|
},
|
6979
7001
|
{
|
6980
7002
|
"disabled": false,
|
6981
|
-
"document": "
|
6982
|
-
"example": "
|
7003
|
+
"document": "数量, 数量需大于2",
|
7004
|
+
"example": "2",
|
6983
7005
|
"member": "uint64",
|
6984
7006
|
"name": "Count",
|
6985
7007
|
"required": true,
|
@@ -7005,7 +7027,7 @@
|
|
7005
7027
|
},
|
7006
7028
|
{
|
7007
7029
|
"disabled": false,
|
7008
|
-
"document": "应用AppKey, 当Type=5[API访客]时, 该字段必填",
|
7030
|
+
"document": "应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项",
|
7009
7031
|
"example": "无",
|
7010
7032
|
"member": "string",
|
7011
7033
|
"name": "BotAppKey",
|
@@ -7356,7 +7378,7 @@
|
|
7356
7378
|
},
|
7357
7379
|
{
|
7358
7380
|
"disabled": false,
|
7359
|
-
"document": "访客ID
|
7381
|
+
"document": "访客ID(外部输入,建议唯一,标识当前接入会话的用户)\n长度限制: string(64)",
|
7360
7382
|
"example": "无",
|
7361
7383
|
"member": "string",
|
7362
7384
|
"name": "VisitorBizId",
|
@@ -10946,6 +10968,28 @@
|
|
10946
10968
|
"required": false,
|
10947
10969
|
"type": "string",
|
10948
10970
|
"value_allowed_null": false
|
10971
|
+
},
|
10972
|
+
{
|
10973
|
+
"disabled": false,
|
10974
|
+
"document": "是否默认模型",
|
10975
|
+
"example": "无",
|
10976
|
+
"member": "bool",
|
10977
|
+
"name": "IsDefault",
|
10978
|
+
"output_required": false,
|
10979
|
+
"required": false,
|
10980
|
+
"type": "bool",
|
10981
|
+
"value_allowed_null": false
|
10982
|
+
},
|
10983
|
+
{
|
10984
|
+
"disabled": false,
|
10985
|
+
"document": "角色提示词输入长度限制",
|
10986
|
+
"example": "无",
|
10987
|
+
"member": "uint64",
|
10988
|
+
"name": "RoleLenLimit",
|
10989
|
+
"output_required": false,
|
10990
|
+
"required": false,
|
10991
|
+
"type": "int",
|
10992
|
+
"value_allowed_null": false
|
10949
10993
|
}
|
10950
10994
|
],
|
10951
10995
|
"usage": "both"
|
@@ -13844,8 +13888,8 @@
|
|
13844
13888
|
},
|
13845
13889
|
{
|
13846
13890
|
"disabled": false,
|
13847
|
-
"document": "cos_hash x-cos-hash-crc64ecma 头部中的 CRC64编码进行校验上传到云端的文件和本地文件的一致性
|
13848
|
-
"example": "
|
13891
|
+
"document": "cos_hash x-cos-hash-crc64ecma 头部中的 CRC64编码进行校验上传到云端的文件和本地文件的一致性 \n成功上传cos后,从返回头中获取\n\n请注意:\ncos_hash为文档唯一性标识,与文件名无关 相同的cos_hash会被判定为重复文档",
|
13892
|
+
"example": "\"1de165cdf1362b18c83592c7030af992\\\"",
|
13849
13893
|
"member": "string",
|
13850
13894
|
"name": "CosHash",
|
13851
13895
|
"required": true,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ChatCompletions": {
|
4
|
-
"document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为100。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输出16k。\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n -
|
4
|
+
"document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为100。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)\n - DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。\n - 支持64K上下文长度,最大输出16k。\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-Prover-V2 模型 | 暂不计费\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
|
5
5
|
"input": "ChatCompletionsRequest",
|
6
6
|
"name": "DeepSeek API 接口",
|
7
7
|
"output": "ChatCompletionsResponse",
|
@@ -350,6 +350,15 @@
|
|
350
350
|
"name": "MaxTokens",
|
351
351
|
"required": false,
|
352
352
|
"type": "int"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"disabled": false,
|
356
|
+
"document": "是否启用联网搜索",
|
357
|
+
"example": "false",
|
358
|
+
"member": "bool",
|
359
|
+
"name": "EnableSearch",
|
360
|
+
"required": false,
|
361
|
+
"type": "bool"
|
353
362
|
}
|
354
363
|
],
|
355
364
|
"type": "object"
|
@@ -1232,6 +1241,26 @@
|
|
1232
1241
|
"output_required": false,
|
1233
1242
|
"type": "int",
|
1234
1243
|
"value_allowed_null": false
|
1244
|
+
},
|
1245
|
+
{
|
1246
|
+
"disabled": false,
|
1247
|
+
"document": "拆分消耗的token数",
|
1248
|
+
"example": "1024",
|
1249
|
+
"member": "int64",
|
1250
|
+
"name": "SplitTokens",
|
1251
|
+
"output_required": false,
|
1252
|
+
"type": "int",
|
1253
|
+
"value_allowed_null": false
|
1254
|
+
},
|
1255
|
+
{
|
1256
|
+
"disabled": false,
|
1257
|
+
"document": "mllm消耗的token数",
|
1258
|
+
"example": "1024",
|
1259
|
+
"member": "int64",
|
1260
|
+
"name": "MllmTokens",
|
1261
|
+
"output_required": false,
|
1262
|
+
"type": "int",
|
1263
|
+
"value_allowed_null": false
|
1235
1264
|
}
|
1236
1265
|
],
|
1237
1266
|
"usage": "out"
|
@@ -1778,6 +1807,17 @@
|
|
1778
1807
|
"required": false,
|
1779
1808
|
"type": "string",
|
1780
1809
|
"value_allowed_null": false
|
1810
|
+
},
|
1811
|
+
{
|
1812
|
+
"disabled": false,
|
1813
|
+
"document": "搜索结果",
|
1814
|
+
"example": "无",
|
1815
|
+
"member": "SearchResult",
|
1816
|
+
"name": "SearchResults",
|
1817
|
+
"output_required": false,
|
1818
|
+
"required": false,
|
1819
|
+
"type": "list",
|
1820
|
+
"value_allowed_null": false
|
1781
1821
|
}
|
1782
1822
|
],
|
1783
1823
|
"usage": "both"
|
@@ -2479,6 +2519,89 @@
|
|
2479
2519
|
],
|
2480
2520
|
"type": "object"
|
2481
2521
|
},
|
2522
|
+
"SearchResult": {
|
2523
|
+
"document": "搜索结果",
|
2524
|
+
"members": [
|
2525
|
+
{
|
2526
|
+
"disabled": false,
|
2527
|
+
"document": "索引",
|
2528
|
+
"example": "1",
|
2529
|
+
"member": "int64",
|
2530
|
+
"name": "Index",
|
2531
|
+
"output_required": false,
|
2532
|
+
"required": false,
|
2533
|
+
"type": "int",
|
2534
|
+
"value_allowed_null": false
|
2535
|
+
},
|
2536
|
+
{
|
2537
|
+
"disabled": false,
|
2538
|
+
"document": "链接地址",
|
2539
|
+
"example": "https://www.qq.com/",
|
2540
|
+
"member": "string",
|
2541
|
+
"name": "Url",
|
2542
|
+
"output_required": false,
|
2543
|
+
"required": false,
|
2544
|
+
"type": "string",
|
2545
|
+
"value_allowed_null": false
|
2546
|
+
},
|
2547
|
+
{
|
2548
|
+
"disabled": false,
|
2549
|
+
"document": "标题",
|
2550
|
+
"example": "筑牢压舱石、澎湃新动能 一季度经济大省稳增长再提速_腾讯新闻",
|
2551
|
+
"member": "string",
|
2552
|
+
"name": "Name",
|
2553
|
+
"output_required": false,
|
2554
|
+
"required": false,
|
2555
|
+
"type": "string",
|
2556
|
+
"value_allowed_null": false
|
2557
|
+
},
|
2558
|
+
{
|
2559
|
+
"disabled": false,
|
2560
|
+
"document": "摘要",
|
2561
|
+
"example": "经济大省是国家经济发展的顶梁柱。 ",
|
2562
|
+
"member": "string",
|
2563
|
+
"name": "Snippet",
|
2564
|
+
"output_required": false,
|
2565
|
+
"required": false,
|
2566
|
+
"type": "string",
|
2567
|
+
"value_allowed_null": false
|
2568
|
+
},
|
2569
|
+
{
|
2570
|
+
"disabled": false,
|
2571
|
+
"document": "图标",
|
2572
|
+
"example": "https://mat1.gtimg.com/qqcdn/qqindex2021/favicon.ico",
|
2573
|
+
"member": "string",
|
2574
|
+
"name": "Icon",
|
2575
|
+
"output_required": false,
|
2576
|
+
"required": false,
|
2577
|
+
"type": "string",
|
2578
|
+
"value_allowed_null": false
|
2579
|
+
},
|
2580
|
+
{
|
2581
|
+
"disabled": false,
|
2582
|
+
"document": "站点",
|
2583
|
+
"example": "腾讯网",
|
2584
|
+
"member": "string",
|
2585
|
+
"name": "Site",
|
2586
|
+
"output_required": false,
|
2587
|
+
"required": false,
|
2588
|
+
"type": "string",
|
2589
|
+
"value_allowed_null": false
|
2590
|
+
},
|
2591
|
+
{
|
2592
|
+
"disabled": false,
|
2593
|
+
"document": "1740412800",
|
2594
|
+
"example": "发布时间",
|
2595
|
+
"member": "int64",
|
2596
|
+
"name": "PublishedTime",
|
2597
|
+
"output_required": false,
|
2598
|
+
"required": false,
|
2599
|
+
"type": "int",
|
2600
|
+
"value_allowed_null": false
|
2601
|
+
}
|
2602
|
+
],
|
2603
|
+
"usage": "both"
|
2604
|
+
},
|
2482
2605
|
"SegmentationConfig": {
|
2483
2606
|
"document": "分段配置",
|
2484
2607
|
"members": [
|