tccli 3.0.1320.1__py2.py3-none-any.whl → 3.0.1322.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.
Files changed (57) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/batch/v20170312/api.json +16 -16
  3. tccli/services/bh/v20230418/api.json +203 -0
  4. tccli/services/cam/v20190116/api.json +18 -18
  5. tccli/services/cbs/v20170312/api.json +4 -4
  6. tccli/services/cdb/cdb_client.py +53 -0
  7. tccli/services/cdb/v20170320/api.json +486 -1
  8. tccli/services/cdb/v20170320/examples.json +8 -0
  9. tccli/services/cdwdoris/v20211228/api.json +36 -0
  10. tccli/services/cfs/v20190719/api.json +8 -8
  11. tccli/services/cfw/v20190904/api.json +7 -7
  12. tccli/services/cfw/v20190904/examples.json +2 -2
  13. tccli/services/chc/v20230418/api.json +33 -2
  14. tccli/services/ckafka/v20190819/api.json +19 -10
  15. tccli/services/clb/v20180317/api.json +2 -2
  16. tccli/services/cme/v20191029/api.json +1 -1
  17. tccli/services/csip/v20221121/api.json +9 -9
  18. tccli/services/cynosdb/v20190107/api.json +148 -4
  19. tccli/services/dlc/v20210125/api.json +11 -9
  20. tccli/services/dnspod/v20210323/api.json +1 -1
  21. tccli/services/dts/v20211206/api.json +2 -2
  22. tccli/services/emr/emr_client.py +262 -50
  23. tccli/services/emr/v20190103/api.json +325 -0
  24. tccli/services/emr/v20190103/examples.json +32 -0
  25. tccli/services/es/v20180416/api.json +2 -2
  26. tccli/services/ess/v20201111/api.json +1 -1
  27. tccli/services/essbasic/v20210526/api.json +10 -1
  28. tccli/services/faceid/v20180301/api.json +60 -22
  29. tccli/services/goosefs/v20220519/api.json +4 -4
  30. tccli/services/gs/v20191118/api.json +18 -0
  31. tccli/services/keewidb/v20220308/api.json +6 -4
  32. tccli/services/lkeap/v20240522/api.json +2 -2
  33. tccli/services/lkeap/v20240522/examples.json +2 -2
  34. tccli/services/monitor/v20180724/api.json +4 -4
  35. tccli/services/mps/v20190612/api.json +27 -0
  36. tccli/services/oceanus/v20190422/api.json +425 -13
  37. tccli/services/oceanus/v20190422/examples.json +1 -1
  38. tccli/services/ocr/v20181119/api.json +10 -0
  39. tccli/services/rum/v20210622/api.json +9 -0
  40. tccli/services/ses/ses_client.py +53 -0
  41. tccli/services/ses/v20201002/api.json +102 -0
  42. tccli/services/ses/v20201002/examples.json +8 -0
  43. tccli/services/ssl/v20191205/api.json +10 -0
  44. tccli/services/tag/v20180813/api.json +26 -26
  45. tccli/services/tbaas/v20180416/api.json +5 -5
  46. tccli/services/teo/v20220901/examples.json +3 -3
  47. tccli/services/tione/v20211111/api.json +42 -0
  48. tccli/services/vod/v20180717/api.json +3 -3
  49. tccli/services/vpc/v20170312/api.json +4 -4
  50. tccli/services/wedata/v20210820/api.json +301 -6
  51. tccli/services/wedata/v20210820/examples.json +11 -3
  52. tccli/services/wedata/wedata_client.py +57 -4
  53. {tccli-3.0.1320.1.dist-info → tccli-3.0.1322.1.dist-info}/METADATA +2 -2
  54. {tccli-3.0.1320.1.dist-info → tccli-3.0.1322.1.dist-info}/RECORD +57 -57
  55. {tccli-3.0.1320.1.dist-info → tccli-3.0.1322.1.dist-info}/WHEEL +0 -0
  56. {tccli-3.0.1320.1.dist-info → tccli-3.0.1322.1.dist-info}/entry_points.txt +0 -0
  57. {tccli-3.0.1320.1.dist-info → tccli-3.0.1322.1.dist-info}/license_files/LICENSE +0 -0
@@ -817,7 +817,7 @@
817
817
  },
