tccli 3.0.1276.1__py2.py3-none-any.whl → 3.0.1277.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/ams/v20201229/api.json +52 -22
- tccli/services/cvm/v20170312/api.json +9 -0
- tccli/services/emr/v20190103/api.json +6 -6
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +137 -6
- tccli/services/ess/v20201111/examples.json +10 -2
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +122 -0
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/ims/v20201229/api.json +82 -0
- tccli/services/live/v20180801/api.json +86 -79
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/tione/v20211111/api.json +2 -2
- tccli/services/trtc/v20190722/api.json +9 -0
- tccli/services/wedata/v20210820/api.json +29 -18
- tccli/services/wedata/v20210820/examples.json +12 -18
- {tccli-3.0.1276.1.dist-info → tccli-3.0.1277.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1276.1.dist-info → tccli-3.0.1277.1.dist-info}/RECORD +22 -22
- {tccli-3.0.1276.1.dist-info → tccli-3.0.1277.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1276.1.dist-info → tccli-3.0.1277.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1276.1.dist-info → tccli-3.0.1277.1.dist-info}/license_files/LICENSE +0 -0
@@ -13575,33 +13575,33 @@
|
|
13575
13575
|
"members": [
|
13576
13576
|
{
|
13577
13577
|
"disabled": false,
|
13578
|
-
"document": "
|
13578
|
+
"document": "断流信息",
|
13579
13579
|
"example": "无",
|
13580
13580
|
"member": "string",
|
13581
13581
|
"name": "StreamBrokenResults",
|
13582
|
-
"
|
13582
|
+
"output_required": true,
|
13583
13583
|
"type": "list",
|
13584
|
-
"value_allowed_null":
|
13584
|
+
"value_allowed_null": false
|
13585
13585
|
},
|
13586
13586
|
{
|
13587
13587
|
"disabled": false,
|
13588
|
-
"document": "
|
13588
|
+
"document": "低帧率信息",
|
13589
13589
|
"example": "无",
|
13590
13590
|
"member": "string",
|
13591
13591
|
"name": "LowFrameRateResults",
|
13592
|
-
"
|
13592
|
+
"output_required": true,
|
13593
13593
|
"type": "list",
|
13594
|
-
"value_allowed_null":
|
13594
|
+
"value_allowed_null": false
|
13595
13595
|
},
|
13596
13596
|
{
|
13597
13597
|
"disabled": false,
|
13598
|
-
"document": "
|
13598
|
+
"document": "流格式诊断信息",
|
13599
13599
|
"example": "无",
|
13600
13600
|
"member": "string",
|
13601
13601
|
"name": "StreamFormatResults",
|
13602
|
-
"
|
13602
|
+
"output_required": true,
|
13603
13603
|
"type": "list",
|
13604
|
-
"value_allowed_null":
|
13604
|
+
"value_allowed_null": false
|
13605
13605
|
}
|
13606
13606
|
],
|
13607
13607
|
"usage": "out"
|
@@ -14665,223 +14665,223 @@
|
|
14665
14665
|
"members": [
|
14666
14666
|
{
|
14667
14667
|
"disabled": false,
|
14668
|
-
"document": "监播任务ID
|
14668
|
+
"document": "监播任务ID。",
|
14669
14669
|
"example": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
|
14670
14670
|
"member": "string",
|
14671
14671
|
"name": "MonitorId",
|
14672
14672
|
"output_required": true,
|
14673
14673
|
"required": true,
|
14674
14674
|
"type": "string",
|
14675
|
-
"value_allowed_null":
|
14675
|
+
"value_allowed_null": false
|
14676
14676
|
},
|
14677
14677
|
{
|
14678
14678
|
"disabled": false,
|
14679
|
-
"document": "监播任务名称。128
|
14679
|
+
"document": "监播任务名称。128字节以内。",
|
14680
14680
|
"example": "ExampleMonitorName",
|
14681
14681
|
"member": "string",
|
14682
14682
|
"name": "MonitorName",
|
14683
14683
|
"output_required": true,
|
14684
14684
|
"required": false,
|
14685
14685
|
"type": "string",
|
14686
|
-
"value_allowed_null":
|
14686
|
+
"value_allowed_null": false
|
14687
14687
|
},
|
14688
14688
|
{
|
14689
14689
|
"disabled": false,
|
14690
|
-
"document": "
|
14690
|
+
"document": "监播任务输出信息。",
|
14691
14691
|
"example": " output_info",
|
14692
14692
|
"member": "LiveStreamMonitorOutputInfo",
|
14693
14693
|
"name": "OutputInfo",
|
14694
14694
|
"output_required": true,
|
14695
14695
|
"required": false,
|
14696
14696
|
"type": "object",
|
14697
|
-
"value_allowed_null":
|
14697
|
+
"value_allowed_null": false
|
14698
14698
|
},
|
14699
14699
|
{
|
14700
14700
|
"disabled": false,
|
14701
|
-
"document": "
|
14701
|
+
"document": "待监播的输入流信息。",
|
14702
14702
|
"example": " input_list",
|
14703
14703
|
"member": "LiveStreamMonitorInputInfo",
|
14704
14704
|
"name": "InputList",
|
14705
14705
|
"output_required": true,
|
14706
14706
|
"required": false,
|
14707
14707
|
"type": "list",
|
14708
|
-
"value_allowed_null":
|
14708
|
+
"value_allowed_null": false
|
14709
14709
|
},
|
14710
14710
|
{
|
14711
14711
|
"disabled": false,
|
14712
|
-
"document": "监播任务状态。\n0: 代表空闲\n1:
|
14712
|
+
"document": "监播任务状态。\n0: 代表空闲\n1: 代表监播中。",
|
14713
14713
|
"example": "0",
|
14714
14714
|
"member": "uint64",
|
14715
14715
|
"name": "Status",
|
14716
14716
|
"output_required": true,
|
14717
14717
|
"required": false,
|
14718
14718
|
"type": "int",
|
14719
|
-
"value_allowed_null":
|
14719
|
+
"value_allowed_null": false
|
14720
14720
|
},
|
14721
14721
|
{
|
14722
14722
|
"disabled": false,
|
14723
|
-
"document": "上一次的启动时间,unix
|
14723
|
+
"document": "上一次的启动时间,unix时间戳。",
|
14724
14724
|
"example": "1640763135",
|
14725
14725
|
"member": "uint64",
|
14726
14726
|
"name": "StartTime",
|
14727
14727
|
"output_required": true,
|
14728
14728
|
"required": false,
|
14729
14729
|
"type": "int",
|
14730
|
-
"value_allowed_null":
|
14730
|
+
"value_allowed_null": false
|
14731
14731
|
},
|
14732
14732
|
{
|
14733
14733
|
"disabled": false,
|
14734
|
-
"document": "上一次的停止时间,unix
|
14734
|
+
"document": "上一次的停止时间,unix时间戳。",
|
14735
14735
|
"example": "1640763135",
|
14736
14736
|
"member": "uint64",
|
14737
14737
|
"name": "StopTime",
|
14738
14738
|
"output_required": true,
|
14739
14739
|
"required": false,
|
14740
14740
|
"type": "int",
|
14741
|
-
"value_allowed_null":
|
14741
|
+
"value_allowed_null": false
|
14742
14742
|
},
|
14743
14743
|
{
|
14744
14744
|
"disabled": false,
|
14745
|
-
"document": "监播任务创建时间,unix
|
14745
|
+
"document": "监播任务创建时间,unix时间戳",
|
14746
14746
|
"example": "1640763135",
|
14747
14747
|
"member": "uint64",
|
14748
14748
|
"name": "CreateTime",
|
14749
14749
|
"output_required": true,
|
14750
14750
|
"required": false,
|
14751
14751
|
"type": "int",
|
14752
|
-
"value_allowed_null":
|
14752
|
+
"value_allowed_null": false
|
14753
14753
|
},
|
14754
14754
|
{
|
14755
14755
|
"disabled": false,
|
14756
|
-
"document": "监播任务更新时间,unix
|
14756
|
+
"document": "监播任务更新时间,unix时间戳",
|
14757
14757
|
"example": "1640763135",
|
14758
14758
|
"member": "uint64",
|
14759
14759
|
"name": "UpdateTime",
|
14760
14760
|
"output_required": true,
|
14761
14761
|
"required": false,
|
14762
14762
|
"type": "int",
|
14763
|
-
"value_allowed_null":
|
14763
|
+
"value_allowed_null": false
|
14764
14764
|
},
|
14765
14765
|
{
|
14766
14766
|
"disabled": false,
|
14767
|
-
"document": "
|
14767
|
+
"document": "监播事件通知策略。",
|
14768
14768
|
"example": "无",
|
14769
14769
|
"member": "LiveStreamMonitorNotifyPolicy",
|
14770
14770
|
"name": "NotifyPolicy",
|
14771
14771
|
"output_required": true,
|
14772
14772
|
"required": false,
|
14773
14773
|
"type": "object",
|
14774
|
-
"value_allowed_null":
|
14774
|
+
"value_allowed_null": false
|
14775
14775
|
},
|
14776
14776
|
{
|
14777
14777
|
"disabled": false,
|
14778
|
-
"document": "输出音频的输入Index
|
14778
|
+
"document": "输出音频的输入Index列表。",
|
14779
14779
|
"example": "[1]",
|
14780
14780
|
"member": "uint64",
|
14781
14781
|
"name": "AudibleInputIndexList",
|
14782
14782
|
"output_required": true,
|
14783
14783
|
"required": false,
|
14784
14784
|
"type": "list",
|
14785
|
-
"value_allowed_null":
|
14785
|
+
"value_allowed_null": false
|
14786
14786
|
},
|
14787
14787
|
{
|
14788
14788
|
"disabled": false,
|
14789
|
-
"document": "开启智能语音识别的输入Index
|
14789
|
+
"document": "开启智能语音识别的输入Index列表",
|
14790
14790
|
"example": "[1]",
|
14791
14791
|
"member": "uint64",
|
14792
14792
|
"name": "AiAsrInputIndexList",
|
14793
14793
|
"output_required": true,
|
14794
14794
|
"required": false,
|
14795
14795
|
"type": "list",
|
14796
|
-
"value_allowed_null":
|
14796
|
+
"value_allowed_null": false
|
14797
14797
|
},
|
14798
14798
|
{
|
14799
14799
|
"disabled": false,
|
14800
|
-
"document": "
|
14800
|
+
"document": "是否开启断流检测",
|
14801
14801
|
"example": "0",
|
14802
14802
|
"member": "uint64",
|
14803
14803
|
"name": "CheckStreamBroken",
|
14804
14804
|
"output_required": true,
|
14805
14805
|
"required": false,
|
14806
14806
|
"type": "int",
|
14807
|
-
"value_allowed_null":
|
14807
|
+
"value_allowed_null": false
|
14808
14808
|
},
|
14809
14809
|
{
|
14810
14810
|
"disabled": false,
|
14811
|
-
"document": "
|
14811
|
+
"document": "是否开启低帧率检测",
|
14812
14812
|
"example": "0",
|
14813
14813
|
"member": "uint64",
|
14814
14814
|
"name": "CheckStreamLowFrameRate",
|
14815
14815
|
"output_required": true,
|
14816
14816
|
"required": false,
|
14817
14817
|
"type": "int",
|
14818
|
-
"value_allowed_null":
|
14818
|
+
"value_allowed_null": false
|
14819
14819
|
},
|
14820
14820
|
{
|
14821
14821
|
"disabled": false,
|
14822
|
-
"document": "智能语音识别语种:\n0 关闭 1 中文 2 英文 3日文 4
|
14822
|
+
"document": "智能语音识别语种:\n0 关闭 1 中文 2 英文 3日文 4 韩文",
|
14823
14823
|
"example": "0",
|
14824
14824
|
"member": "uint64",
|
14825
14825
|
"name": "AsrLanguage",
|
14826
14826
|
"output_required": true,
|
14827
14827
|
"required": false,
|
14828
14828
|
"type": "int",
|
14829
|
-
"value_allowed_null":
|
14829
|
+
"value_allowed_null": false
|
14830
14830
|
},
|
14831
14831
|
{
|
14832
14832
|
"disabled": false,
|
14833
|
-
"document": "智能文字识别语种:\n0 关闭 1
|
14833
|
+
"document": "智能文字识别语种:\n0 关闭 1 中、英文",
|
14834
14834
|
"example": "0",
|
14835
14835
|
"member": "uint64",
|
14836
14836
|
"name": "OcrLanguage",
|
14837
14837
|
"output_required": true,
|
14838
14838
|
"required": false,
|
14839
14839
|
"type": "int",
|
14840
|
-
"value_allowed_null":
|
14840
|
+
"value_allowed_null": false
|
14841
14841
|
},
|
14842
14842
|
{
|
14843
14843
|
"disabled": false,
|
14844
|
-
"document": "开启智能文字识别的输入Index
|
14844
|
+
"document": "开启智能文字识别的输入Index列表",
|
14845
14845
|
"example": "[1]",
|
14846
14846
|
"member": "uint64",
|
14847
14847
|
"name": "AiOcrInputIndexList",
|
14848
14848
|
"output_required": true,
|
14849
14849
|
"required": false,
|
14850
14850
|
"type": "list",
|
14851
|
-
"value_allowed_null":
|
14851
|
+
"value_allowed_null": false
|
14852
14852
|
},
|
14853
14853
|
{
|
14854
14854
|
"disabled": false,
|
14855
|
-
"document": "
|
14855
|
+
"document": "是否存储监播事件到监播报告,以及是否允许查询监播报告",
|
14856
14856
|
"example": "0",
|
14857
14857
|
"member": "uint64",
|
14858
14858
|
"name": "AllowMonitorReport",
|
14859
14859
|
"output_required": true,
|
14860
14860
|
"required": false,
|
14861
14861
|
"type": "int",
|
14862
|
-
"value_allowed_null":
|
14862
|
+
"value_allowed_null": false
|
14863
14863
|
},
|
14864
14864
|
{
|
14865
14865
|
"disabled": false,
|
14866
|
-
"document": "
|
14866
|
+
"document": "是否开启格式诊断",
|
14867
14867
|
"example": "0",
|
14868
14868
|
"member": "uint64",
|
14869
14869
|
"name": "AiFormatDiagnose",
|
14870
14870
|
"output_required": true,
|
14871
14871
|
"required": false,
|
14872
14872
|
"type": "int",
|
14873
|
-
"value_allowed_null":
|
14873
|
+
"value_allowed_null": false
|
14874
14874
|
},
|
14875
14875
|
{
|
14876
14876
|
"disabled": false,
|
14877
|
-
"document": "
|
14877
|
+
"document": "是否开启内容质检。",
|
14878
14878
|
"example": "0",
|
14879
14879
|
"member": "uint64",
|
14880
14880
|
"name": "AiQualityControl",
|
14881
14881
|
"output_required": true,
|
14882
14882
|
"required": false,
|
14883
14883
|
"type": "int",
|
14884
|
-
"value_allowed_null":
|
14884
|
+
"value_allowed_null": false
|
14885
14885
|
},
|
14886
14886
|
{
|
14887
14887
|
"disabled": false,
|
@@ -14913,58 +14913,58 @@
|
|
14913
14913
|
"members": [
|
14914
14914
|
{
|
14915
14915
|
"disabled": false,
|
14916
|
-
"document": "待监播的输入流名称。256字节以内,只允许包含字母、数字、‘-’,‘_’,'.'
|
14916
|
+
"document": "待监播的输入流名称。256字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。",
|
14917
14917
|
"example": "ExampleStreamName",
|
14918
14918
|
"member": "string",
|
14919
14919
|
"name": "InputStreamName",
|
14920
14920
|
"output_required": true,
|
14921
14921
|
"required": true,
|
14922
14922
|
"type": "string",
|
14923
|
-
"value_allowed_null":
|
14923
|
+
"value_allowed_null": false
|
14924
14924
|
},
|
14925
14925
|
{
|
14926
14926
|
"disabled": false,
|
14927
|
-
"document": "待监播的输入流推流域名。128
|
14927
|
+
"document": "待监播的输入流推流域名。128字节以内,只允许填处于启用状态的推流域名。",
|
14928
14928
|
"example": "ExampleDomain",
|
14929
14929
|
"member": "string",
|
14930
14930
|
"name": "InputDomain",
|
14931
14931
|
"output_required": true,
|
14932
14932
|
"required": false,
|
14933
14933
|
"type": "string",
|
14934
|
-
"value_allowed_null":
|
14934
|
+
"value_allowed_null": false
|
14935
14935
|
},
|
14936
14936
|
{
|
14937
14937
|
"disabled": false,
|
14938
|
-
"document": "待监播的输入流推流路径。32字节以内,只允许包含字母、数字、‘-’,‘_’,'.'
|
14938
|
+
"document": "待监播的输入流推流路径。32字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。",
|
14939
14939
|
"example": "Live",
|
14940
14940
|
"member": "string",
|
14941
14941
|
"name": "InputApp",
|
14942
14942
|
"output_required": true,
|
14943
14943
|
"required": false,
|
14944
14944
|
"type": "string",
|
14945
|
-
"value_allowed_null":
|
14945
|
+
"value_allowed_null": false
|
14946
14946
|
},
|
14947
14947
|
{
|
14948
14948
|
"disabled": false,
|
14949
|
-
"document": "待监播的输入流推流url
|
14949
|
+
"document": "待监播的输入流推流url。一般场景下,无需该参数。",
|
14950
14950
|
"example": "rtmp://ExampleDomain/Live/ExampleStreamName",
|
14951
14951
|
"member": "string",
|
14952
14952
|
"name": "InputUrl",
|
14953
14953
|
"output_required": true,
|
14954
14954
|
"required": false,
|
14955
14955
|
"type": "string",
|
14956
|
-
"value_allowed_null":
|
14956
|
+
"value_allowed_null": false
|
14957
14957
|
},
|
14958
14958
|
{
|
14959
14959
|
"disabled": false,
|
14960
|
-
"document": "描述。256
|
14960
|
+
"document": "描述。256字节以内。",
|
14961
14961
|
"example": "Input1",
|
14962
14962
|
"member": "string",
|
14963
14963
|
"name": "Description",
|
14964
14964
|
"output_required": true,
|
14965
14965
|
"required": false,
|
14966
14966
|
"type": "string",
|
14967
|
-
"value_allowed_null":
|
14967
|
+
"value_allowed_null": false
|
14968
14968
|
},
|
14969
14969
|
{
|
14970
14970
|
"disabled": false,
|
@@ -15007,23 +15007,25 @@
|
|
15007
15007
|
"members": [
|
15008
15008
|
{
|
15009
15009
|
"disabled": false,
|
15010
|
-
"document": "通知策略类型:范围[0,1]\n0:代表不使用任何通知策略\n1:代表使用全局回调策略,所有事件通知到CallbackUrl
|
15010
|
+
"document": "通知策略类型:范围[0,1]\n0:代表不使用任何通知策略\n1:代表使用全局回调策略,所有事件通知到CallbackUrl。",
|
15011
15011
|
"example": "0",
|
15012
15012
|
"member": "uint64",
|
15013
15013
|
"name": "NotifyPolicyType",
|
15014
|
+
"output_required": true,
|
15014
15015
|
"required": false,
|
15015
15016
|
"type": "int",
|
15016
|
-
"value_allowed_null":
|
15017
|
+
"value_allowed_null": false
|
15017
15018
|
},
|
15018
15019
|
{
|
15019
15020
|
"disabled": false,
|
15020
|
-
"document": "回调URL:长度[0,512]\n只支持http和https类型的url
|
15021
|
+
"document": "回调URL:长度[0,512]\n只支持http和https类型的url。",
|
15021
15022
|
"example": "http://notify.example.com/notify",
|
15022
15023
|
"member": "string",
|
15023
15024
|
"name": "CallbackUrl",
|
15025
|
+
"output_required": true,
|
15024
15026
|
"required": false,
|
15025
15027
|
"type": "string",
|
15026
|
-
"value_allowed_null":
|
15028
|
+
"value_allowed_null": false
|
15027
15029
|
}
|
15028
15030
|
],
|
15029
15031
|
"usage": "both"
|
@@ -15033,53 +15035,58 @@
|
|
15033
15035
|
"members": [
|
15034
15036
|
{
|
15035
15037
|
"disabled": false,
|
15036
|
-
"document": "监播任务输出流宽度像素。范围[1,1920]。建议至少大于100
|
15038
|
+
"document": "监播任务输出流宽度像素。范围[1,1920]。建议至少大于100像素。",
|
15037
15039
|
"example": "1920",
|
15038
15040
|
"member": "uint64",
|
15039
15041
|
"name": "OutputStreamWidth",
|
15042
|
+
"output_required": true,
|
15040
15043
|
"required": true,
|
15041
15044
|
"type": "int",
|
15042
|
-
"value_allowed_null":
|
15045
|
+
"value_allowed_null": false
|
15043
15046
|
},
|
15044
15047
|
{
|
15045
15048
|
"disabled": false,
|
15046
|
-
"document": "监播任务输出流长度像素。范围[1,1080],建议至少大于100
|
15049
|
+
"document": "监播任务输出流长度像素。范围[1,1080],建议至少大于100像素。",
|
15047
15050
|
"example": "1080",
|
15048
15051
|
"member": "uint64",
|
15049
15052
|
"name": "OutputStreamHeight",
|
15053
|
+
"output_required": true,
|
15050
15054
|
"required": true,
|
15051
15055
|
"type": "int",
|
15052
|
-
"value_allowed_null":
|
15056
|
+
"value_allowed_null": false
|
15053
15057
|
},
|
15054
15058
|
{
|
15055
15059
|
"disabled": false,
|
15056
|
-
"document": "监播任务输出流名称。\n不填时,系统会自动生成。\n256字节以内,只允许包含字母、数字、‘-’,‘_’,'.'
|
15060
|
+
"document": "监播任务输出流名称。\n不填时,系统会自动生成。\n256字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。",
|
15057
15061
|
"example": "OutputExampleName",
|
15058
15062
|
"member": "string",
|
15059
15063
|
"name": "OutputStreamName",
|
15064
|
+
"output_required": true,
|
15060
15065
|
"required": false,
|
15061
15066
|
"type": "string",
|
15062
|
-
"value_allowed_null":
|
15067
|
+
"value_allowed_null": false
|
15063
15068
|
},
|
15064
15069
|
{
|
15065
15070
|
"disabled": false,
|
15066
|
-
"document": "监播任务播放域名。128
|
15071
|
+
"document": "监播任务播放域名。128字节以内,只允许填处于启用状态的播放域名。",
|
15067
15072
|
"example": "OutputExampleDomain",
|
15068
15073
|
"member": "string",
|
15069
15074
|
"name": "OutputDomain",
|
15075
|
+
"output_required": true,
|
15070
15076
|
"required": false,
|
15071
15077
|
"type": "string",
|
15072
|
-
"value_allowed_null":
|
15078
|
+
"value_allowed_null": false
|
15073
15079
|
},
|
15074
15080
|
{
|
15075
15081
|
"disabled": false,
|
15076
|
-
"document": "监播任务播放路径。32字节以内,只允许包含字母、数字、‘-’,‘_’,'.'
|
15082
|
+
"document": "监播任务播放路径。32字节以内,只允许包含字母、数字、‘-’,‘_’,'.'字符。",
|
15077
15083
|
"example": "Live",
|
15078
15084
|
"member": "string",
|
15079
15085
|
"name": "OutputApp",
|
15086
|
+
"output_required": true,
|
15080
15087
|
"required": false,
|
15081
15088
|
"type": "string",
|
15082
|
-
"value_allowed_null":
|
15089
|
+
"value_allowed_null": false
|
15083
15090
|
}
|
15084
15091
|
],
|
15085
15092
|
"usage": "both"
|
@@ -15135,33 +15142,33 @@
|
|
15135
15142
|
"members": [
|
15136
15143
|
{
|
15137
15144
|
"disabled": false,
|
15138
|
-
"document": "
|
15145
|
+
"document": "智能语音识别结果。",
|
15139
15146
|
"example": "无",
|
15140
15147
|
"member": "string",
|
15141
15148
|
"name": "AiAsrResults",
|
15142
15149
|
"output_required": true,
|
15143
15150
|
"type": "list",
|
15144
|
-
"value_allowed_null":
|
15151
|
+
"value_allowed_null": false
|
15145
15152
|
},
|
15146
15153
|
{
|
15147
15154
|
"disabled": false,
|
15148
|
-
"document": "
|
15155
|
+
"document": "智能文字识别结果。",
|
15149
15156
|
"example": "无",
|
15150
15157
|
"member": "string",
|
15151
15158
|
"name": "AiOcrResults",
|
15152
15159
|
"output_required": true,
|
15153
15160
|
"type": "list",
|
15154
|
-
"value_allowed_null":
|
15161
|
+
"value_allowed_null": false
|
15155
15162
|
},
|
15156
15163
|
{
|
15157
15164
|
"disabled": false,
|
15158
|
-
"document": "
|
15165
|
+
"document": "内容质检结果。",
|
15159
15166
|
"example": "无",
|
15160
15167
|
"member": "string",
|
15161
15168
|
"name": "StreamQuaCtrlResults",
|
15162
15169
|
"output_required": true,
|
15163
15170
|
"type": "list",
|
15164
|
-
"value_allowed_null":
|
15171
|
+
"value_allowed_null": false
|
15165
15172
|
}
|
15166
15173
|
],
|
15167
15174
|
"usage": "out"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"ChatCompletions": {
|
4
|
-
"document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为5。\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(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\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
|
4
|
+
"document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为5。\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(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持64K上下文长度,最大输入56k,最大输出8k(不含思维链)。\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\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",
|
@@ -134,11 +134,11 @@
|
|
134
134
|
"status": "online"
|
135
135
|
},
|
136
136
|
"DescribeInferTemplates": {
|
137
|
-
"document": "查询推理镜像模板",
|
137
|
+
"document": "已废弃,收敛到统一接口\n\n查询推理镜像模板",
|
138
138
|
"input": "DescribeInferTemplatesRequest",
|
139
139
|
"name": "查询推理镜像模板",
|
140
140
|
"output": "DescribeInferTemplatesResponse",
|
141
|
-
"status": "
|
141
|
+
"status": "deprecated"
|
142
142
|
},
|
143
143
|
"DescribeModelAccelerateTask": {
|
144
144
|
"document": "查询模型优化任务详情",
|
@@ -7756,6 +7756,15 @@
|
|
7756
7756
|
"name": "Volume",
|
7757
7757
|
"required": false,
|
7758
7758
|
"type": "int"
|
7759
|
+
},
|
7760
|
+
{
|
7761
|
+
"disabled": false,
|
7762
|
+
"document": "是否暂停,默认false表示不暂停。暂停期间任务仍在进行中仍会计费,如果要销毁任务请调用停止接口。",
|
7763
|
+
"example": "false",
|
7764
|
+
"member": "bool",
|
7765
|
+
"name": "IsPause",
|
7766
|
+
"required": false,
|
7767
|
+
"type": "bool"
|
7759
7768
|
}
|
7760
7769
|
],
|
7761
7770
|
"type": "object"
|