tccli 3.0.1340.1__py2.py3-none-any.whl → 3.0.1342.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/plugins/sso/__init__.py +14 -0
- tccli/plugins/sso/login.py +23 -6
- tccli/plugins/sso/texts.py +4 -0
- tccli/services/__init__.py +3 -0
- tccli/services/ams/v20201229/api.json +195 -185
- tccli/services/apm/v20210622/api.json +10 -0
- tccli/services/bh/bh_client.py +326 -8
- tccli/services/bh/v20230418/api.json +537 -0
- tccli/services/bh/v20230418/examples.json +48 -0
- tccli/services/ccc/v20200210/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +159 -159
- tccli/services/cdb/v20170320/examples.json +21 -21
- tccli/services/cdn/v20180606/examples.json +1 -1
- tccli/services/ctem/__init__.py +4 -0
- tccli/services/ctem/ctem_client.py +1479 -0
- tccli/services/ctem/v20231128/api.json +6138 -0
- tccli/services/ctem/v20231128/examples.json +205 -0
- tccli/services/cwp/v20180228/api.json +106 -2
- tccli/services/cwp/v20180228/examples.json +12 -0
- tccli/services/cynosdb/v20190107/api.json +29 -2
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +15 -6
- tccli/services/dsgc/v20190723/api.json +215 -17
- tccli/services/emr/v20190103/api.json +93 -0
- tccli/services/ess/v20201111/api.json +14 -3
- tccli/services/hunyuan/v20230901/api.json +10 -1
- tccli/services/ims/v20200713/api.json +1 -1
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +30 -30
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/iotvideo/v20201215/api.json +2 -2
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +1 -1
- tccli/services/kms/kms_client.py +915 -120
- tccli/services/kms/v20190118/api.json +1104 -27
- tccli/services/kms/v20190118/examples.json +126 -0
- tccli/services/lke/lke_client.py +228 -16
- tccli/services/lke/v20231130/api.json +1513 -219
- tccli/services/lke/v20231130/examples.json +33 -1
- tccli/services/mongodb/v20190725/api.json +10 -0
- tccli/services/mps/v20190612/api.json +113 -25
- tccli/services/mqtt/mqtt_client.py +53 -0
- tccli/services/mqtt/v20240516/api.json +150 -0
- tccli/services/mqtt/v20240516/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +3 -3
- tccli/services/redis/v20180412/examples.json +19 -1
- tccli/services/ses/v20201002/api.json +8 -8
- tccli/services/tcss/v20201101/api.json +10 -0
- tccli/services/thpc/v20230321/api.json +32 -2
- tccli/services/tione/v20211111/api.json +11 -0
- tccli/services/tke/v20180525/api.json +10 -0
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +294 -204
- tccli/services/trocket/v20230308/examples.json +18 -10
- tccli/services/vm/v20210922/api.json +363 -333
- tccli/services/vpc/v20170312/api.json +9 -0
- tccli/services/waf/v20180125/api.json +59 -21
- tccli/services/wedata/v20210820/api.json +560 -10
- tccli/services/wedata/v20210820/examples.json +25 -1
- tccli/services/wedata/wedata_client.py +167 -8
- {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/RECORD +68 -64
- {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1340.1.dist-info → tccli-3.0.1342.1.dist-info}/license_files/LICENSE +0 -0
@@ -24,6 +24,14 @@
|
|
24
24
|
"title": "文档转换示例"
|
25
25
|
}
|
26
26
|
],
|
27
|
+
"CreateAgent": [
|
28
|
+
{
|
29
|
+
"document": "",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"Name\": \"浏览器控制 agent\",\n \"Instructions\": \"根据用户需求进行浏览器的控制\",\n \"HandoffDescription\": \"涉及到实际浏览器控制和操作的需求都可以交给我\",\n \"Model\": {\n \"ModelName\": \"function-call-pro\"\n }\n }\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"RequestId\": \"84ec404b-729e-47af-9f64-7a3f590c8c27\"\n }\n}",
|
32
|
+
"title": "创建Agent"
|
33
|
+
}
|
34
|
+
],
|
27
35
|
"CreateApp": [
|
28
36
|
{
|
29
37
|
"document": "创建应用",
|
@@ -112,6 +120,14 @@
|
|
112
120
|
"title": "创建工作流的异步运行实例"
|
113
121
|
}
|
114
122
|
],
|
123
|
+
"DeleteAgent": [
|
124
|
+
{
|
125
|
+
"document": "",
|
126
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAgent\n<公共请求参数>\n\n{\n \"AgentId\": \"7594514a-c83a-4dd2-ab4c-3f26c3ed9c43\",\n \"AppBizId\": \"1906600044720291840\"\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"AgentId\": \"7594514a-c83a-4dd2-ab4c-3f26c3ed9c43\",\n \"RequestId\": \"fe602bed-e1a4-4e3c-9066-f64f77ed2052\"\n }\n}",
|
128
|
+
"title": "删除Agent"
|
129
|
+
}
|
130
|
+
],
|
115
131
|
"DeleteApp": [
|
116
132
|
{
|
117
133
|
"document": "删除应用",
|
@@ -192,6 +208,14 @@
|
|
192
208
|
"title": "DescribeApp"
|
193
209
|
}
|
194
210
|
],
|
211
|
+
"DescribeAppAgentList": [
|
212
|
+
{
|
213
|
+
"document": "查询指定应用下的Agent列表",
|
214
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAppAgentList\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\"\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"Agents\": [\n {\n \"AgentId\": \"mainagent-1906600044720291840\",\n \"HandoffDescription\": \"处理不了的事情都可以转交给我处理\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://cdn.xiaowei.qq.com/static/lke/app-default-avatar.png\",\n \"Instructions\": \"# 任务目标\\n扮演智能客服,向有特定要求的客户提供友好、简洁、智慧、客观且易于理解的回复。\\n\\n# 任务流程\\n1. 接收客户的问题或需求。\\n2. 使用简洁、智慧、客观且普通人可理解的语言来组织答案。\\n3. 在准备回复前,对自己的回答进行再次审查和确认,以确保信息的准确性。\\n4. 确保回复符合所有服务准则。\\n5. 向客户提供回复。\\n\\n# 限制条件\\n- 回答必须使用简洁、智慧、客观且普通人可理解的语言。\\n- 回答前需进行审查和确认,确保信息准确无误。\\n- 回答必须符合所有服务准则。\\n- 不得直接回答用户问题,仅提供回复的组织和审查服务。\",\n \"IsStartingAgent\": true,\n \"Model\": {\n \"HistoryLimit\": 0,\n \"IsEnabled\": true,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"8K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"willzhen-test\",\n \"Plugins\": [\n {\n \"Headers\": [],\n \"PluginId\": \"4dcbd619-670c-403d-9f3f-8284880e2ffa\"\n },\n {\n \"Headers\": [],\n \"PluginId\": \"36b35d23-a020-4e48-b641-58d7ad92fba7\"\n },\n {\n \"Headers\": [],\n \"PluginId\": \"751ec82b-dd2b-4969-8ca0-3db674d29b94\"\n },\n {\n \"Headers\": [],\n \"PluginId\": \"99898f10-42e0-4186-afcc-2a9ec85db95b\"\n }\n ],\n \"Tools\": [\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E7%A7%91%E5%AD%A6%E8%AE%A1%E7%AE%97.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"数学表达式,只能是数字或符号,示例: 2+2^5+8/3+66\",\n \"IsRequired\": true,\n \"Name\": \"Expression\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code为0:CalculationResult,Code非0:{}\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"计算结果\",\n \"Name\": \"Result\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"4dcbd619-670c-403d-9f3f-8284880e2ffa\",\n \"PluginName\": \"科学计算\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"科学计算\",\n \"ToolId\": \"7624299e-490c-4ca6-8378-0fe432421491\",\n \"ToolName\": \"Calculator\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E5%A4%A9%E6%B0%94.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"地点,可以包含省、市、区县等\",\n \"IsRequired\": true,\n \"Name\": \"Location\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"查询开始时间,格式为2006-01-02\",\n \"IsRequired\": false,\n \"Name\": \"StartTime\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"查询结束时间,格式为2006-01-02\",\n \"IsRequired\": false,\n \"Name\": \"EndTime\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code非0:{},Code为0:WeatherContent\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"天级别的天气,WeatherInfo\",\n \"Name\": \"Results\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"日期,格式为2006-01-02\",\n \"Name\": \"Date\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"天气\",\n \"Name\": \"Condition\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"当前温度\",\n \"Name\": \"Temperature\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"湿度\",\n \"Name\": \"Humidity\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"空气质量\",\n \"Name\": \"AQI\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"最高温度\",\n \"Name\": \"TemperatureHigh\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"最低温度\",\n \"Name\": \"TemperatureLow\",\n \"SubParams\": [],\n \"Type\": 2\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"当日天气情况\",\n \"Name\": \"WeatherDay\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"风速\",\n \"Name\": \"WindSpeed\",\n \"SubParams\": [],\n \"Type\": 2\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"36b35d23-a020-4e48-b641-58d7ad92fba7\",\n \"PluginName\": \"天气\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"获取指定日期和地点的天气信息,只支持查询中国国内城市的天气\",\n \"ToolId\": \"09721e75-4e28-4953-a771-e1bd0e5a5927\",\n \"ToolName\": \"GetWeatherInfo\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E4%BB%A3%E7%A0%81%E8%A7%A3%E9%87%8A%E5%99%A8.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"待执行的code\",\n \"IsRequired\": true,\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code非0:{},Code为0:CodeContent\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行结果\",\n \"Name\": \"ExecResult\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行信息\",\n \"Name\": \"ExecMsg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行状态。success:成功,fail:失败\",\n \"Name\": \"ExecState\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的图片列表\",\n \"Name\": \"Images\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"图片Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 9\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的文件列表\",\n \"Name\": \"Files\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件名称\",\n \"Name\": \"FileName\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件大小\",\n \"Name\": \"Size\",\n \"SubParams\": [],\n \"Type\": 1\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"751ec82b-dd2b-4969-8ca0-3db674d29b94\",\n \"PluginName\": \"代码解释器\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"该工具用于代码执行\",\n \"ToolId\": \"3af56855-015a-48d8-a6e0-b3ad0a6eddcb\",\n \"ToolName\": \"CodeInterpreter\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E4%BB%A3%E7%A0%81%E8%A7%A3%E9%87%8A%E5%99%A8.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"Python code that uses pyecharts to create visualization, the input code should be a valid python command. The code should create a chart and render it, then save it as a html file containing the interactive chart. Do not pip install missing modules.\",\n \"IsRequired\": true,\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code非0:{},Code为0:CodeContent\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行结果\",\n \"Name\": \"ExecResult\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行信息\",\n \"Name\": \"ExecMsg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"代码执行状态。success:成功,fail:失败\",\n \"Name\": \"ExecState\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的图片列表\",\n \"Name\": \"Images\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"图片Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 9\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"处理后的文件列表\",\n \"Name\": \"Files\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件Url\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件名称\",\n \"Name\": \"FileName\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"文件大小\",\n \"Name\": \"Size\",\n \"SubParams\": [],\n \"Type\": 1\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"751ec82b-dd2b-4969-8ca0-3db674d29b94\",\n \"PluginName\": \"代码解释器\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"适用于代码运行,并支持输出可交互式的图表\",\n \"ToolId\": \"3ea907b0-0978-4f37-a771-7c53383c9a8e\",\n \"ToolName\": \"GenerateCharts\"\n },\n {\n \"CreateType\": 0,\n \"Headers\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/03bigIcon%E5%A4%A7%E5%9B%BE%E6%A0%87%20%282%29.png\",\n \"Inputs\": [\n {\n \"AgentHidden\": false,\n \"DefaultValue\": \"\",\n \"Desc\": \"对于图片的文字描述,算法将根据输入的文本智能生成与之相关的图像。建议详细描述画面主体、细节、场景等,文本描述越丰富,生成效果越精美。\",\n \"IsRequired\": true,\n \"Name\": \"Prompt\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"IsBindingKnowledge\": false,\n \"McpServer\": {\n \"Headers\": [],\n \"McpServerUrl\": \"\",\n \"SseReadTimeout\": 0,\n \"Timeout\": 0\n },\n \"Outputs\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回码。0正常,非0异常\",\n \"Name\": \"Code\",\n \"SubParams\": [],\n \"Type\": 1\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回信息。Code为0:success,Code非0: 异常信息\",\n \"Name\": \"Msg\",\n \"SubParams\": [],\n \"Type\": 0\n },\n {\n \"AgentHidden\": false,\n \"Desc\": \"返回数据。Code不为0:{}\",\n \"Name\": \"Data\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"\",\n \"Name\": \"Results\",\n \"SubParams\": [\n {\n \"AgentHidden\": false,\n \"Desc\": \"生成的图片URL\",\n \"Name\": \"Url\",\n \"SubParams\": [],\n \"Type\": 0\n }\n ],\n \"Type\": 9\n }\n ],\n \"Type\": 4\n }\n ],\n \"PluginId\": \"99898f10-42e0-4186-afcc-2a9ec85db95b\",\n \"PluginName\": \"图片生成\",\n \"PluginType\": 1,\n \"Status\": 0,\n \"ToolDesc\": \"根据输入的文本描述,智能生成与之相关的结果图\",\n \"ToolId\": \"da9264a2-a7ed-4095-b2fa-e94265e370dc\",\n \"ToolName\": \"TextToImage\"\n }\n ],\n \"WorkflowId\": \"\"\n },\n {\n \"AgentId\": \"50d09c49-0497-43e8-a380-8a673ea70c81\",\n \"HandoffDescription\": \"财务小助手\",\n \"Handoffs\": [\n \"b07abb63-5c0b-4291-9eb6-b600d53bcc97\",\n \"3333b8ad-1a78-4c4e-af6e-0c4beffb1631\"\n ],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"帮助我完成一些财务上的事情\",\n \"IsStartingAgent\": true,\n \"Model\": {\n \"HistoryLimit\": 4,\n \"IsEnabled\": true,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"8K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"财务小助手\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"\"\n },\n {\n \"AgentId\": \"db6fd2bb-c1ee-4173-8c94-327cd98f9293\",\n \"HandoffDescription\": \"当用户需要取消订单时触发此任务流程\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"{\\\"SLOTs\\\":\\\"- name: 订单id\\\\n desc: 指的是订单id,10位阿拉伯数字,例如:1234567890。\\\\n type: int\\\\n- name: 用户id\\\\n desc: 指的是用户身份id,4位数阿拉伯数字,如:1234。\\\\n type: int\\\\n\\\",\\\"APIs\\\":\\\"- name: 查询账户中是否有订单\\\\n precondition: []\\\\n- name: 代码1\\\\n precondition: []\\\\n- name: 判断是否已提交取消申请的SR工单\\\\n precondition:\\\\n - 查询账户中是否有订单\\\\n- name: 代码4\\\\n precondition: []\\\\n- name: 查询订单状态\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码3\\\\n precondition: []\\\\n- name: 识别SR单进度\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码2\\\\n precondition: []\\\\n\\\",\\\"ANSWERs\\\":\\\"- name: 参数收集\\\\n desc: 收集\\\\u003cSLOT\\\\u003e中定义的相关的参数. 若\\\\u003cconversation\\\\u003e中用户已经给出了参数值, 则跳过这一步; 否则, 以自然、连贯、亲切的方式询问用户.\\\\n- name: 工作流相关自由回复\\\\n desc: 若用户当前的询问和工作流相关, 但不在当前工作流范围内, 请基于常识来回复用户的问题.\\\\n- name: 已通过\\\\n desc: 您提交的取消订单申请,已通过。该订单已取消,取消后退款会1-3个工作日内原路返回。\\\\n- name: 未通过\\\\n desc: 您好,经过客服的申请,您的该笔订单未通过取消申请,建议您正常入住。\\\\n- name: 处理中\\\\n desc: 您好,您提交的取消订单申请正在处理中,客服会在30-60分钟内处理完成,处理完成后会通过短信或电话通知您,请您耐心等待。\\\\n- name: 未支付\\\\n desc: 您好,您的订单还未支付,30分钟内未支付,该订单会自动取消。\\\\n- name: 已确认-可免费取消\\\\n desc: 您好,您的订单已经确认,若您想取消的话,可点击下方按钮,直接取消。\\\\n- name: 已确定-有违约金\\\\n desc: 您好,您的订单已经确定,酒店将为您整晚保留订单,不可免费取消。您取消的话,需要收取违约金\\\\\\\\*\\\\\\\\*\\\\\\\\*,建议您正常入住。\\\\n- name: 已取消\\\\n desc: 您好,您的订单已取消,无需重复取消。\\\\n- name: 已入住\\\\n desc: 您好,您的订单显示已经入住,无法直接取消呢,您可以点击下方【申请取消】按钮,客服收到您的取消申请,会第一时间帮您和酒店协商处理。感谢您的选择,祝您开心每一天。\\\\n- name: 已结账\\\\n desc: 您好,您的订单显示已经完结,不可取消,请问还有什么可以帮您\\\\n- name: 客户不选择订单\\\\n desc: 您好,如果您想咨询其他订单,也可以直接输入订单号,这边帮您处理\\\\n- name: 结束回复1\\\\n desc: 抱歉,未查询到您账户下有订单,现在为您转接人工服务,请稍等\\\\n\\\"}\",\n \"IsStartingAgent\": false,\n \"Model\": {\n \"HistoryLimit\": 0,\n \"IsEnabled\": false,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"8K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"开发票\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"8c2cf597-c77f-46b3-b9be-16c62ef8f96a\"\n },\n {\n \"AgentId\": \"881bcd68-a93c-4715-96f0-f7aff3a025ca\",\n \"HandoffDescription\": \"当用户需要取消订单时触发此任务流程\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"{\\\"SLOTs\\\":\\\"- name: 订单id\\\\n desc: 指的是订单id,10位阿拉伯数字,例如:1234567890。\\\\n type: int\\\\n- name: 用户id\\\\n desc: 指的是用户身份id,4位数阿拉伯数字,如:1234。\\\\n type: int\\\\n\\\",\\\"APIs\\\":\\\"- name: 查询账户中是否有订单\\\\n precondition: []\\\\n- name: 代码1\\\\n precondition: []\\\\n- name: 判断是否已提交取消申请的SR工单\\\\n precondition:\\\\n - 查询账户中是否有订单\\\\n- name: 代码4\\\\n precondition: []\\\\n- name: 查询订单状态\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码3\\\\n precondition: []\\\\n- name: 识别SR单进度\\\\n precondition:\\\\n - 判断是否已提交取消申请的SR工单\\\\n- name: 代码2\\\\n precondition: []\\\\n\\\",\\\"ANSWERs\\\":\\\"- name: 参数收集\\\\n desc: 收集\\\\u003cSLOT\\\\u003e中定义的相关的参数. 若\\\\u003cconversation\\\\u003e中用户已经给出了参数值, 则跳过这一步; 否则, 以自然、连贯、亲切的方式询问用户.\\\\n- name: 工作流相关自由回复\\\\n desc: 若用户当前的询问和工作流相关, 但不在当前工作流范围内, 请基于常识来回复用户的问题.\\\\n- name: 已通过\\\\n desc: 您提交的取消订单申请,已通过。该订单已取消,取消后退款会1-3个工作日内原路返回。\\\\n- name: 未通过\\\\n desc: 您好,经过客服的申请,您的该笔订单未通过取消申请,建议您正常入住。\\\\n- name: 处理中\\\\n desc: 您好,您提交的取消订单申请正在处理中,客服会在30-60分钟内处理完成,处理完成后会通过短信或电话通知您,请您耐心等待。\\\\n- name: 未支付\\\\n desc: 您好,您的订单还未支付,30分钟内未支付,该订单会自动取消。\\\\n- name: 已确认-可免费取消\\\\n desc: 您好,您的订单已经确认,若您想取消的话,可点击下方按钮,直接取消。\\\\n- name: 已确定-有违约金\\\\n desc: 您好,您的订单已经确定,酒店将为您整晚保留订单,不可免费取消。您取消的话,需要收取违约金\\\\\\\\*\\\\\\\\*\\\\\\\\*,建议您正常入住。\\\\n- name: 已取消\\\\n desc: 您好,您的订单已取消,无需重复取消。\\\\n- name: 已入住\\\\n desc: 您好,您的订单显示已经入住,无法直接取消呢,您可以点击下方【申请取消】按钮,客服收到您的取消申请,会第一时间帮您和酒店协商处理。感谢您的选择,祝您开心每一天。\\\\n- name: 已结账\\\\n desc: 您好,您的订单显示已经完结,不可取消,请问还有什么可以帮您\\\\n- name: 客户不选择订单\\\\n desc: 您好,如果您想咨询其他订单,也可以直接输入订单号,这边帮您处理\\\\n- name: 结束回复1\\\\n desc: 抱歉,未查询到您账户下有订单,现在为您转接人工服务,请稍等\\\\n\\\"}\",\n \"IsStartingAgent\": false,\n \"Model\": {\n \"HistoryLimit\": 0,\n \"IsEnabled\": false,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"32K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"酒店取消预订\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"8c2cf597-c77f-46b3-b9be-16c62ef8f96a\"\n },\n {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"HandoffDescription\": \"处理用户新闻搜索的需求\",\n \"Handoffs\": [],\n \"IconUrl\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/plugin_files/%E6%8F%92%E4%BB%B6-%E9%BB%98%E8%AE%A4.png\",\n \"Instructions\": \"根据用户的输入,搜索相关新闻,提供相应的web访问地址\",\n \"IsStartingAgent\": false,\n \"Model\": {\n \"HistoryLimit\": 5,\n \"IsEnabled\": true,\n \"ModelAliasName\": \"精调Function-call模型\",\n \"ModelContextWordsLimit\": \"32K\",\n \"ModelName\": \"function-call-pro\",\n \"Temperature\": 0.5,\n \"TopP\": 0.5\n },\n \"Name\": \"新闻搜索agent\",\n \"Plugins\": [],\n \"Tools\": [],\n \"WorkflowId\": \"\"\n }\n ],\n \"RequestId\": \"0fe2c215-7e59-4f3d-a3c0-468d63c5d89e\",\n \"StaringAgentId\": \"mainagent-1906600044720291840\"\n }\n}",
|
216
|
+
"title": "查询指定应用下的Agent列表"
|
217
|
+
}
|
218
|
+
],
|
195
219
|
"DescribeAttributeLabel": [
|
196
220
|
{
|
197
221
|
"document": "查询知识标签",
|
@@ -236,7 +260,7 @@
|
|
236
260
|
{
|
237
261
|
"document": "",
|
238
262
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDoc\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"DocBizId\": \"1729099536210460672\"\n}",
|
239
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"17467eb0-3f01-4bc8-af86-3f3b6b01a40c\",\n \"IsAllowDelete\": true,\n \"IsCreatedQa\": false,\n \"IsDeleted\": false,\n \"SourceDesc\": \"网页导入\",\n \"UpdateTime\": \"1701427403\",\n \"DocBizId\": \"1729099536210460672\",\n \"DocCharSize\": \"5\",\n \"FileName\": \"jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowEdit\": false,\n \"IsDeletedQa\": false,\n \"AttrLabels\": [],\n \"AttrRange\": 1,\n \"CosUrl\": \"/corp/137/doc/jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowRefer\": false,\n \"IsCreatingQa\": false,\n \"Source\": 1,\n \"QaNum\": 0,\n \"Reason\": \"\",\n \"Status\": 14,\n \"StatusDesc\": \"学习失败\",\n \"FileType\": \"docx\",\n \"IsAllowRestart\": true,\n \"IsRefer\": false\n }\n}",
|
263
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"17467eb0-3f01-4bc8-af86-3f3b6b01a40c\",\n \"IsAllowDelete\": true,\n \"IsCreatedQa\": false,\n \"IsDeleted\": false,\n \"SourceDesc\": \"网页导入\",\n \"UpdateTime\": \"1701427403\",\n \"DocBizId\": \"1729099536210460672\",\n \"DocCharSize\": \"5\",\n \"FileName\": \"jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowEdit\": false,\n \"IsDeletedQa\": false,\n \"AttrLabels\": [],\n \"AttrRange\": 1,\n \"CosUrl\": \"/corp/137/doc/jkadslfjalkdfjaklsdfla.docx\",\n \"IsAllowRefer\": false,\n \"IsCreatingQa\": false,\n \"Source\": 1,\n \"QaNum\": 0,\n \"Reason\": \"\",\n \"Status\": 14,\n \"StatusDesc\": \"学习失败\",\n \"FileType\": \"docx\",\n \"IsAllowRestart\": true,\n \"IsRefer\": false,\n \"IsDownload\": false\n }\n}",
|
240
264
|
"title": "文档详情"
|
241
265
|
}
|
242
266
|
],
|
@@ -700,6 +724,14 @@
|
|
700
724
|
"title": "查询工作流异步运行实例的列表"
|
701
725
|
}
|
702
726
|
],
|
727
|
+
"ModifyAgent": [
|
728
|
+
{
|
729
|
+
"document": "",
|
730
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"Name\": \"新闻搜索agent\",\n \"Instructions\": \"根据用户的输入,搜索相关新闻,提供相应的web访问地址\",\n \"HandoffDescription\": \"处理用户新闻搜索的需求\"\n }\n}",
|
731
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"47a5a3be-b6ad-48bc-aced-7af35781b2be\"\n }\n}",
|
732
|
+
"title": "修改Agent"
|
733
|
+
}
|
734
|
+
],
|
703
735
|
"ModifyApp": [
|
704
736
|
{
|
705
737
|
"document": "修改应用",
|
@@ -6381,6 +6381,16 @@
|
|
6381
6381
|
"type": "string",
|
6382
6382
|
"value_allowed_null": false
|
6383
6383
|
},
|
6384
|
+
{
|
6385
|
+
"disabled": false,
|
6386
|
+
"document": "queryHash",
|
6387
|
+
"example": "abcdefg",
|
6388
|
+
"member": "string",
|
6389
|
+
"name": "QueryHash",
|
6390
|
+
"output_required": false,
|
6391
|
+
"type": "string",
|
6392
|
+
"value_allowed_null": false
|
6393
|
+
},
|
6384
6394
|
{
|
6385
6395
|
"disabled": false,
|
6386
6396
|
"document": "最大执行时间",
|
@@ -8557,9 +8557,10 @@
|
|
8557
8557
|
{
|
8558
8558
|
"disabled": false,
|
8559
8559
|
"document": "媒体处理对象文件所在的 COS Bucket 名,如 TopRankVideo-125xxx88。",
|
8560
|
-
"example": "
|
8560
|
+
"example": "TopRankVideo-125xxx88",
|
8561
8561
|
"member": "string",
|
8562
8562
|
"name": "Bucket",
|
8563
|
+
"output_required": true,
|
8563
8564
|
"required": true,
|
8564
8565
|
"type": "string",
|
8565
8566
|
"value_allowed_null": false
|
@@ -8567,9 +8568,10 @@
|
|
8567
8568
|
{
|
8568
8569
|
"disabled": false,
|
8569
8570
|
"document": "媒体处理对象文件所在的 COS Bucket 所属园区,如 ap-chongqing。",
|
8570
|
-
"example": "
|
8571
|
+
"example": "ap-chongqing",
|
8571
8572
|
"member": "string",
|
8572
8573
|
"name": "Region",
|
8574
|
+
"output_required": true,
|
8573
8575
|
"required": true,
|
8574
8576
|
"type": "string",
|
8575
8577
|
"value_allowed_null": false
|
@@ -8577,9 +8579,10 @@
|
|
8577
8579
|
{
|
8578
8580
|
"disabled": false,
|
8579
8581
|
"document": "媒体处理对象文件的输入路径,如`/movie/201907/WildAnimal.mov`。",
|
8580
|
-
"example": "
|
8582
|
+
"example": "/movie/201907/WildAnimal.mov",
|
8581
8583
|
"member": "string",
|
8582
8584
|
"name": "Object",
|
8585
|
+
"output_required": true,
|
8583
8586
|
"required": true,
|
8584
8587
|
"type": "string",
|
8585
8588
|
"value_allowed_null": false
|
@@ -8593,9 +8596,10 @@
|
|
8593
8596
|
{
|
8594
8597
|
"disabled": false,
|
8595
8598
|
"document": "媒体处理生成的文件输出的目标 Bucket 名,如 TopRankVideo-125xxx88。如果不填,表示继承上层。",
|
8596
|
-
"example": "
|
8599
|
+
"example": "TopRankVideo-125xxx88",
|
8597
8600
|
"member": "string",
|
8598
8601
|
"name": "Bucket",
|
8602
|
+
"output_required": true,
|
8599
8603
|
"required": false,
|
8600
8604
|
"type": "string",
|
8601
8605
|
"value_allowed_null": false
|
@@ -8603,9 +8607,10 @@
|
|
8603
8607
|
{
|
8604
8608
|
"disabled": false,
|
8605
8609
|
"document": "媒体处理生成的文件输出的目标 Bucket 的园区,如 ap-chongqing。如果不填,表示继承上层。",
|
8606
|
-
"example": "
|
8610
|
+
"example": "ap-chongqing",
|
8607
8611
|
"member": "string",
|
8608
8612
|
"name": "Region",
|
8613
|
+
"output_required": true,
|
8609
8614
|
"required": false,
|
8610
8615
|
"type": "string",
|
8611
8616
|
"value_allowed_null": false
|
@@ -21160,6 +21165,16 @@
|
|
21160
21165
|
"output_required": false,
|
21161
21166
|
"type": "list",
|
21162
21167
|
"value_allowed_null": true
|
21168
|
+
},
|
21169
|
+
{
|
21170
|
+
"disabled": false,
|
21171
|
+
"document": "摘要思维导图地址\n注意:此字段可能返回 null,表示取不到有效值。",
|
21172
|
+
"example": "https://xxxx.cos.myqcloud.com",
|
21173
|
+
"member": "string",
|
21174
|
+
"name": "MindMapUrl",
|
21175
|
+
"output_required": false,
|
21176
|
+
"type": "string",
|
21177
|
+
"value_allowed_null": true
|
21163
21178
|
}
|
21164
21179
|
],
|
21165
21180
|
"usage": "out"
|
@@ -21899,6 +21914,7 @@
|
|
21899
21914
|
"example": "NULL",
|
21900
21915
|
"member": "string",
|
21901
21916
|
"name": "Type",
|
21917
|
+
"output_required": true,
|
21902
21918
|
"required": true,
|
21903
21919
|
"type": "string",
|
21904
21920
|
"value_allowed_null": false
|
@@ -21909,6 +21925,7 @@
|
|
21909
21925
|
"example": "NULL",
|
21910
21926
|
"member": "CosInputInfo",
|
21911
21927
|
"name": "CosInputInfo",
|
21928
|
+
"output_required": true,
|
21912
21929
|
"required": false,
|
21913
21930
|
"type": "object",
|
21914
21931
|
"value_allowed_null": false
|
@@ -21919,6 +21936,7 @@
|
|
21919
21936
|
"example": "NULL",
|
21920
21937
|
"member": "UrlInputInfo",
|
21921
21938
|
"name": "UrlInputInfo",
|
21939
|
+
"output_required": true,
|
21922
21940
|
"required": false,
|
21923
21941
|
"type": "object",
|
21924
21942
|
"value_allowed_null": true
|
@@ -21929,6 +21947,7 @@
|
|
21929
21947
|
"example": "NULL",
|
21930
21948
|
"member": "S3InputInfo",
|
21931
21949
|
"name": "S3InputInfo",
|
21950
|
+
"output_required": true,
|
21932
21951
|
"required": false,
|
21933
21952
|
"type": "object",
|
21934
21953
|
"value_allowed_null": true
|
@@ -27101,7 +27120,7 @@
|
|
27101
27120
|
{
|
27102
27121
|
"disabled": false,
|
27103
27122
|
"document": "质检项名称。质检项取值如下:\n<li>LowEvaluation:无参考打分</li>\n<li>Mosaic:马赛克检测</li>\n<li>CrashScreen:花屏检测</li>\n<li>Blur:模糊检测</li>\n<li>BlackWhiteEdge:黑白边检测</li>\n<li>SolidColorScreen:纯色屏检测</li>\n<li>LowLighting:低光照</li>\n<li>HighLighting:过曝</li>\n<li>NoVoice:静音检测</li>\n<li>LowVoice:低音检测</li>\n<li>HighVoice:爆音检测</li>\n<li>Jitter:抖动检测</li>\n<li>Noise:噪点检测</li>\n<li>QRCode:二维码检测</li>\n<li>BarCode:条形码检测</li>\n<li>AppletCode:小程序码检测</li>\n<li>VideoResolutionChanged:视频分辨率变化</li>\n<li>AudioSampleRateChanged:音频采样率变化</li>\n<li>AudioChannelsChanged:音频通道数变化</li>\n<li>ParameterSetsChanged:流参数集信息发生变化</li>\n<li>DarOrSarInvalid:视频的宽高比异常</li>\n<li>TimestampFallback:DTS时间戳回退</li>\n<li>DtsJitter:DTS抖动过大</li>\n<li>PtsJitter:PTS抖动过大</li>\n<li>AACDurationDeviation:AAC帧时间戳间隔不合理</li>\n<li>AudioDroppingFrames:音频丢帧</li>\n<li>VideoDroppingFrames:视频丢帧</li>\n<li>AVTimestampInterleave:音视频交织不合理</li>\n<li>PtsLessThanDts:媒体流的 pts 小于 dts</li>\n<li>ReceiveFpsJitter:网络接收帧率抖动过大</li>\n<li>ReceiveFpsTooSmall:网络接收视频帧率过小</li>\n<li>FpsJitter:通过PTS计算得到的流帧率抖动过大</li>\n<li>StreamOpenFailed:流打开失败</li>\n<li>StreamEnd:流结束</li>\n<li>StreamParseFailed:流解析失败</li>\n<li>VideoFirstFrameNotIdr:首帧不是IDR帧</li>\n<li>StreamNALUError:NALU起始码错误</li>\n<li>TsStreamNoAud:mpegts的H26x流缺失 AUD NALU</li>\n<li>AudioStreamLack:无音频流</li>\n<li>VideoStreamLack:无视频流</li>\n<li>LackAudioRecover:缺失音频流恢复</li>\n<li>LackVideoRecover:缺失视频流恢复</li>\n<li>VideoBitrateOutofRange:视频流码率(kbps)超出范围</li>\n<li>AudioBitrateOutofRange:音频流码率(kbps)超出范围</li>\n<li>VideoDecodeFailed:视频解码错误</li>\n<li>AudioDecodeFailed:音频解码错误</li>\n<li>AudioOutOfPhase:双通道音频相位相反</li>\n<li>VideoDuplicatedFrame:视频流中存在重复帧</li>\n<li>AudioDuplicatedFrame:音频流中存在重复帧</li>\n<li>VideoRotation:视频画面旋转</li>\n<li>TsMultiPrograms:MPEG2-TS流有多个program</li>\n<li>Mp4InvalidCodecFourcc:MP4中codec fourcc不符合Apple HLS要求</li>\n<li>HLSBadM3u8Format:无效的m3u8文件</li>\n<li>HLSInvalidMasterM3u8:无效的main m3u8文件</li>\n<li>HLSInvalidMediaM3u8:无效的media m3u8文件</li>\n<li>HLSMasterM3u8Recommended:main m3u8缺少标准推荐的参数</li>\n<li>HLSMediaM3u8Recommended:media m3u8缺少标准推荐的参数</li>\n<li>HLSMediaM3u8DiscontinuityExist:media m3u8存在EXT-X-DISCONTINUITY</li>\n<li>HLSMediaSegmentsStreamNumChange:切片的流数目发生变化</li>\n<li>HLSMediaSegmentsPTSJitterDeviation:切片间PTS跳变且没有EXT-X-DISCONTINUITY</li>\n<li>HLSMediaSegmentsDTSJitterDeviation:切片间DTS跳变且没有EXT-X-DISCONTINUITY</li>\n<li>TimecodeTrackExist:MP4存在tmcd轨道</li>",
|
27104
|
-
"example": "
|
27123
|
+
"example": "Mosaic",
|
27105
27124
|
"member": "string",
|
27106
27125
|
"name": "Type",
|
27107
27126
|
"output_required": true,
|
@@ -27112,7 +27131,7 @@
|
|
27112
27131
|
{
|
27113
27132
|
"disabled": false,
|
27114
27133
|
"document": "能力配置开关,可选值:\n<li>ON:开启;</li>\n<li>OFF:关闭。</li>\n默认值:ON。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27115
|
-
"example": "
|
27134
|
+
"example": "ON",
|
27116
27135
|
"member": "string",
|
27117
27136
|
"name": "Switch",
|
27118
27137
|
"output_required": false,
|
@@ -27145,7 +27164,7 @@
|
|
27145
27164
|
{
|
27146
27165
|
"disabled": false,
|
27147
27166
|
"document": "异常持续时间,单位:ms。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27148
|
-
"example": "
|
27167
|
+
"example": "1000",
|
27149
27168
|
"member": "uint64",
|
27150
27169
|
"name": "Duration",
|
27151
27170
|
"output_required": false,
|
@@ -27156,7 +27175,7 @@
|
|
27156
27175
|
{
|
27157
27176
|
"disabled": false,
|
27158
27177
|
"document": "检测项对应的阈值,不同检测项对应阈值不同。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27159
|
-
"example": "
|
27178
|
+
"example": "80",
|
27160
27179
|
"member": "string",
|
27161
27180
|
"name": "Threshold",
|
27162
27181
|
"output_required": false,
|
@@ -27199,7 +27218,7 @@
|
|
27199
27218
|
{
|
27200
27219
|
"disabled": false,
|
27201
27220
|
"document": "媒体质检模板唯一标识。",
|
27202
|
-
"example": "
|
27221
|
+
"example": "10",
|
27203
27222
|
"member": "int64",
|
27204
27223
|
"name": "Definition",
|
27205
27224
|
"output_required": true,
|
@@ -27209,7 +27228,7 @@
|
|
27209
27228
|
{
|
27210
27229
|
"disabled": false,
|
27211
27230
|
"document": "媒体质检模板名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27212
|
-
"example": "
|
27231
|
+
"example": "test",
|
27213
27232
|
"member": "string",
|
27214
27233
|
"name": "Name",
|
27215
27234
|
"output_required": false,
|
@@ -27219,7 +27238,7 @@
|
|
27219
27238
|
{
|
27220
27239
|
"disabled": false,
|
27221
27240
|
"document": "模板描述信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27222
|
-
"example": "
|
27241
|
+
"example": "my test media quality control template",
|
27223
27242
|
"member": "string",
|
27224
27243
|
"name": "Comment",
|
27225
27244
|
"output_required": false,
|
@@ -27229,7 +27248,7 @@
|
|
27229
27248
|
{
|
27230
27249
|
"disabled": false,
|
27231
27250
|
"document": "模板类型,取值:\n<li>Preset:系统预置模板;</li>\n<li>Custom:用户自定义模板。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
27232
|
-
"example": "
|
27251
|
+
"example": "Custom",
|
27233
27252
|
"member": "string",
|
27234
27253
|
"name": "Type",
|
27235
27254
|
"output_required": false,
|
@@ -27249,7 +27268,7 @@
|
|
27249
27268
|
{
|
27250
27269
|
"disabled": false,
|
27251
27270
|
"document": "模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27252
|
-
"example": "
|
27271
|
+
"example": "2021-02-03T04:05:06Z",
|
27253
27272
|
"member": "string",
|
27254
27273
|
"name": "CreateTime",
|
27255
27274
|
"output_required": false,
|
@@ -27259,7 +27278,7 @@
|
|
27259
27278
|
{
|
27260
27279
|
"disabled": false,
|
27261
27280
|
"document": "模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
27262
|
-
"example": "
|
27281
|
+
"example": "2022-02-03T04:05:06Z",
|
27263
27282
|
"member": "string",
|
27264
27283
|
"name": "UpdateTime",
|
27265
27284
|
"output_required": false,
|
@@ -30375,7 +30394,7 @@
|
|
30375
30394
|
{
|
30376
30395
|
"disabled": false,
|
30377
30396
|
"document": "要压制到视频中的字幕文件地址。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30378
|
-
"example": "
|
30397
|
+
"example": "https://test-123xxxx456.cos.ap-nanjing.myqcloud.com/xxxxx/subtitle/1.srt",
|
30379
30398
|
"member": "string",
|
30380
30399
|
"name": "Path",
|
30381
30400
|
"output_required": false,
|
@@ -30385,8 +30404,8 @@
|
|
30385
30404
|
},
|
30386
30405
|
{
|
30387
30406
|
"disabled": false,
|
30388
|
-
"document": "
|
30389
|
-
"example": "
|
30407
|
+
"document": "指定要压制到视频中的字幕轨道,Path 和 StreamIndex 至少指定一个;如果指定了Path,则优先使用Path。\nStreamindex的取值须与源文件中的字幕轨索引一致。例如,源文件中的字幕轨为stream#0:3,则StreamIndex应为3,否则可能导致任务处理失败。\n\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
30408
|
+
"example": "0",
|
30390
30409
|
"member": "int64",
|
30391
30410
|
"name": "StreamIndex",
|
30392
30411
|
"output_required": false,
|
@@ -30396,8 +30415,8 @@
|
|
30396
30415
|
},
|
30397
30416
|
{
|
30398
30417
|
"disabled": false,
|
30399
|
-
"document": "
|
30400
|
-
"example": "
|
30418
|
+
"document": "字体类型,支持:\n<li>hei.ttf:黑体</li>\n<li>song.ttf:宋体</li>\n<li>kai.ttf(推荐)或 simkai.ttf:楷体</li>\n<li>msyh.ttf:微软雅黑</li>\n<li>msyhbd.ttf:微软雅黑加粗</li>\n<li>hkjgt.ttf:华康金刚体</li>\n<li>dhttx.ttf:典黑体特细</li>\n<li>xqgdzt.ttf:喜鹊古字典体</li>\n<li>qpcyt.ttf:巧拼超圆体</li>\n<li>arial.ttf:仅支持英文</li>\n<li>dinalternate.ttf:DIN Alternate Bold</li>\n<li>helveticalt.ttf:Helvetica</li>\n<li>helveticains.ttf:Helvetica Inserat</li>\n<li>trajanpro.ttf:TrajanPro-Bold</li>\n<li>korean.ttf:韩语</li>\n<li>japanese.ttf:日语</li>\n<li>thai.ttf:泰语</li>\n默认:hei.ttf 黑体。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30419
|
+
"example": "kai.ttf",
|
30401
30420
|
"member": "string",
|
30402
30421
|
"name": "FontType",
|
30403
30422
|
"output_required": false,
|
@@ -30407,8 +30426,8 @@
|
|
30407
30426
|
},
|
30408
30427
|
{
|
30409
30428
|
"disabled": false,
|
30410
|
-
"document": "字体大小,格式:Npx,N 为数值,不指定则以字幕文件中为准。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30411
|
-
"example": "
|
30429
|
+
"document": "字体大小,格式:Npx,N 为数值,不指定则以字幕文件中为准。\n默认源视频高度的5%。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30430
|
+
"example": "50px",
|
30412
30431
|
"member": "string",
|
30413
30432
|
"name": "FontSize",
|
30414
30433
|
"output_required": false,
|
@@ -30418,8 +30437,8 @@
|
|
30418
30437
|
},
|
30419
30438
|
{
|
30420
30439
|
"disabled": false,
|
30421
|
-
"document": "字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF
|
30422
|
-
"example": "
|
30440
|
+
"document": "字体颜色,格式:0xRRGGBB,默认值:0xFFFFFF(白色)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30441
|
+
"example": "0xFFFFFF",
|
30423
30442
|
"member": "string",
|
30424
30443
|
"name": "FontColor",
|
30425
30444
|
"output_required": false,
|
@@ -30437,6 +30456,72 @@
|
|
30437
30456
|
"required": false,
|
30438
30457
|
"type": "float",
|
30439
30458
|
"value_allowed_null": true
|
30459
|
+
},
|
30460
|
+
{
|
30461
|
+
"disabled": false,
|
30462
|
+
"document": "字幕y轴坐标位置,指定此参数会忽略字幕文件自带坐标;支持像素和百分比格式:\n\n- 像素:Npx,N范围:[0,4096]。\n- 百分百:N%,N范围:[0,100];例如10%表示字幕y坐标=10%*源视频高度。\n\n默认值:源视频高度*4%。\n注意:坐标轴原点在源视频中轴线底部,字幕基准点在字幕中轴线底部,参考下图:\n\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
30463
|
+
"example": "4%",
|
30464
|
+
"member": "string",
|
30465
|
+
"name": "YPos",
|
30466
|
+
"output_required": false,
|
30467
|
+
"required": false,
|
30468
|
+
"type": "string",
|
30469
|
+
"value_allowed_null": true
|
30470
|
+
},
|
30471
|
+
{
|
30472
|
+
"disabled": false,
|
30473
|
+
"document": "字幕背景底板的y轴坐标位置;支持像素和百分比格式:\n\n- 像素:Npx,N范围:[0,4096]。\n- 百分百:N%,N范围:[0,100];例如10%表示字幕背景底板y坐标=10%*源视频高度。\n\n不传表示不开启字幕背景底板。\n注意:坐标轴原点位于源视频的中轴线底部,字幕背景底板的基准点在其中轴线底部,参考下图:\n\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
30474
|
+
"example": "1%",
|
30475
|
+
"member": "string",
|
30476
|
+
"name": "BoardY",
|
30477
|
+
"output_required": false,
|
30478
|
+
"required": false,
|
30479
|
+
"type": "string",
|
30480
|
+
"value_allowed_null": true
|
30481
|
+
},
|
30482
|
+
{
|
30483
|
+
"disabled": false,
|
30484
|
+
"document": "底板的宽度,单位为像素,取值范围:[0,4096]。\n默认源视频宽像素的90%。\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
30485
|
+
"example": "1920",
|
30486
|
+
"member": "int64",
|
30487
|
+
"name": "BoardWidth",
|
30488
|
+
"output_required": false,
|
30489
|
+
"required": false,
|
30490
|
+
"type": "int",
|
30491
|
+
"value_allowed_null": true
|
30492
|
+
},
|
30493
|
+
{
|
30494
|
+
"disabled": false,
|
30495
|
+
"document": "底板的高度。单位为像素,取值范围:[0,4096]。\n默认为源视频高像素的15%。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30496
|
+
"example": "100",
|
30497
|
+
"member": "int64",
|
30498
|
+
"name": "BoardHeight",
|
30499
|
+
"output_required": false,
|
30500
|
+
"required": false,
|
30501
|
+
"type": "int",
|
30502
|
+
"value_allowed_null": true
|
30503
|
+
},
|
30504
|
+
{
|
30505
|
+
"disabled": false,
|
30506
|
+
"document": "底板颜色。格式:0xRRGGBB,\n默认值:0x000000(黑色)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30507
|
+
"example": "0x000000",
|
30508
|
+
"member": "string",
|
30509
|
+
"name": "BoardColor",
|
30510
|
+
"output_required": false,
|
30511
|
+
"required": false,
|
30512
|
+
"type": "string",
|
30513
|
+
"value_allowed_null": true
|
30514
|
+
},
|
30515
|
+
{
|
30516
|
+
"disabled": false,
|
30517
|
+
"document": "字幕背景板透明度,取值范围:[0, 1]\n<li>0:完全透明</li>\n<li>1:完全不透明</li>\n默认值:0.8。\n注意:此字段可能返回 null,表示取不到有效值。",
|
30518
|
+
"example": "0.8",
|
30519
|
+
"member": "float",
|
30520
|
+
"name": "BoardAlpha",
|
30521
|
+
"output_required": false,
|
30522
|
+
"required": false,
|
30523
|
+
"type": "float",
|
30524
|
+
"value_allowed_null": true
|
30440
30525
|
}
|
30441
30526
|
],
|
30442
30527
|
"usage": "both"
|
@@ -30732,6 +30817,7 @@
|
|
30732
30817
|
"example": "NULL",
|
30733
30818
|
"member": "string",
|
30734
30819
|
"name": "Type",
|
30820
|
+
"output_required": true,
|
30735
30821
|
"required": true,
|
30736
30822
|
"type": "string",
|
30737
30823
|
"value_allowed_null": false
|
@@ -30742,6 +30828,7 @@
|
|
30742
30828
|
"example": "NULL",
|
30743
30829
|
"member": "CosOutputStorage",
|
30744
30830
|
"name": "CosOutputStorage",
|
30831
|
+
"output_required": true,
|
30745
30832
|
"required": false,
|
30746
30833
|
"type": "object",
|
30747
30834
|
"value_allowed_null": true
|
@@ -30752,6 +30839,7 @@
|
|
30752
30839
|
"example": "NULL",
|
30753
30840
|
"member": "S3OutputStorage",
|
30754
30841
|
"name": "S3OutputStorage",
|
30842
|
+
"output_required": true,
|
30755
30843
|
"required": false,
|
30756
30844
|
"type": "object",
|
30757
30845
|
"value_allowed_null": true
|
@@ -32975,7 +33063,7 @@
|
|
32975
33063
|
},
|
32976
33064
|
{
|
32977
33065
|
"disabled": false,
|
32978
|
-
"document": "原点位置,可选值:\n<li>
|
33066
|
+
"document": "原点位置,可选值:\n<li>TopLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>\n<li>TopRight:表示坐标原点位于视频图像的右上角,水印原点为图片或文字的右上角;</li>\n<li>BottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>\n<li>BottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下角。</li>",
|
32979
33067
|
"example": "TopLeft",
|
32980
33068
|
"member": "string",
|
32981
33069
|
"name": "CoordinateOrigin",
|
@@ -1681,6 +1681,58 @@ def doDescribeInstance(args, parsed_globals):
|
|
1681
1681
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
1682
|
|
1683
1683
|
|
1684
|
+
def doDescribeMessageDetails(args, parsed_globals):
|
1685
|
+
g_param = parse_global_arg(parsed_globals)
|
1686
|
+
|
1687
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1688
|
+
cred = credential.CVMRoleCredential()
|
1689
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1690
|
+
cred = credential.STSAssumeRoleCredential(
|
1691
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1692
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1693
|
+
)
|
1694
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1695
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1696
|
+
else:
|
1697
|
+
cred = credential.Credential(
|
1698
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1699
|
+
)
|
1700
|
+
http_profile = HttpProfile(
|
1701
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1702
|
+
reqMethod="POST",
|
1703
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1704
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1705
|
+
)
|
1706
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1707
|
+
if g_param[OptionsDefine.Language]:
|
1708
|
+
profile.language = g_param[OptionsDefine.Language]
|
1709
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1710
|
+
client = mod.MqttClient(cred, g_param[OptionsDefine.Region], profile)
|
1711
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1712
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1713
|
+
model = models.DescribeMessageDetailsRequest()
|
1714
|
+
model.from_json_string(json.dumps(args))
|
1715
|
+
start_time = time.time()
|
1716
|
+
while True:
|
1717
|
+
rsp = client.DescribeMessageDetails(model)
|
1718
|
+
result = rsp.to_json_string()
|
1719
|
+
try:
|
1720
|
+
json_obj = json.loads(result)
|
1721
|
+
except TypeError as e:
|
1722
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1723
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1724
|
+
break
|
1725
|
+
cur_time = time.time()
|
1726
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1727
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1728
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1729
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1730
|
+
else:
|
1731
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1732
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1733
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
|
+
|
1735
|
+
|
1684
1736
|
def doDeleteTopic(args, parsed_globals):
|
1685
1737
|
g_param = parse_global_arg(parsed_globals)
|
1686
1738
|
|
@@ -2816,6 +2868,7 @@ ACTION_MAP = {
|
|
2816
2868
|
"RevokedDeviceCertificate": doRevokedDeviceCertificate,
|
2817
2869
|
"DescribeSharedSubscriptionLag": doDescribeSharedSubscriptionLag,
|
2818
2870
|
"DescribeInstance": doDescribeInstance,
|
2871
|
+
"DescribeMessageDetails": doDescribeMessageDetails,
|
2819
2872
|
"DeleteTopic": doDeleteTopic,
|
2820
2873
|
"DeleteUser": doDeleteUser,
|
2821
2874
|
"DescribeCaCertificate": doDescribeCaCertificate,
|