818
818
  {
819
819
  "disabled": false,
820
- "document": "业务错误码。\n- 成功情况返回Success,。\n- 错误情况请参考下方错误码 列表中FailedOperation部分",
820
+ "document": "业务错误码。- 成功情况返回Success。- 错误情况请参考下方错误码 列表中FailedOperation部分",
821
821
  "example": "FailedOperation.OcrWarningOccurred",
822
822
  "member": "string",
823
823
  "name": "Result",
@@ -938,7 +938,7 @@
938
938
  {
939
939
  "disabled": false,
940
940
  "document": "加密后的数据。",
941
- "example": "",
941
+ "example": "7a548b658cbe",
942
942
  "member": "string",
943
943
  "name": "EncryptedBody",
944
944
  "output_required": false,
@@ -1107,7 +1107,7 @@
1107
1107
  "members": [
1108
1108
  {
1109
1109
  "disabled": false,
1110
- "document": "传入需要进行检测的带有人脸的图片或视频,使用base64编码的形式。\n- 图片的Base64值:\n建议整体图像480x640的分辨率,脸部 大小 100X100 以上。\nBase64编码后的图片数据大小不超过3M,仅支持jpg、png格式。\n请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。\n\n- 视频的Base64值:\nBase64编码后的大小不超过8M,支持mp4、avi、flv格式。\n请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。\n视频时长最大支持20s,建议时长2~5s。\n建议视频分辨率为480x640,帧率在25fps~30fps之间。",
1110
+ "document": "传入需要进行检测的带有人脸的图片或视频(当前仅支持单人脸检测),使用base64编码的形式。\n- 图片的Base64值:\n建议整体图像480x640的分辨率,脸部 大小 100X100 以上。\nBase64编码后的图片数据大小建议不超过3M、最大不可超过10M,仅支持jpg、png格式。\n请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。\n\n- 视频的Base64值:\nBase64编码后的大小建议不超过8M、最大不可超过10M,支持mp4、avi、flv格式。\n请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。\n视频时长最大支持20s,建议时长2~5s。\n建议视频分辨率为480x640,帧率在25fps~30fps之间。\n\n示例值:/9j/4AAQSkZJRg.....s97n//2Q==",
1111
1111
  "example": "/9j/4AAQSkZJRg.....s97n//2Q==",
1112
1112
  "member": "string",
1113
1113
  "name": "FaceInput",
@@ -1236,7 +1236,7 @@
1236
1236
  },
1237
1237
  {
1238
1238
  "disabled": false,
1239
- "document": "透传字段,在获取验证结果时返回。",
1239
+ "document": "透传字段,在获取验证结果时返回。\n- 最长长度1024位。",
1240
1240
  "example": "Orderid=f904f4cf75db4f8fdc4f942c7f7a",
1241
1241
  "member": "string",
1242
1242
  "name": "Extra",
@@ -1835,7 +1835,7 @@
1835
1835
  },
1836
1836
  {
1837
1837
  "disabled": false,
1838
- "document": "本次流程最终活体类型。\n- 取值范围:\n 0:未知\n 1:数字活体\n 2:动作活体\n 3:静默活体\n 4:一闪活体(动作+光线)\n注意:此字段可能返回 null,表示取不到有效值。",
1838
+ "document": "本次流程最终活体类型。\n- 取值范围:\n 0:未知\n 1:数字活体\n 2:动作活体\n 3:静默活体\n 4:一闪活体(动作+光线)\n 5:远近活体\n注意:此字段可能返回 null,表示取不到有效值。",
1839
1839
  "example": "0",
1840
1840
  "member": "uint64",
1841
1841
  "name": "LivenessMode",
@@ -2115,7 +2115,7 @@
2115
2115
  {
2116
2116
  "disabled": false,
2117
2117
  "document": "默认不需要使用。",
2118
- "example": "",
2118
+ "example": "0",
2119
2119
  "member": "string",
2120
2120
  "name": "ActionType",
2121
2121
  "required": false,
@@ -2749,6 +2749,24 @@
2749
2749
  "name": "IsNeedBestFrame",
2750
2750
  "required": false,
2751
2751
  "type": "bool"
2752
+ },
2753
+ {
2754
+ "disabled": false,
2755
+ "document": "是否对回包整体进行加密。",
2756
+ "example": "false",
2757
+ "member": "bool",
2758
+ "name": "IsEncryptResponse",
2759
+ "required": false,
2760
+ "type": "bool"
2761
+ },
2762
+ {
2763
+ "disabled": false,
2764
+ "document": "是否需要对返回中的敏感信息进行加密。 \n只需指定加密算法Algorithm即可,其余字段传入默认值。",
2765
+ "example": "无",
2766
+ "member": "Encryption",
2767
+ "name": "Encryption",
2768
+ "required": false,
2769
+ "type": "object"
2752
2770
  }
2753
2771
  ],
2754
2772
  "type": "object"
@@ -2838,8 +2856,8 @@
2838
2856
  },
2839
2857
  {
2840
2858
  "disabled": false,
2841
- "document": "plus版:描述当前请求所在设备的风险标签。\n- 详情如下:\n01-设备疑似被Root/设备疑似越狱。\n02-设备疑似被注入。\n03-设备疑似为模拟器。\n04-设备疑似存在风险操作。\n05-摄像头疑似被劫持。\n06-疑似黑产设备。\nnull-无设备风险。\n- 增强版:此字段不生效,默认为null。\n注意:此字段可能返回 null,表示取不到有效值。",
2842
- "example": "01",
2859
+ "document": "plus版:描述当前请求所在设备的风险标签。\n- 详情如下:\n06-疑似黑产设备。\nnull-无设备风险。\n- 增强版:此字段不生效,默认为null。\n注意:此字段可能返回 null,表示取不到有效值。",
2860
+ "example": "06",
2843
2861
  "member": "string",
2844
2862
  "name": "DeviceInfoTag",
2845
2863
  "output_required": true,
@@ -2876,6 +2894,26 @@
2876
2894
  "type": "string",
2877
2895
  "value_allowed_null": true
2878
2896
  },
2897
+ {
2898
+ "disabled": false,
2899
+ "document": "敏感数据加密信息。\n注意:此字段可能返回 null,表示取不到有效值。",
2900
+ "example": "无",
2901
+ "member": "Encryption",
2902
+ "name": "Encryption",
2903
+ "output_required": false,
2904
+ "type": "object",
2905
+ "value_allowed_null": true
2906
+ },
2907
+ {
2908
+ "disabled": false,
2909
+ "document": "加密后的数据。\n注意:此字段可能返回 null,表示取不到有效值。",
2910
+ "example": "0hMvx6fX6n...gXE0adJA==",
2911
+ "member": "string",
2912
+ "name": "EncryptedBody",
2913
+ "output_required": false,
2914
+ "type": "string",
2915
+ "value_allowed_null": true
2916
+ },
2879
2917
  {
2880
2918
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2881
2919
  "member": "string",
@@ -3040,7 +3078,7 @@
3040
3078
  },
3041
3079
  {
3042
3080
  "disabled": false,
3043
- "document": "敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。",
3081
+ "document": "敏感数据加密信息。对传入信息(姓名、身份证号、自传照片)有加密需求的用户可使用此参数,详情请点击左侧链接。",
3044
3082
  "example": "无",
3045
3083
  "member": "Encryption",
3046
3084
  "name": "Encryption",
@@ -3470,7 +3508,7 @@
3470
3508
  {
3471
3509
  "disabled": false,
3472
3510
  "document": "本接口不需要传递此参数。",
3473
- "example": "",
3511
+ "example": "92424b",
3474
3512
  "member": "string",
3475
3513
  "name": "Optional",
3476
3514
  "required": false,
@@ -3563,7 +3601,7 @@
3563
3601
  {
3564
3602
  "disabled": false,
3565
3603
  "document": "本接口不需要传递此参数。",
3566
- "example": "",
3604
+ "example": "92424b",
3567
3605
  "member": "string",
3568
3606
  "name": "Optional",
3569
3607
  "required": false,
@@ -4262,7 +4300,7 @@
4262
4300
  {
4263
4301
  "disabled": false,
4264
4302
  "document": "参与校验的参数类型。\n0:使用手机号进行校验;\n1:使用姓名与身份证号进行校验。",
4265
- "example": "",
4303
+ "example": "0",
4266
4304
  "member": "string",
4267
4305
  "name": "Type",
4268
4306
  "required": true,
@@ -4271,7 +4309,7 @@
4271
4309
  {
4272
4310
  "disabled": false,
4273
4311
  "document": "手机号,11位数字,\n特别提示:\n手机号验证只限制在腾讯健康守护可信模型覆盖的数据范围内,与手机号本身在运营商是否实名无关联,不在范围会提示“手机号未实名”,建议客户与传入姓名和身份证号信息组合使用。",
4274
- "example": "",
4312
+ "example": "16137688175",
4275
4313
  "member": "string",
4276
4314
  "name": "Mobile",
4277
4315
  "required": false,
@@ -4280,7 +4318,7 @@
4280
4318
  {
4281
4319
  "disabled": false,
4282
4320
  "document": "身份证号码。",
4283
- "example": "",
4321
+ "example": "11204416541220243X",
4284
4322
  "member": "string",
4285
4323
  "name": "IdCard",
4286
4324
  "required": false,
@@ -4289,7 +4327,7 @@
4289
4327
  {
4290
4328
  "disabled": false,
4291
4329
  "document": "姓名。",
4292
- "example": "",
4330
+ "example": "韦小宝",
4293
4331
  "member": "string",
4294
4332
  "name": "Name",
4295
4333
  "required": false,
@@ -4313,30 +4351,30 @@
4313
4351
  {
4314
4352
  "disabled": false,
4315
4353
  "document": "结果码,收费情况如下。\n收费结果码:\n0: 成年\n-1: 未成年\n-3: 姓名和身份证号不一致\n\n不收费结果码:\n-2: 未查询到手机号信息\n-4: 非法身份证号(长度、校验位等不正确)\n-5: 非法姓名(长度、格式等不正确)\n-6: 权威数据源服务异常\n-7: 未查询到身份信息\n-8: 权威数据源升级中,请稍后再试",
4316
- "example": "",
4354
+ "example": "0",
4317
4355
  "member": "string",
4318
4356
  "name": "Result",
4319
- "required": true,
4357
+ "output_required": true,
4320
4358
  "type": "string",
4321
4359
  "value_allowed_null": false
4322
4360
  },
4323
4361
  {
4324
4362
  "disabled": false,
4325
4363
  "document": "业务结果描述。",
4326
- "example": "",
4364
+ "example": "成年",
4327
4365
  "member": "string",
4328
4366
  "name": "Description",
4329
- "required": true,
4367
+ "output_required": true,
4330
4368
  "type": "string",
4331
4369
  "value_allowed_null": false
4332
4370
  },
4333
4371
  {
4334
4372
  "disabled": false,
4335
4373
  "document": "该字段的值为年龄区间。格式为[a,b),\n[0,8)表示年龄小于8周岁区间,不包括8岁;\n[8,16)表示年龄8-16周岁区间,不包括16岁;\n[16,18)表示年龄16-18周岁区间,不包括18岁;\n[18,+)表示年龄大于18周岁。",
4336
- "example": "",
4374
+ "example": "[18,+)",
4337
4375
  "member": "string",
4338
4376
  "name": "AgeRange",
4339
- "required": true,
4377
+ "output_required": true,
4340
4378
  "type": "string",
4341
4379
  "value_allowed_null": false
4342
4380
  },
@@ -5065,7 +5103,7 @@
5065
5103
  {
5066
5104
  "disabled": false,
5067
5105
  "document": "业务结果详细信息。\n- 当VerifyMode配置\"详版\",且Result为\"-4: 三要素信息不一致\"时返回。\n- 枚举值:\nPhoneIdCardMismatch:手机号码与姓名一致,与身份证号不一致。\nPhoneNameMismatch:手机号码身份证号一致,与姓名不一致。\nPhoneNameIdCardMismatch:手机号码与姓名和身份证号均不一致。\nNameIdCardMismatch:姓名和身份证号不一致。\nOtherMismatch:其他不一致。",
5068
- "example": "",
5106
+ "example": "PhoneIdCardMismatch",
5069
5107
  "member": "string",
5070
5108
  "name": "ResultDetail",
5071
5109
  "output_required": false,
@@ -1657,7 +1657,7 @@
1657
1657
  {
1658
1658
  "disabled": false,
1659
1659
  "document": "Fileset名称",
1660
- "example": "test123",
1660
+ "example": "myfset",
1661
1661
  "member": "string",
1662
1662
  "name": "FsetName",
1663
1663
  "output_required": true,
@@ -1745,7 +1745,7 @@
1745
1745
  {
1746
1746
  "disabled": false,
1747
1747
  "document": "Fileset审计",
1748
- "example": "true/false",
1748
+ "example": "enable/disable",
1749
1749
  "member": "string",
1750
1750
  "name": "AuditState",
1751
1751
  "output_required": false,
@@ -1756,7 +1756,7 @@
1756
1756
  {
1757
1757
  "disabled": false,
1758
1758
  "document": "创建时间",
1759
- "example": "",
1759
+ "example": "2025-04-08T19:38:54+08:00",
1760
1760
  "member": "datetime_iso",
1761
1761
  "name": "CreateTime",
1762
1762
  "output_required": false,
@@ -1767,7 +1767,7 @@
1767
1767
  {
1768
1768
  "disabled": false,
1769
1769
  "document": "修改时间",
1770
- "example": "",
1770
+ "example": "2025-04-29T15:20:23+08:00",
1771
1771
  "member": "datetime_iso",
1772
1772
  "name": "ModifyTime",
1773
1773
  "output_required": false,
@@ -3462,6 +3462,15 @@
3462
3462
  "name": "PackageName",
3463
3463
  "required": true,
3464
3464
  "type": "string"
3465
+ },
3466
+ {
3467
+ "disabled": false,
3468
+ "document": "启动页。建议指定启动页来启动应用,避免启动失败。如果启动页为空,系统尝试根据 PackageName 启动,但不保证成功。",
3469
+ "example": ".MainActivity",
3470
+ "member": "string",
3471
+ "name": "Activity",
3472
+ "required": false,
3473
+ "type": "string"
3465
3474
  }
3466
3475
  ],
3467
3476
  "type": "object"
@@ -3649,6 +3658,15 @@
3649
3658
  "name": "PackageName",
3650
3659
  "required": true,
3651
3660
  "type": "string"
3661
+ },
3662
+ {
3663
+ "disabled": false,
3664
+ "document": "启动页。建议指定启动页来启动应用,避免启动失败。如果启动页为空,系统尝试根据 PackageName 启动,但不保证成功。",
3665
+ "example": ".MainActivity",
3666
+ "member": "string",
3667
+ "name": "Activity",
3668
+ "required": false,
3669
+ "type": "string"
3652
3670
  }
3653
3671
  ],
3654
3672
  "type": "object"
@@ -711,7 +711,7 @@
711
711
  },
712
712
  {
713
713
  "disabled": false,
714
- "document": "实例所属的可用区ID。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></u>",
714
+ "document": "实例所属的可用区ID。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></ul>",
715
715
  "example": "100006",
716
716
  "member": "uint64",
717
717
  "name": "ZoneId",
@@ -720,7 +720,7 @@
720
720
  },
721
721
  {
722
722
  "disabled": false,
723
- "document": "实例所属的可用区名称。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></u>",
723
+ "document": "实例所属的可用区名称。<ul><li>具体取值,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106)获取。</li><li>参数<b>ZoneId</b>和<b>ZoneName</b>至少配置其中一个。</li></ul>",
724
724
  "example": "ap-guangzhou-6",
725
725
  "member": "string",
726
726
  "name": "ZoneName",
@@ -765,7 +765,7 @@
765
765
  },
766
766
  {
767
767
  "disabled": false,
768
- "document": "包年包月计费的续费模式。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>",
768
+ "document": "包年包月计费的续费模式。<ul><li>0:默认状态,指手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</li></ul>",
769
769
  "example": "0",
770
770
  "member": "uint64",
771
771
  "name": "AutoRenew",
@@ -828,7 +828,7 @@
828
828
  },
829
829
  {
830
830
  "disabled": false,
831
- "document": "数据压缩开关。<ul><li>ON:开启,默认开启压缩。</li><li>OFF:关闭。</li>",
831
+ "document": "数据压缩开关。<ul><li>ON:开启,默认开启压缩。</li><li>OFF:关闭。</li></ul>",
832
832
  "example": "ON",
833
833
  "member": "string",
834
834
  "name": "Compression",
@@ -847,6 +847,7 @@
847
847
  "example": "199878234",
848
848
  "member": "string",
849
849
  "name": "DealId",
850
+ "output_required": true,
850
851
  "type": "string",
851
852
  "value_allowed_null": false
852
853
  },
@@ -856,6 +857,7 @@
856
857
  "example": "kee-7djvzcnx",
857
858
  "member": "string",
858
859
  "name": "InstanceIds",
860
+ "output_required": true,
859
861
  "type": "list",
860
862
  "value_allowed_null": false
861
863
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "ChatCompletions": {
4
- "document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\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 - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\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中。",
4
+ "document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\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 - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\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",
@@ -1918,7 +1918,7 @@
1918
1918
  {
1919
1919
  "disabled": false,
1920
1920
  "document": "答案,最大4000个英文字符",
1921
- "example": "我是腾讯大模型知识引擎",
1921
+ "example": "我是您的智能助手",
1922
1922
  "member": "string",
1923
1923
  "name": "Answer",
1924
1924
  "required": true,
@@ -33,7 +33,7 @@
33
33
  "CreateQA": [
34
34
  {
35
35
  "document": "创建问答对",
36
- "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
36
+ "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是您的智能助手\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
37
37
  "output": "{\n \"Response\": {\n \"QaId\": \"1830995120618932160\",\n \"RequestId\": \"28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca\"\n }\n}",
38
38
  "title": "创建问答对"
39
39
  },
@@ -175,7 +175,7 @@
175
175
  "ModifyQA": [
176
176
  {
177
177
  "document": "修改问答对",
178
- "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaId\": \"1830995120618932160\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
178
+ "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaId\": \"1830995120618932160\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是您的智能助手\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
179
179
  "output": "{\n \"Response\": {\n \"RequestId\": \"4f4843c1-8f3b-4a0b-ad7e-91b47f2b93c7\"\n }\n}",
180
180
  "title": "修改问答对"
181
181
  }
@@ -9153,7 +9153,7 @@
9153
9153
  "example": "100",
9154
9154
  "member": "int64",
9155
9155
  "name": "PhoneAlarmNumber",
9156
- "required": true,
9156
+ "output_required": true,
9157
9157
  "type": "int",
9158
9158
  "value_allowed_null": false
9159
9159
  },
@@ -9163,7 +9163,7 @@
9163
9163
  "example": "100",
9164
9164
  "member": "int64",
9165
9165
  "name": "AdvancedMetricNumber",
9166
- "required": true,
9166
+ "output_required": true,
9167
9167
  "type": "int",
9168
9168
  "value_allowed_null": false
9169
9169
  },
@@ -9173,7 +9173,7 @@
9173
9173
  "example": "100",
9174
9174
  "member": "int64",
9175
9175
  "name": "APIUsageNumber",
9176
- "required": true,
9176
+ "output_required": true,
9177
9177
  "type": "int",
9178
9178
  "value_allowed_null": false
9179
9179
  },
@@ -9183,7 +9183,7 @@
9183
9183
  "example": "100",
9184
9184
  "member": "int64",
9185
9185
  "name": "AlarmSMSNumber",
9186
- "required": true,
9186
+ "output_required": true,
9187
9187
  "type": "int",
9188
9188
  "value_allowed_null": false
9189
9189
  },
@@ -15260,6 +15260,15 @@
15260
15260
  "name": "EndTime",
15261
15261
  "required": true,
15262
15262
  "type": "string"
15263
+ },
15264
+ {
15265
+ "disabled": false,
15266
+ "document": "对端客户端或者服务端的IP地址",
15267
+ "example": "101.101.101.101",
15268
+ "member": "string",
15269
+ "name": "RemoteIp",
15270
+ "required": false,
15271
+ "type": "string"
15263
15272
  }
15264
15273
  ],
15265
15274
  "type": "object"
@@ -15453,6 +15462,15 @@
15453
15462
  "name": "Period",
15454
15463
  "required": true,
15455
15464
  "type": "string"
15465
+ },
15466
+ {
15467
+ "disabled": false,
15468
+ "document": "对端客户端或者服务端的IP地址",
15469
+ "example": "101.101.101.101",
15470
+ "member": "string",
15471
+ "name": "RemoteIp",
15472
+ "required": false,
15473
+ "type": "string"
15456
15474
  }
15457
15475
  ],
15458
15476
  "type": "object"
@@ -15544,6 +15562,15 @@
15544
15562
  "name": "EndTime",
15545
15563
  "required": true,
15546
15564
  "type": "string"
15565
+ },
15566
+ {
15567
+ "disabled": false,
15568
+ "document": "对端客户端或者服务端的IP地址",
15569
+ "example": "101.101.101.101",
15570
+ "member": "string",
15571
+ "name": "RemoteIp",
15572
+ "required": false,
15573
+ "type": "string"
15547
15574
  }
15548
15575
  ],
15549
15576
  "type": "object"