tccli 3.0.1049.1__py2.py3-none-any.whl → 3.0.1050.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +41 -0
  3. tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +2 -2
  4. tccli/examples/hunyuan/v20230901/ChatPro.md +76 -0
  5. tccli/examples/hunyuan/v20230901/ChatStd.md +37 -0
  6. tccli/examples/live/v20180801/DescribeLiveTranscodeTemplates.md +8 -8
  7. tccli/examples/redis/v20180412/CreateInstanceAccount.md +7 -6
  8. tccli/examples/tke/v20180525/ForwardApplicationRequestV3.md +2 -2
  9. tccli/examples/trocket/v20230308/CreateMQTTInsPublicEndpoint.md +26 -0
  10. tccli/examples/trocket/v20230308/CreateMQTTTopic.md +25 -0
  11. tccli/examples/trocket/v20230308/CreateMQTTUser.md +27 -0
  12. tccli/examples/trocket/v20230308/DeleteMQTTInsPublicEndpoint.md +22 -0
  13. tccli/examples/trocket/v20230308/DeleteMQTTInstance.md +22 -0
  14. tccli/examples/trocket/v20230308/DeleteMQTTTopic.md +23 -0
  15. tccli/examples/trocket/v20230308/DeleteMQTTUser.md +23 -0
  16. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +82 -0
  17. tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +26 -0
  18. tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +40 -0
  19. tccli/examples/trocket/v20230308/DescribeMQTTInstance.md +34 -0
  20. tccli/examples/trocket/v20230308/DescribeMQTTInstanceCert.md +25 -0
  21. tccli/examples/trocket/v20230308/DescribeMQTTMessage.md +83 -0
  22. tccli/examples/trocket/v20230308/DescribeMQTTMessageList.md +54 -0
  23. tccli/examples/trocket/v20230308/DescribeMQTTTopic.md +27 -0
  24. tccli/examples/trocket/v20230308/DescribeMQTTTopicList.md +127 -0
  25. tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +36 -0
  26. tccli/examples/trocket/v20230308/ModifyMQTTInsPublicEndpoint.md +26 -0
  27. tccli/examples/trocket/v20230308/ModifyMQTTInstance.md +24 -0
  28. tccli/examples/trocket/v20230308/ModifyMQTTInstanceCertBinding.md +24 -0
  29. tccli/examples/trocket/v20230308/ModifyMQTTTopic.md +24 -0
  30. tccli/examples/trocket/v20230308/ModifyMQTTUser.md +26 -0
  31. tccli/examples/wedata/v20210820/DeleteProjectUsers.md +36 -0
  32. tccli/services/csip/csip_client.py +53 -0
  33. tccli/services/csip/v20221121/api.json +145 -0
  34. tccli/services/csip/v20221121/examples.json +8 -0
  35. tccli/services/ess/v20201111/api.json +1 -1
  36. tccli/services/essbasic/v20210526/examples.json +2 -2
  37. tccli/services/hunyuan/v20230901/api.json +2 -2
  38. tccli/services/hunyuan/v20230901/examples.json +18 -0
  39. tccli/services/live/v20180801/api.json +12 -2
  40. tccli/services/live/v20180801/examples.json +1 -1
  41. tccli/services/redis/v20180412/api.json +13 -10
  42. tccli/services/redis/v20180412/examples.json +2 -2
  43. tccli/services/tke/v20180525/api.json +26 -22
  44. tccli/services/tke/v20180525/examples.json +1 -1
  45. tccli/services/trocket/trocket_client.py +1231 -65
  46. tccli/services/trocket/v20230308/api.json +2042 -90
  47. tccli/services/trocket/v20230308/examples.json +182 -0
  48. tccli/services/ump/v20200918/api.json +2 -2
  49. tccli/services/wedata/v20210820/api.json +24 -0
  50. tccli/services/wedata/v20210820/examples.json +14 -0
  51. tccli/services/wedata/wedata_client.py +53 -0
  52. {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/METADATA +2 -2
  53. {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/RECORD +56 -32
  54. {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/WHEEL +0 -0
  55. {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/entry_points.txt +0 -0
  56. {tccli-3.0.1049.1.dist-info → tccli-3.0.1050.1.dist-info}/license_files/LICENSE +0 -0
@@ -238,6 +238,13 @@
238
238
  "output": "ModifyRiskCenterRiskStatusResponse",
239
239
  "status": "online"
240
240
  },
241
+ "ModifyRiskCenterScanTask": {
242
+ "document": "修改风险中心扫描任务",
243
+ "input": "ModifyRiskCenterScanTaskRequest",
244
+ "name": "修改风险中心扫描任务",
245
+ "output": "ModifyRiskCenterScanTaskResponse",
246
+ "status": "online"
247
+ },
241
248
  "StopRiskCenterTask": {
242
249
  "document": "停止扫风险中心扫描任务",
243
250
  "input": "StopRiskCenterTaskRequest",
@@ -6954,6 +6961,144 @@
6954
6961
  ],
6955
6962
  "type": "object"
6956
6963
  },
6964
+ "ModifyRiskCenterScanTaskRequest": {
6965
+ "document": "ModifyRiskCenterScanTask请求参数结构体",
6966
+ "members": [
6967
+ {
6968
+ "disabled": false,
6969
+ "document": "任务名称",
6970
+ "example": "helloworld",
6971
+ "member": "string",
6972
+ "name": "TaskName",
6973
+ "required": true,
6974
+ "type": "string"
6975
+ },
6976
+ {
6977
+ "disabled": false,
6978
+ "document": "0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填",
6979
+ "example": "0",
6980
+ "member": "int64",
6981
+ "name": "ScanAssetType",
6982
+ "required": true,
6983
+ "type": "int"
6984
+ },
6985
+ {
6986
+ "disabled": false,
6987
+ "document": "扫描项目;port/poc/weakpass/webcontent/configrisk",
6988
+ "example": "无",
6989
+ "member": "string",
6990
+ "name": "ScanItem",
6991
+ "required": true,
6992
+ "type": "list"
6993
+ },
6994
+ {
6995
+ "disabled": false,
6996
+ "document": "0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填",
6997
+ "example": "1",
6998
+ "member": "int64",
6999
+ "name": "ScanPlanType",
7000
+ "required": true,
7001
+ "type": "int"
7002
+ },
7003
+ {
7004
+ "disabled": false,
7005
+ "document": "要修改的任务id",
7006
+ "example": "无",
7007
+ "member": "string",
7008
+ "name": "TaskId",
7009
+ "required": true,
7010
+ "type": "string"
7011
+ },
7012
+ {
7013
+ "disabled": false,
7014
+ "document": "扫描资产信息列表",
7015
+ "example": "无",
7016
+ "member": "TaskAssetObject",
7017
+ "name": "Assets",
7018
+ "required": false,
7019
+ "type": "list"
7020
+ },
7021
+ {
7022
+ "disabled": false,
7023
+ "document": "扫描计划详情",
7024
+ "example": "无",
7025
+ "member": "string",
7026
+ "name": "ScanPlanContent",
7027
+ "required": false,
7028
+ "type": "string"
7029
+ },
7030
+ {
7031
+ "disabled": false,
7032
+ "document": "ip/域名/url数组",
7033
+ "example": "无",
7034
+ "member": "string",
7035
+ "name": "SelfDefiningAssets",
7036
+ "required": false,
7037
+ "type": "list"
7038
+ },
7039
+ {
7040
+ "disabled": false,
7041
+ "document": "高级配置",
7042
+ "example": "无",
7043
+ "member": "TaskAdvanceCFG",
7044
+ "name": "TaskAdvanceCFG",
7045
+ "required": false,
7046
+ "type": "object"
7047
+ },
7048
+ {
7049
+ "disabled": false,
7050
+ "document": "体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式",
7051
+ "example": "无",
7052
+ "member": "int64",
7053
+ "name": "TaskMode",
7054
+ "required": false,
7055
+ "type": "int"
7056
+ }
7057
+ ],
7058
+ "type": "object"
7059
+ },
7060
+ "ModifyRiskCenterScanTaskResponse": {
7061
+ "document": "ModifyRiskCenterScanTask返回参数结构体",
7062
+ "members": [
7063
+ {
7064
+ "disabled": false,
7065
+ "document": "任务id",
7066
+ "example": "无",
7067
+ "member": "string",
7068
+ "name": "TaskId",
7069
+ "output_required": true,
7070
+ "type": "string",
7071
+ "value_allowed_null": false
7072
+ },
7073
+ {
7074
+ "disabled": false,
7075
+ "document": "0,修改成功,其他失败;-1为存在资产未认证",
7076
+ "example": "0",
7077
+ "member": "int64",
7078
+ "name": "Status",
7079
+ "output_required": true,
7080
+ "type": "int",
7081
+ "value_allowed_null": false
7082
+ },
7083
+ {
7084
+ "disabled": false,
7085
+ "document": "未认证资产列表",
7086
+ "example": "无",
7087
+ "member": "string",
7088
+ "name": "UnAuthAsset",
7089
+ "output_required": false,
7090
+ "type": "list",
7091
+ "value_allowed_null": false
7092
+ },
7093
+ {
7094
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
7095
+ "member": "string",
7096
+ "name": "RequestId",
7097
+ "type": "string"
7098
+ }
7099
+ ],
7100
+ "type": "object"
7101
+ },
6957
7102
  "NICAsset": {
6958
7103
  "document": "网卡资产",
6959
7104
  "members": [
@@ -272,6 +272,14 @@
272
272
  "title": "修改风险中心风险状态"
273
273
  }
274
274
  ],
275
+ "ModifyRiskCenterScanTask": [
276
+ {
277
+ "document": "修改风险中心扫描任务",
278
+ "input": "POST / HTTP/1.1\nHost: csip.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyRiskCenterScanTask\n<公共请求参数>\n\n{\n \"TaskName\": \"abc\",\n \"Assets\": [\n {\n \"AssetName\": \"abc\",\n \"InstanceType\": \"abc\",\n \"AssetType\": \"abc\",\n \"Asset\": \"abc\",\n \"Region\": \"abc\"\n }\n ],\n \"ScanAssetType\": 0,\n \"ScanItem\": [\n \"abc\"\n ],\n \"ScanPlanType\": 0,\n \"ScanPlanContent\": \"abc\",\n \"SelfDefiningAssets\": [\n \"abc\"\n ],\n \"TaskId\": \"abc\",\n \"TaskAdvanceCFG\": {\n \"VulRisk\": [\n {\n \"RiskId\": \"abc\",\n \"Enable\": 0\n }\n ],\n \"WeakPwdRisk\": [\n {\n \"CheckItemId\": 0,\n \"Enable\": 0\n }\n ],\n \"CFGRisk\": [\n {\n \"ItemId\": \"abc\",\n \"Enable\": 0,\n \"ResourceType\": \"abc\"\n }\n ]\n },\n \"TaskMode\": 0\n}",
279
+ "output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"Status\": 0,\n \"RequestId\": \"abc\"\n }\n}",
280
+ "title": "修改风险中心扫描任务"
281
+ }
282
+ ],
275
283
  "StopRiskCenterTask": [
276
284
  {
277
285
  "document": "停止扫风险中心扫描任务",
@@ -78,7 +78,7 @@
78
78
  "status": "online"
79
79
  },
80
80
  "CreateFlow": {
81
- "document": "通过模板创建签署流程<br/>\n适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。\n<table>\n\t<thead>\n\t\t<tr>\n\t\t\t<th>签署人类别</th>\n\t\t\t<th>需要提前准备的信息</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>自己企业的员工签署(未认证加入或已认证加入)</td>\n\t\t\t<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>自己企业的员工签署(已认证加入)</td>\n\t\t\t<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>其他企业的员工签署</td>\n\t\t\t<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>个人(自然人)签署</td>\n\t\t\t<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n\n注:配合<a href=\"https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument\" target=\"_blank\">创建电子文档</a>和<a href=\"https://qian.tencent.com/developers/companyApis/startFlows/StartFlow\" target=\"_blank\">发起签署流程</a>接口使用。整体的逻辑如下图\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)\n\n注:**静默(自动)签署不支持合同签署方存在填写**功能\n<br>\n**相关视频指引**\n<a href=\"https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4\" target=\"_blank\">创建静默(自动)签署模板和开通自动签署</a>",
81
+ "document": "通过模板创建签署流程<br/>\n适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。\n<table>\n\t<thead>\n\t\t<tr>\n\t\t\t<th>签署人类别</th>\n\t\t\t<th>需要提前准备的信息</th>\n\t\t</tr>\n\t</thead>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>自己企业的员工签署(未认证加入或已认证加入)</td>\n\t\t\t<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>自己企业的员工签署(已认证加入)</td>\n\t\t\t<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>其他企业的员工签署</td>\n\t\t\t<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>个人(自然人)签署</td>\n\t\t\t<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>\n\t\t</tr>\n\t</tbody>\n</table>\n\n\n注:配合<a href=\"https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument\" target=\"_blank\">创建电子文档</a>和<a href=\"https://qian.tencent.com/developers/companyApis/startFlows/StartFlow\" target=\"_blank\">发起签署流程</a>接口使用。整体的逻辑如下图\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)\n\n注:**静默(自动)签署不支持合同签署方存在填写**功能\n<br>\n\n<font color=\"red\">相关视频指引</font>\n<a href=\"https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4\" target=\"_blank\">创建静默(自动)签署模板和开通自动签署</a>",
82
82
  "input": "CreateFlowRequest",
83
83
  "name": "模板发起合同-创建签署流程",
84
84
  "output": "CreateFlowResponse",
@@ -300,13 +300,13 @@
300
300
  "title": "文件发起-跳过文件上传"
301
301
  },
302
302
  {
303
- "document": "1.这是一个B2C的合同模板, 创建发起合同签署链接,只指定一个子企业的参与方\n2.FlowApproverList参数指定的参与方不能更改, 未指定的参与方可以修改\n<img src=\"https://qcloudimg.tencent-cloud.cn/raw/f51c3d969db0093300094a22c6c01555.png\" >\n",
303
+ "document": "1.这是一个B2C的合同模板, 创建发起合同签署链接,只指定一个子企业的参与方\n2.FlowApproverList参数指定的参与方不能更改, 未指定的参与方可以修改\n<img src=\"https://qcloudimg.tencent-cloud.cn/raw/f51c3d969db0093300094a22c6c01555.png\" />\n",
304
304
  "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreatePrepareFlow\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"zhansan\"\n }\n },\n \"ResourceId\": \"yDSL6UUckpo6ynynUx47m3cSKQavf88Q\",\n \"ResourceType\": 1,\n \"FlowInfo\": {\n \"FlowName\": \"2024典子谦入职合同\",\n \"FlowType\": \"入职合同\",\n \"FlowDescription\": \"2024典子谦入职合同\",\n \"Deadline\": 1706335491\n },\n \"FlowApproverList\": [\n {\n \"NotChannelOrganization\": false,\n \"ApproverType\": 0,\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"OpenId\": \"n9527\",\n \"RecipientId\": \"yDSL6UUckpo6am9jUuRHYOWRfZbRAhm6\"\n }\n ]\n}",
305
305
  "output": "{\n \"Response\": {\n \"PrepareFlowUrl\": \"https://embed.beta.qian.tencent.cn/contract-create?code=yDCNBUUckpvlzt0sUypjGZRCTkEHyRh6\",\n \"PreviewFlowUrl\": \"\",\n \"RequestId\": \"296e3cfb-504e-494d-a86c-75101a87c09e\"\n }\n}",
306
306
  "title": "创建发起合同签署链接-模板发起(固定一个参与方)"
307
307
  },
308
308
  {
309
- "document": "1.创建发起合同签署链接, 提前定义两个签署人, 分别是 B端渠道子客企业的员工和C端为张三这个自然人\n2.FlowApproverList参数指定的参与方不能更改\n<img src=\"https://qcloudimg.tencent-cloud.cn/raw/935a3cebf2881b25c1d87e234a303a13.png\" >\n",
309
+ "document": "1.创建发起合同签署链接, 提前定义两个签署人, 分别是 B端渠道子客企业的员工和C端为张三这个自然人\n2.FlowApproverList参数指定的参与方不能更改\n<img src=\"https://qcloudimg.tencent-cloud.cn/raw/935a3cebf2881b25c1d87e234a303a13.png\" />\n",
310
310
  "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreatePrepareFlow\n<公共请求参数>\n\n{\n \"ResourceId\": \"yDSL6UUckpo6ynynUx47m3cSKQavf88Q\",\n \"ResourceType\": 1,\n \"FlowInfo\": {\n \"FlowName\": \"典子谦入职合同(17:53:30)\",\n \"FlowType\": \"入职合同\",\n \"FlowDescription\": \"2024典子谦入职合同\",\n \"Deadline\": 1701679610\n },\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"110101200610116558\"\n }\n },\n \"FlowApproverList\": [\n {\n \"NotChannelOrganization\": false,\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"OpenId\": \"n131517\",\n \"RecipientId\": \"yDSL6UUckpo6am9jUuRHYOWRfZbRAhm6\"\n },\n {\n \"ApproverType\": 1,\n \"NotChannelOrganization\": false,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"1850000000\",\n \"RecipientId\": \"yDSL6UUckpo6am9qUuRHYOWwmX5rZGCX\"\n }\n ]\n}",
311
311
  "output": "{\n \"Response\": {\n \"PrepareFlowUrl\": \"https://embed.beta.qian.tencent.cn/contract-create?embed=1&expiredOn=1700819911&code=yDSL6UUQEjIKK&businessId=yDSL6U3iY7&channel=PROXYCHANNEL&operateSource=byTemplate&themeId=channel_web_theme_yDwi3UAR2Yb\",\n \"PreviewFlowUrl\": \"\",\n \"RequestId\": \"c52aaa17-3f81-4640-be03-fca0a553d2e3\"\n }\n}",
312
312
  "title": "创建发起合同签署链接-模板发起(固定所有的参与方)"
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "actions": {
3
3
  "ChatPro": {
4
- "document": "腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。\n\n 1.本接口暂不支持返回图片内容。\n 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。\n 3.请使用SDK调用本接口 SDK GitHub仓库examples/hunyuan/v20230901/目录有提供[参考示例](https://github.com/TencentCloud/tencentcloud-sdk-python/blob/master/examples/hunyuan/v20230901/chat_std.py)。",
4
+ "document": "腾讯混元大模型高级版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。\n\n 1.本接口暂不支持返回图片内容。\n 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。\n 3.请使用SDK调用本接口 ,每种开发语言的SDK GitHub仓库examples/hunyuan/v20230901/目录下有提供示例供参考。",
5
5
  "input": "ChatProRequest",
6
6
  "name": "腾讯混元大模型高级版",
7
7
  "output": "ChatProResponse",
8
8
  "status": "online"
9
9
  },
10
10
  "ChatStd": {
11
- "document": "腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。\n\n 1.本接口暂不支持返回图片内容。\n 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。\n 3.请使用SDK调用本接口 SDK GitHub仓库examples/hunyuan/v20230901/目录有提供[参考示例](https://github.com/TencentCloud/tencentcloud-sdk-python/blob/master/examples/hunyuan/v20230901/chat_std.py)。",
11
+ "document": "腾讯混元大模型标准版是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口为SSE协议。\n\n 1.本接口暂不支持返回图片内容。\n 2.默认单账号限制并发数为5路,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。\n 3.请使用SDK调用本接口 ,每种开发语言的SDK GitHub仓库examples/hunyuan/v20230901/目录下有提供示例供参考。",
12
12
  "input": "ChatStdRequest",
13
13
  "name": "腾讯混元大模型标准版",
14
14
  "output": "ChatStdResponse",
@@ -12,6 +12,18 @@
12
12
  "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatPro\n<公共请求参数>\n\n{\n \"TopP\": 1,\n \"Temperature\": 1,\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Content\": \"计算1+1\"\n }\n ]\n}",
13
13
  "output": "HTTP/1.1 200 OK\nCache-Control: no-cache\nConnection: keep-alive\nContent-Type: text/event-stream\nDate: Tue, 21 Nov 2023 06:56:00 GMT\nTransfer-Encoding: chunked\nX-TC-RequestId: 61a8459b-27c8-4868-af8f-f374db0245f8\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"1\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":2,\"TotalTokens\":6}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"+\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":3,\"TotalTokens\":7}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"1\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":4,\"TotalTokens\":8}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"=\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":5,\"TotalTokens\":9}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"2\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":5,\"TotalTokens\":9}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"stop\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":5,\"TotalTokens\":9}}",
14
14
  "title": "请求成功示例"
15
+ },
16
+ {
17
+ "document": "system提示词",
18
+ "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatPro\n<公共请求参数>\n\n{\n \"TopP\": 1,\n \"Temperature\": 1,\n \"Messages\": [\n {\n \"Role\": \"system\",\n \"Content\": \"将英文单词转换为包括中文翻译、英文释义和一个例句的完整解释。请检查所有信息是否准确,并在回答时保持简洁,不需要任何其他反馈。\"\n },\n {\n \"Role\": \"user\",\n \"Content\": \"nice\"\n }\n ]\n}",
19
+ "output": " {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"很好\"}}],\"Created\":1705634813,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":1,\"TotalTokens\":37}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\":\"}}],\"Created\":1705634813,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":2,\"TotalTokens\":38}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"nice\"}}],\"Created\":1705634813,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":3,\"TotalTokens\":39}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\\n\"}}],\"Created\":1705634813,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":4,\"TotalTokens\":40}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"英文\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":5,\"TotalTokens\":41}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"释义\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":6,\"TotalTokens\":42}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\":\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":7,\"TotalTokens\":43}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"ple\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":8,\"TotalTokens\":44}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"asing\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":9,\"TotalTokens\":45}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\" or\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":10,\"TotalTokens\":46}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\" acceptable\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":11,\"TotalTokens\":47}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\\n\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":12,\"TotalTokens\":48}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"例\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":13,\"TotalTokens\":49}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"句\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":14,\"TotalTokens\":50}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\":\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":15,\"TotalTokens\":51}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"She\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":16,\"TotalTokens\":52}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\" had\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":17,\"TotalTokens\":53}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\" a\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":18,\"TotalTokens\":54}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\" nice\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":19,\"TotalTokens\":55}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\" smile\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":20,\"TotalTokens\":56}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\".\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":21,\"TotalTokens\":57}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"stop\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\"}}],\"Created\":1705634814,\"Id\":\"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f\",\"Usage\":{\"PromptTokens\":36,\"CompletionTokens\":21,\"TotalTokens\":57}}",
20
+ "title": "system参数示例"
21
+ },
22
+ {
23
+ "document": "多轮对话场景",
24
+ "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatPro\n<公共请求参数>\n\n{\n \"TopP\": 1,\n \"Temperature\": 1,\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Content\": \"请介绍下自己\"\n },\n {\n \"Role\": \"assistant\",\n \"Content\": \"我的名字是腾讯混元大模型,是腾讯开发的一款大型语言模型。我能够理解人类语言,擅长提供问答服务、常识推理、文本创作、数学计算和互动问答等服务。如果您需要帮助或有任何问题,请随时向我提问。\"\n },\n {\n \"Role\": \"user\",\n \"Content\": \"请给我讲个字数小于10个字的搞笑笑话\"\n },\n {\n \"Role\": \"assistant\",\n \"Content\": \"猫头鹰遇见眯眯眼,看得眼睛都眯成线。”\"\n },\n {\n \"Role\": \"user\",\n \"Content\": \"不好笑,换一个吧\"\n }\n ]\n}",
25
+ "output": " {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"青蛙\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":1,\"TotalTokens\":86}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"跳\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":2,\"TotalTokens\":87}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"高\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":3,\"TotalTokens\":88}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\",\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":4,\"TotalTokens\":89}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"比\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":5,\"TotalTokens\":90}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"下马\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":6,\"TotalTokens\":91}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"。\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":7,\"TotalTokens\":92}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"stop\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\"}}],\"Created\":1705634032,\"Id\":\"9c772634-8824-43e8-bc24-8bc4c19b9151\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":7,\"TotalTokens\":92}}",
26
+ "title": "多轮对话示例"
15
27
  }
16
28
  ],
17
29
  "ChatStd": [
@@ -26,6 +38,12 @@
26
38
  "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatStd\n<公共请求参数>\n\n{\n \"TopP\": 0,\n \"Temperature\": 0,\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Content\": \"计算1+1\"\n }\n ]\n}",
27
39
  "output": "HTTP/1.1 200 OK\nCache-Control: no-cache\nConnection: keep-alive\nContent-Type: text/event-stream\nDate: Tue, 21 Nov 2023 06:56:00 GMT\nTransfer-Encoding: chunked\nX-TC-RequestId: 61a8459b-27c8-4868-af8f-f374db0245f8\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"1\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":2,\"TotalTokens\":6}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"+\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":3,\"TotalTokens\":7}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"1\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":4,\"TotalTokens\":8}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"=\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":5,\"TotalTokens\":9}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"2\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":5,\"TotalTokens\":9}}\n\ndata: {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"stop\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\"}}],\"Created\":1700549760,\"Id\":\"148b89ef-14e1-489f-8e70-b767e5b27d56\",\"Usage\":{\"PromptTokens\":4,\"CompletionTokens\":5,\"TotalTokens\":9}}",
28
40
  "title": "请求成功示例"
41
+ },
42
+ {
43
+ "document": "多轮对话场景",
44
+ "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChatPro\n<公共请求参数>\n\n{\n \"TopP\": 1,\n \"Temperature\": 1,\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Content\": \"请介绍下自己\"\n },\n {\n \"Role\": \"assistant\",\n \"Content\": \"我的名字是腾讯混元大模型,是腾讯开发的一款大型语言模型。我能够理解人类语言,擅长提供问答服务、常识推理、文本创作、数学计算和互动问答等服务。如果您需要帮助或有任何问题,请随时向我提问。\"\n },\n {\n \"Role\": \"user\",\n \"Content\": \"请给我讲个字数小于10个字的搞笑笑话\"\n },\n {\n \"Role\": \"assistant\",\n \"Content\": \"猫头鹰遇见眯眯眼,看得眼睛都眯成线。”\"\n },\n {\n \"Role\": \"user\",\n \"Content\": \"不好笑,换一个吧\"\n }\n ]\n}",
45
+ "output": " {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"老鼠\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":1,\"TotalTokens\":86}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"遇见\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":2,\"TotalTokens\":87}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"猫\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":3,\"TotalTokens\":88}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\",\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":4,\"TotalTokens\":89}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"逃\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":5,\"TotalTokens\":90}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"得\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":6,\"TotalTokens\":91}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"比\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":7,\"TotalTokens\":92}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"闪电\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":8,\"TotalTokens\":93}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"快\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":9,\"TotalTokens\":94}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"。\"}}],\"Created\":1705635290,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":10,\"TotalTokens\":95}}\n {\"Note\":\"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记\",\"Choices\":[{\"FinishReason\":\"stop\",\"Delta\":{\"Role\":\"assistant\",\"Content\":\"\"}}],\"Created\":1705635291,\"Id\":\"eb53a6d6-c000-4b74-aad2-a8e82540518a\",\"Usage\":{\"PromptTokens\":85,\"CompletionTokens\":10,\"TotalTokens\":95}}",
46
+ "title": "多轮对话示例"
29
47
  }
30
48
  ],
31
49
  "GetEmbedding": [
@@ -8280,7 +8280,17 @@
8280
8280
  },
8281
8281
  "DescribeLiveTranscodeTemplatesRequest": {
8282
8282
  "document": "DescribeLiveTranscodeTemplates请求参数结构体",
8283
- "members": [],
8283
+ "members": [
8284
+ {
8285
+ "disabled": false,
8286
+ "document": "转码模板类型,默认0。\n0:普通转码模板。\n1:自适应码率转码模板。",
8287
+ "example": "1",
8288
+ "member": "int64",
8289
+ "name": "TemplateType",
8290
+ "required": false,
8291
+ "type": "int"
8292
+ }
8293
+ ],
8284
8294
  "type": "object"
8285
8295
  },
8286
8296
  "DescribeLiveTranscodeTemplatesResponse": {
@@ -8292,7 +8302,7 @@
8292
8302
  "example": "无",
8293
8303
  "member": "TemplateInfo",
8294
8304
  "name": "Templates",
8295
- "required": true,
8305
+ "output_required": true,
8296
8306
  "type": "list",
8297
8307
  "value_allowed_null": false
8298
8308
  },
@@ -796,7 +796,7 @@
796
796
  {
797
797
  "document": "",
798
798
  "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLiveTranscodeTemplates\n<公共请求参数>\n\n{}",
799
- "output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Width\": 250,\n \"Fps\": 30,\n \"TemplateId\": 1000,\n \"Gop\": 3,\n \"Acodec\": \"xx\",\n \"Profile\": \"xx\",\n \"Description\": \"xx\",\n \"VideoBitrate\": 30,\n \"BitrateToOrig\": 0,\n \"AiTransCode\": 0,\n \"HeightToOrig\": 0,\n \"AudioBitrate\": 15,\n \"Rotate\": 0,\n \"TemplateName\": \"xx\",\n \"AdaptBitratePercent\": 0.0,\n \"Vcodec\": \"xx\",\n \"NeedAudio\": 1,\n \"DRMTracks\": \"xx\",\n \"NeedVideo\": 1,\n \"DRMType\": \"xx\",\n \"ShortEdgeAsHeight\": 0,\n \"Height\": 250,\n \"FpsToOrig\": 0\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
799
+ "output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Width\": 250,\n \"Fps\": 30,\n \"TemplateId\": 1000,\n \"Gop\": 3,\n \"Acodec\": \"aac\",\n \"Profile\": \"baseline\",\n \"Description\": \"模板描述\",\n \"VideoBitrate\": 30,\n \"BitrateToOrig\": 0,\n \"AiTransCode\": 0,\n \"HeightToOrig\": 0,\n \"AudioBitrate\": 15,\n \"Rotate\": 0,\n \"TemplateName\": \"模板名称\",\n \"AdaptBitratePercent\": 0.0,\n \"Vcodec\": \"h264\",\n \"NeedAudio\": 1,\n \"DRMTracks\": \"AUDIO|UHD2\",\n \"NeedVideo\": 1,\n \"DRMType\": \"widevine\",\n \"ShortEdgeAsHeight\": 0,\n \"Height\": 250,\n \"FpsToOrig\": 0\n }\n ],\n \"RequestId\": \"1dc2eb7b-b29b-4c5a-96f6-5699c54140fd\"\n }\n}",
800
800
  "title": "请求示例"
801
801
  }
802
802
  ],
@@ -78,7 +78,7 @@
78
78
  "status": "online"
79
79
  },
80
80
  "CreateInstanceAccount": {
81
- "document": "创建实例子账号",
81
+ "document": "该接口(CreateInstanceAccount)用于自定义访问实例的账号。",
82
82
  "input": "CreateInstanceAccountRequest",
83
83
  "name": "创建实例子账号",
84
84
  "output": "CreateInstanceAccountResponse",
@@ -1619,7 +1619,7 @@
1619
1619
  "members": [
1620
1620
  {
1621
1621
  "disabled": false,
1622
- "document": "实例ID",
1622
+ "document": "实例 ID",
1623
1623
  "example": "crs-5a4py64p",
1624
1624
  "member": "string",
1625
1625
  "name": "InstanceId",
@@ -1628,7 +1628,7 @@
1628
1628
  },
1629
1629
  {
1630
1630
  "disabled": false,
1631
- "document": "子账号名称",
1631
+ "document": "自定义访问数据库的名称。\n- 仅由字母、数字、下划线、中划线组成。\n- 长度不能大于32位。",
1632
1632
  "example": "test",
1633
1633
  "member": "string",
1634
1634
  "name": "AccountName",
@@ -1637,7 +1637,7 @@
1637
1637
  },
1638
1638
  {
1639
1639
  "disabled": false,
1640
- "document": "1.长度8-30位,推荐使用12位以上的密码\n2.不能以\"/\"开头\n3.至少包含两项\n a.小写字母a-z\n b.大写字母A-Z\n c.数字0-9\n d.()`~!@#$%^&*-+=_|{}[]:;<>,.?/",
1640
+ "document": "设置自定义账号的密码。密码复杂度要求如下:\n- 字符个数为[8,32]。\n- 至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的两种。\n- 不能以\"/\"开头。\n",
1641
1641
  "example": "1234567aA",
1642
1642
  "member": "string",
1643
1643
  "name": "AccountPassword",
@@ -1646,7 +1646,7 @@
1646
1646
  },
1647
1647
  {
1648
1648
  "disabled": false,
1649
- "document": "路由策略:填写master或者replication,表示主节点或者从节点",
1649
+ "document": "指定账号的读请求路由分发至主节点或副本节点。未开启副本只读,不支持选择副本节点。\n- master:主节点\n- replication:副本节点",
1650
1650
  "example": "[\"master\"]",
1651
1651
  "member": "string",
1652
1652
  "name": "ReadonlyPolicy",
@@ -1655,7 +1655,7 @@
1655
1655
  },
1656
1656
  {
1657
1657
  "disabled": false,
1658
- "document": "读写策略:填写rrw,表示只读、读写",
1658
+ "document": "账户读写权限,支持选择只读与读写权限。\n- r:只读\n- rw: 读写权限",
1659
1659
  "example": "rw",
1660
1660
  "member": "string",
1661
1661
  "name": "Privilege",
@@ -1664,7 +1664,7 @@
1664
1664
  },
1665
1665
  {
1666
1666
  "disabled": false,
1667
- "document": "子账号描述信息",
1667
+ "document": "子账号描述信息,长度[0,64] 字节,支持中文。",
1668
1668
  "example": "\"\"",
1669
1669
  "member": "string",
1670
1670
  "name": "Remark",
@@ -1683,7 +1683,7 @@
1683
1683
  "example": "123456",
1684
1684
  "member": "int64",
1685
1685
  "name": "TaskId",
1686
- "required": true,
1686
+ "output_required": true,
1687
1687
  "type": "int",
1688
1688
  "value_allowed_null": false
1689
1689
  },
@@ -2731,7 +2731,7 @@
2731
2731
  {
2732
2732
  "disabled": false,
2733
2733
  "document": "数据库引擎名称,本接口取值:redis。",
2734
- "example": "crs-eb2w7dto",
2734
+ "example": "redis",
2735
2735
  "member": "string",
2736
2736
  "name": "Product",
2737
2737
  "required": true,
@@ -2740,7 +2740,7 @@
2740
2740
  {
2741
2741
  "disabled": false,
2742
2742
  "document": "指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。\n",
2743
- "example": "redis",
2743
+ "example": "crs-eb2w7dto",
2744
2744
  "member": "string",
2745
2745
  "name": "InstanceId",
2746
2746
  "required": true,
@@ -2758,6 +2758,7 @@
2758
2758
  "example": "无",
2759
2759
  "member": "SecurityGroup",
2760
2760
  "name": "Groups",
2761
+ "output_required": true,
2761
2762
  "type": "list",
2762
2763
  "value_allowed_null": false
2763
2764
  },
@@ -2767,6 +2768,7 @@
2767
2768
  "example": "10.10.0.1",
2768
2769
  "member": "string",
2769
2770
  "name": "VIP",
2771
+ "output_required": true,
2770
2772
  "type": "string",
2771
2773
  "value_allowed_null": false
2772
2774
  },
@@ -2776,6 +2778,7 @@
2776
2778
  "example": "6379",
2777
2779
  "member": "string",
2778
2780
  "name": "VPort",
2781
+ "output_required": true,
2779
2782
  "type": "string",
2780
2783
  "value_allowed_null": false
2781
2784
  },
@@ -91,8 +91,8 @@
91
91
  "CreateInstanceAccount": [
92
92
  {
93
93
  "document": "",
94
- "input": "https://redis.tencentcloudapi.com/?Action=CreateInstanceAccount\n&InstanceId=crs-5a4py64p\n&AccountName=test\n&AccountPassword=1234567a\n&ReadonlyPolicy.0=master\n&Privilege=rw\n&<公共请求参数>",
95
- "output": "{\n \"Response\": {\n \"TaskId\": 123456,\n \"RequestId\": \"0e728fa9-c2e5-4bf8-8d6b-c1c4fab7b6db\"\n }\n}",
94
+ "input": "https://redis.tencentcloudapi.com/?Action=CreateInstanceAccount\n&InstanceId=crs-evst****\n&AccountName=redis_dev\n&AccountPassword=c1evuh****\n&ReadonlyPolicy.0=master\n&Privilege=rw\n&Remark=\"开发账号\"\n&<公共请求参数>",
95
+ "output": "{\n \"Response\": {\n \"TaskId\": 114805324,\n \"RequestId\": \"2cd067fd-71db-4d8f-b0ac-4e83********\"\n }\n}",
96
96
  "title": "请求示例"
97
97
  }
98
98
  ],