tccli 3.0.1095.1__py2.py3-none-any.whl → 3.0.1097.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
- tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
- tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
- tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
- tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
- tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
- tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
- tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
- tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
- tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
- tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
- tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
- tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
- tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
- tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
- tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
- tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
- tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
- tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
- tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
- tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
- tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
- tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
- tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
- tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
- tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
- tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
- tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
- tccli/services/aiart/aiart_client.py +269 -4
- tccli/services/aiart/v20221229/api.json +405 -1
- tccli/services/aiart/v20221229/examples.json +40 -0
- tccli/services/billing/v20180709/api.json +30 -0
- tccli/services/bma/v20221115/api.json +4 -6
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +57 -5
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cls/v20201016/api.json +49 -49
- tccli/services/cls/v20201016/examples.json +13 -7
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +1468 -7
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +126 -0
- tccli/services/cynosdb/v20190107/examples.json +12 -4
- tccli/services/dcdb/v20180411/api.json +45 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +30 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +9 -0
- tccli/services/faceid/v20180301/api.json +22 -3
- tccli/services/hunyuan/v20230901/api.json +14 -14
- tccli/services/iotexplorer/v20190423/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/live/v20180801/api.json +16 -7
- tccli/services/lke/v20231130/api.json +82 -6
- tccli/services/lke/v20231130/examples.json +3 -3
- tccli/services/mariadb/v20170312/api.json +45 -2
- tccli/services/mariadb/v20170312/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +172 -92
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/omics/v20221128/api.json +20 -2
- tccli/services/organization/organization_client.py +106 -0
- tccli/services/organization/v20210331/api.json +258 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/ssl/ssl_client.py +53 -0
- tccli/services/ssl/v20191205/api.json +160 -9
- tccli/services/ssl/v20191205/examples.json +8 -0
- tccli/services/ssm/v20190923/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +65 -26
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/trocket/v20230308/api.json +226 -108
- tccli/services/trocket/v20230308/examples.json +13 -25
- tccli/services/trtc/v20190722/api.json +34 -15
- tccli/services/vpc/v20170312/api.json +20 -5
- tccli/services/vpc/v20170312/examples.json +2 -2
- tccli/services/weilingwith/v20230427/api.json +11 -11
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/RECORD +92 -81
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1097.1.dist-info}/license_files/LICENSE +0 -0
@@ -324,7 +324,7 @@
|
|
324
324
|
{
|
325
325
|
"disabled": false,
|
326
326
|
"document": "角色名称。",
|
327
|
-
"example": "
|
327
|
+
"example": "assistant",
|
328
328
|
"member": "string",
|
329
329
|
"name": "Role",
|
330
330
|
"output_required": false,
|
@@ -334,7 +334,7 @@
|
|
334
334
|
{
|
335
335
|
"disabled": false,
|
336
336
|
"document": "内容详情。",
|
337
|
-
"example": "
|
337
|
+
"example": "你好!请问有什么我可以帮助你的吗?",
|
338
338
|
"member": "string",
|
339
339
|
"name": "Content",
|
340
340
|
"output_required": false,
|
@@ -381,12 +381,12 @@
|
|
381
381
|
"usage": "out"
|
382
382
|
},
|
383
383
|
"EmbeddingUsage": {
|
384
|
-
"document": "
|
384
|
+
"document": "Token 使用计数。",
|
385
385
|
"members": [
|
386
386
|
{
|
387
387
|
"disabled": false,
|
388
|
-
"document": "输入Token数。",
|
389
|
-
"example": "
|
388
|
+
"document": "输入 Token 数。",
|
389
|
+
"example": "8",
|
390
390
|
"member": "int64",
|
391
391
|
"name": "PromptTokens",
|
392
392
|
"output_required": false,
|
@@ -395,8 +395,8 @@
|
|
395
395
|
},
|
396
396
|
{
|
397
397
|
"disabled": false,
|
398
|
-
"document": "总Token数。",
|
399
|
-
"example": "
|
398
|
+
"document": "总 Token 数。",
|
399
|
+
"example": "8",
|
400
400
|
"member": "int64",
|
401
401
|
"name": "TotalTokens",
|
402
402
|
"output_required": false,
|
@@ -565,12 +565,12 @@
|
|
565
565
|
"usage": "both"
|
566
566
|
},
|
567
567
|
"Usage": {
|
568
|
-
"document": "
|
568
|
+
"document": "Token 数量",
|
569
569
|
"members": [
|
570
570
|
{
|
571
571
|
"disabled": false,
|
572
|
-
"document": "输入
|
573
|
-
"example": "
|
572
|
+
"document": "输入 Token 数量。",
|
573
|
+
"example": "8",
|
574
574
|
"member": "int64",
|
575
575
|
"name": "PromptTokens",
|
576
576
|
"output_required": false,
|
@@ -579,8 +579,8 @@
|
|
579
579
|
},
|
580
580
|
{
|
581
581
|
"disabled": false,
|
582
|
-
"document": "输出
|
583
|
-
"example": "
|
582
|
+
"document": "输出 Token 数量。",
|
583
|
+
"example": "20",
|
584
584
|
"member": "int64",
|
585
585
|
"name": "CompletionTokens",
|
586
586
|
"output_required": false,
|
@@ -589,8 +589,8 @@
|
|
589
589
|
},
|
590
590
|
{
|
591
591
|
"disabled": false,
|
592
|
-
"document": "总
|
593
|
-
"example": "
|
592
|
+
"document": "总 Token 数量。",
|
593
|
+
"example": "28",
|
594
594
|
"member": "int64",
|
595
595
|
"name": "TotalTokens",
|
596
596
|
"output_required": false,
|
@@ -561,7 +561,7 @@
|
|
561
561
|
"status": "online"
|
562
562
|
},
|
563
563
|
"ModifyFirewallRuleDescription": {
|
564
|
-
"document": "本接口(ModifyFirewallRuleDescription)用于修改单条防火墙规则描述。\n\n* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。\n\n在 FirewallRule 参数中:\n* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。\n* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。\n* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。\n* Action 字段只允许输入 ACCEPT 或 DROP。\n* FirewallRuleDescription 字段长度不得超过 64。",
|
564
|
+
"document": "本接口(ModifyFirewallRuleDescription)用于修改单条防火墙规则描述。\n\n* FirewallVersion 用于指定要操作的防火墙的版本。传入 FirewallVersion 版本号若不等于当前防火墙的最新版本,将返回失败;若不传 FirewallVersion 则直接修改防火墙规则备注。\n\n用FirewallRule参数来指定要修改的防火墙规则,使用其中的Protocol, Port, CidrBlock,Action字段来匹配要修改的防火墙规则。\n\n在 FirewallRule 参数中:\n* Protocol 字段支持输入 TCP,UDP,ICMP,ALL。\n* Port 字段允许输入 ALL,或者一个单独的端口号,或者用逗号分隔的离散端口号,或者用减号分隔的两个端口号代表的端口范围。当 Port 为范围时,减号分隔的第一个端口号小于第二个端口号。当 Protocol 字段不是 TCP 或 UDP 时,Port 字段只能为空或 ALL。Port 字段长度不得超过 64。\n* CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。租户之间网络隔离规则优先于防火墙中的内网规则。\n* Action 字段只允许输入 ACCEPT 或 DROP。\n* FirewallRuleDescription 字段长度不得超过 64。",
|
565
565
|
"input": "ModifyFirewallRuleDescriptionRequest",
|
566
566
|
"name": "修改防火墙规则描述",
|
567
567
|
"output": "ModifyFirewallRuleDescriptionResponse",
|
@@ -6072,7 +6072,7 @@
|
|
6072
6072
|
{
|
6073
6073
|
"disabled": false,
|
6074
6074
|
"document": "防火墙规则描述。",
|
6075
|
-
"example": "
|
6075
|
+
"example": "firewallrule description",
|
6076
6076
|
"member": "string",
|
6077
6077
|
"name": "FirewallRuleDescription",
|
6078
6078
|
"output_required": true,
|
@@ -162,7 +162,7 @@
|
|
162
162
|
"status": "online"
|
163
163
|
},
|
164
164
|
"CreateRecordTask": {
|
165
|
-
"document": "创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。\n- 使用前提\n1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。\n2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考
|
165
|
+
"document": "创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。\n- 使用前提\n1. 录制文件存放于点播平台,所以用户如需使用录制功能,需首先自行开通点播服务。\n2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考[对应文档](https://cloud.tencent.com/document/product/266/2837)。\n- 注意事项\n1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。\n2. 使用上避免创建时间段相互重叠的录制任务。若同一条流当前存在多个时段重叠的任务,为避免重复录制系统将启动最多3个录制任务。\n3. 创建的录制任务记录在平台侧只保留3个月。\n4. 当前录制任务管理API([CreateRecordTask](https://cloud.tencent.com/document/product/267/45983)/[StopRecordTask](https://cloud.tencent.com/document/product/267/45981)/[DeleteRecordTask](https://cloud.tencent.com/document/product/267/45982))与旧API(CreateLiveRecord/StopLiveRecord/DeleteLiveRecord)不兼容,两套接口不能混用。\n5. 避免 创建录制任务 与 推流 操作同时进行,可能导致因录制任务未生效而引起任务延迟启动问题,两者操作间隔建议大于3秒。",
|
166
166
|
"input": "CreateRecordTaskRequest",
|
167
167
|
"name": "创建录制任务(新)",
|
168
168
|
"output": "CreateRecordTaskResponse",
|
@@ -4316,7 +4316,7 @@
|
|
4316
4316
|
},
|
4317
4317
|
{
|
4318
4318
|
"disabled": false,
|
4319
|
-
"document": "录制任务结束时间,Unix时间戳。设置时间必须大于StartTime
|
4319
|
+
"document": "录制任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且小于当前时间+7天。",
|
4320
4320
|
"example": "1589904000",
|
4321
4321
|
"member": "uint64",
|
4322
4322
|
"name": "EndTime",
|
@@ -4325,7 +4325,7 @@
|
|
4325
4325
|
},
|
4326
4326
|
{
|
4327
4327
|
"disabled": false,
|
4328
|
-
"document": "录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。StartTime
|
4328
|
+
"document": "录制任务开始时间,Unix时间戳。如果不填表示立即启动录制。EndTime - StartTime不能超过24小时。",
|
4329
4329
|
"example": "1589889600",
|
4330
4330
|
"member": "uint64",
|
4331
4331
|
"name": "StartTime",
|
@@ -4371,7 +4371,7 @@
|
|
4371
4371
|
"example": "UpTbk5RSVhRQFkAAfHwQCCjcRD0lRFcZ0xTSlNTQltlRVRLU1JAWW9EUb",
|
4372
4372
|
"member": "string",
|
4373
4373
|
"name": "TaskId",
|
4374
|
-
"
|
4374
|
+
"output_required": true,
|
4375
4375
|
"type": "string",
|
4376
4376
|
"value_allowed_null": false
|
4377
4377
|
},
|
@@ -4416,7 +4416,7 @@
|
|
4416
4416
|
},
|
4417
4417
|
{
|
4418
4418
|
"disabled": false,
|
4419
|
-
"document": "截图任务结束时间,Unix时间戳。设置时间必须大于StartTime
|
4419
|
+
"document": "截图任务结束时间,Unix时间戳。设置时间必须大于StartTime及当前时间,且小于当前时间+7天。",
|
4420
4420
|
"example": "1589904000",
|
4421
4421
|
"member": "uint64",
|
4422
4422
|
"name": "EndTime",
|
@@ -4434,7 +4434,7 @@
|
|
4434
4434
|
},
|
4435
4435
|
{
|
4436
4436
|
"disabled": false,
|
4437
|
-
"document": "截图任务开始时间,Unix时间戳。如果不填表示立即启动截图。StartTime
|
4437
|
+
"document": "截图任务开始时间,Unix时间戳。如果不填表示立即启动截图。EndTime - StartTime不能超过24小时。",
|
4438
4438
|
"example": "1589889600",
|
4439
4439
|
"member": "uint64",
|
4440
4440
|
"name": "StartTime",
|
@@ -4471,7 +4471,7 @@
|
|
4471
4471
|
"example": "UpTbk5RSVhRQFkAAfHwQCCjcRD0lRFcZ0xTSlNTQltlRVRLU1JAWW9EUb",
|
4472
4472
|
"member": "string",
|
4473
4473
|
"name": "TaskId",
|
4474
|
-
"
|
4474
|
+
"output_required": true,
|
4475
4475
|
"type": "string",
|
4476
4476
|
"value_allowed_null": false
|
4477
4477
|
},
|
@@ -12807,6 +12807,15 @@
|
|
12807
12807
|
"name": "BackupToUrl",
|
12808
12808
|
"required": false,
|
12809
12809
|
"type": "string"
|
12810
|
+
},
|
12811
|
+
{
|
12812
|
+
"disabled": false,
|
12813
|
+
"document": "点播垫片文件地址。注意:用于在主源拉不到时自动兜底到垫片文件,切到垫片文件后,每次播完垫片会尝试拉主源,如果主源恢复则自动切回主源。可根据需要的轮询检查时长来传入对应时长的垫片文件。",
|
12814
|
+
"example": "http://vod.com/file/pad.mp4",
|
12815
|
+
"member": "string",
|
12816
|
+
"name": "BackupVodUrl",
|
12817
|
+
"required": false,
|
12818
|
+
"type": "string"
|
12810
12819
|
}
|
12811
12820
|
],
|
12812
12821
|
"type": "object"
|
@@ -232,7 +232,7 @@
|
|
232
232
|
"status": "online"
|
233
233
|
},
|
234
234
|
"GetEmbedding": {
|
235
|
-
"document": "
|
235
|
+
"document": "获取特征向量\n本接口有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
|
236
236
|
"input": "GetEmbeddingRequest",
|
237
237
|
"name": "获取特征向量",
|
238
238
|
"output": "GetEmbeddingResponse",
|
@@ -456,7 +456,7 @@
|
|
456
456
|
"status": "online"
|
457
457
|
},
|
458
458
|
"QueryRewrite": {
|
459
|
-
"document": "
|
459
|
+
"document": "多轮改写\n本接口有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
|
460
460
|
"input": "QueryRewriteRequest",
|
461
461
|
"name": "多轮改写",
|
462
462
|
"output": "QueryRewriteResponse",
|
@@ -3858,6 +3858,16 @@
|
|
3858
3858
|
"type": "list",
|
3859
3859
|
"value_allowed_null": false
|
3860
3860
|
},
|
3861
|
+
{
|
3862
|
+
"disabled": false,
|
3863
|
+
"document": "消耗量,返回TotalToken",
|
3864
|
+
"example": "{\"TotalTokens\":3}",
|
3865
|
+
"member": "Usage",
|
3866
|
+
"name": "Usage",
|
3867
|
+
"output_required": false,
|
3868
|
+
"type": "object",
|
3869
|
+
"value_allowed_null": false
|
3870
|
+
},
|
3861
3871
|
{
|
3862
3872
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3863
3873
|
"member": "string",
|
@@ -7362,9 +7372,9 @@
|
|
7362
7372
|
"type": "string"
|
7363
7373
|
},
|
7364
7374
|
{
|
7365
|
-
"disabled":
|
7366
|
-
"document": "默认值:
|
7367
|
-
"example": "parse:
|
7375
|
+
"disabled": true,
|
7376
|
+
"document": "默认值: parse",
|
7377
|
+
"example": "parse: 解析",
|
7368
7378
|
"member": "string",
|
7369
7379
|
"name": "Operate",
|
7370
7380
|
"required": false,
|
@@ -7685,6 +7695,16 @@
|
|
7685
7695
|
"type": "string",
|
7686
7696
|
"value_allowed_null": false
|
7687
7697
|
},
|
7698
|
+
{
|
7699
|
+
"disabled": false,
|
7700
|
+
"document": "消耗量,输出页数",
|
7701
|
+
"example": "{\"TotalPages\":10}",
|
7702
|
+
"member": "Usage",
|
7703
|
+
"name": "Usage",
|
7704
|
+
"output_required": false,
|
7705
|
+
"type": "object",
|
7706
|
+
"value_allowed_null": false
|
7707
|
+
},
|
7688
7708
|
{
|
7689
7709
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7690
7710
|
"member": "string",
|
@@ -7718,7 +7738,7 @@
|
|
7718
7738
|
{
|
7719
7739
|
"disabled": false,
|
7720
7740
|
"document": "模型名称",
|
7721
|
-
"example": "
|
7741
|
+
"example": "cs-rewrite",
|
7722
7742
|
"member": "string",
|
7723
7743
|
"name": "Model",
|
7724
7744
|
"required": false,
|
@@ -7740,6 +7760,16 @@
|
|
7740
7760
|
"type": "string",
|
7741
7761
|
"value_allowed_null": false
|
7742
7762
|
},
|
7763
|
+
{
|
7764
|
+
"disabled": false,
|
7765
|
+
"document": "消耗量,返回输入token数,输出token数以及总token数",
|
7766
|
+
"example": "{\"InputTokens\":45,\"OutputTokens\":6,\"TotalTokens\":51}",
|
7767
|
+
"member": "Usage",
|
7768
|
+
"name": "Usage",
|
7769
|
+
"output_required": false,
|
7770
|
+
"type": "object",
|
7771
|
+
"value_allowed_null": false
|
7772
|
+
},
|
7743
7773
|
{
|
7744
7774
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7745
7775
|
"member": "string",
|
@@ -8961,6 +8991,52 @@
|
|
8961
8991
|
],
|
8962
8992
|
"type": "object"
|
8963
8993
|
},
|
8994
|
+
"Usage": {
|
8995
|
+
"document": "消耗量",
|
8996
|
+
"members": [
|
8997
|
+
{
|
8998
|
+
"disabled": false,
|
8999
|
+
"document": "文档页数",
|
9000
|
+
"example": "10",
|
9001
|
+
"member": "int64",
|
9002
|
+
"name": "TotalPages",
|
9003
|
+
"output_required": false,
|
9004
|
+
"type": "int",
|
9005
|
+
"value_allowed_null": false
|
9006
|
+
},
|
9007
|
+
{
|
9008
|
+
"disabled": false,
|
9009
|
+
"document": "输入token数",
|
9010
|
+
"example": "10",
|
9011
|
+
"member": "int64",
|
9012
|
+
"name": "InputTokens",
|
9013
|
+
"output_required": false,
|
9014
|
+
"type": "int",
|
9015
|
+
"value_allowed_null": false
|
9016
|
+
},
|
9017
|
+
{
|
9018
|
+
"disabled": false,
|
9019
|
+
"document": "输出token数",
|
9020
|
+
"example": "10",
|
9021
|
+
"member": "int64",
|
9022
|
+
"name": "OutputTokens",
|
9023
|
+
"output_required": false,
|
9024
|
+
"type": "int",
|
9025
|
+
"value_allowed_null": false
|
9026
|
+
},
|
9027
|
+
{
|
9028
|
+
"disabled": false,
|
9029
|
+
"document": "总token数",
|
9030
|
+
"example": "10",
|
9031
|
+
"member": "int64",
|
9032
|
+
"name": "TotalTokens",
|
9033
|
+
"output_required": false,
|
9034
|
+
"type": "int",
|
9035
|
+
"value_allowed_null": false
|
9036
|
+
}
|
9037
|
+
],
|
9038
|
+
"usage": "out"
|
9039
|
+
},
|
8964
9040
|
"VerifyQARequest": {
|
8965
9041
|
"document": "VerifyQA请求参数结构体",
|
8966
9042
|
"members": [
|
@@ -268,7 +268,7 @@
|
|
268
268
|
{
|
269
269
|
"document": "",
|
270
270
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"doc-normal-500-v5.8\",\n \"Inputs\": [\n \"你好\"\n ],\n \"Online\": false\n}",
|
271
|
-
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0\n ]\n }\n ],\n \"RequestId\": \"
|
271
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0\n ]\n }\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Usage\": {\n \"TotalTokens\": 3\n }\n }\n}",
|
272
272
|
"title": "获取特征向量"
|
273
273
|
}
|
274
274
|
],
|
@@ -528,7 +528,7 @@
|
|
528
528
|
{
|
529
529
|
"document": "查询文档解析结果",
|
530
530
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryParseDocResult\n<公共请求参数>\n\n{\n \"TaskId\": \"D78iBBGi\"\n}",
|
531
|
-
"output": "{\n \"Response\": {\n \"Name\": \"D78iBBGi.zip\",\n \"Reason\": \"\",\n \"RequestId\": \"acd2b5f3-350f-4171-92be-e1c70f3e73d7\",\n \"Status\": \"success\",\n \"Url\": \"https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************\"\n }\n}",
|
531
|
+
"output": "{\n \"Response\": {\n \"Name\": \"D78iBBGi.zip\",\n \"Reason\": \"\",\n \"RequestId\": \"acd2b5f3-350f-4171-92be-e1c70f3e73d7\",\n \"Status\": \"success\",\n \"Url\": \"https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************\",\n \"Usage\": {\n \"TotalPages\": 1\n }\n }\n}",
|
532
532
|
"title": "查询文档解析结果"
|
533
533
|
}
|
534
534
|
],
|
@@ -536,7 +536,7 @@
|
|
536
536
|
{
|
537
537
|
"document": "多轮改写",
|
538
538
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryRewrite\n<公共请求参数>\n\n{\n \"Question\": \"国内哪里?\",\n \"Messages\": [\n {\n \"Role\": \"user\",\n \"Content\": \"你家在哪里\"\n },\n {\n \"Role\": \"assistant\",\n \"Content\": \"我家在国内\"\n }\n ]\n}",
|
539
|
-
"output": "{\n \"Response\": {\n \"Content\": \"你家在国内哪里?\",\n \"RequestId\": \"4de60215-13cd-4f90-afc4-9fe4ef63e245\"\n }\n}",
|
539
|
+
"output": "{\n \"Response\": {\n \"Content\": \"你家在国内哪里?\",\n \"RequestId\": \"4de60215-13cd-4f90-afc4-9fe4ef63e245\",\n \"Usage\": {\n \"InputTokens\": 45,\n \"OutputTokens\": 6,\n \"TotalTokens\": 51\n }\n }\n}",
|
540
540
|
"title": "多轮改写"
|
541
541
|
}
|
542
542
|
],
|
@@ -4114,6 +4114,16 @@
|
|
4114
4114
|
"type": "int",
|
4115
4115
|
"value_allowed_null": false
|
4116
4116
|
},
|
4117
|
+
{
|
4118
|
+
"disabled": false,
|
4119
|
+
"document": "proxy版本号",
|
4120
|
+
"example": "proxy-22.1.7",
|
4121
|
+
"member": "string",
|
4122
|
+
"name": "ProxyVersion",
|
4123
|
+
"output_required": true,
|
4124
|
+
"type": "string",
|
4125
|
+
"value_allowed_null": false
|
4126
|
+
},
|
4117
4127
|
{
|
4118
4128
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4119
4129
|
"member": "string",
|
@@ -4297,6 +4307,15 @@
|
|
4297
4307
|
"required": false,
|
4298
4308
|
"type": "list"
|
4299
4309
|
},
|
4310
|
+
{
|
4311
|
+
"disabled": false,
|
4312
|
+
"document": "标签",
|
4313
|
+
"example": "无",
|
4314
|
+
"member": "Tag",
|
4315
|
+
"name": "Tags",
|
4316
|
+
"required": false,
|
4317
|
+
"type": "list"
|
4318
|
+
},
|
4300
4319
|
{
|
4301
4320
|
"disabled": false,
|
4302
4321
|
"document": "实例类型过滤,1-独享实例,2-主实例,3-灾备实例,多个按逗号分隔",
|
@@ -4336,7 +4355,7 @@
|
|
4336
4355
|
"example": "1",
|
4337
4356
|
"member": "uint64",
|
4338
4357
|
"name": "TotalCount",
|
4339
|
-
"
|
4358
|
+
"output_required": true,
|
4340
4359
|
"type": "int",
|
4341
4360
|
"value_allowed_null": false
|
4342
4361
|
},
|
@@ -4346,7 +4365,7 @@
|
|
4346
4365
|
"example": "无",
|
4347
4366
|
"member": "DBInstance",
|
4348
4367
|
"name": "Instances",
|
4349
|
-
"
|
4368
|
+
"output_required": true,
|
4350
4369
|
"type": "list",
|
4351
4370
|
"value_allowed_null": false
|
4352
4371
|
},
|
@@ -8168,6 +8187,30 @@
|
|
8168
8187
|
],
|
8169
8188
|
"usage": "in"
|
8170
8189
|
},
|
8190
|
+
"Tag": {
|
8191
|
+
"document": "标签",
|
8192
|
+
"members": [
|
8193
|
+
{
|
8194
|
+
"disabled": false,
|
8195
|
+
"document": "标签键",
|
8196
|
+
"example": "name",
|
8197
|
+
"member": "string",
|
8198
|
+
"name": "TagKey",
|
8199
|
+
"required": false,
|
8200
|
+
"type": "string"
|
8201
|
+
},
|
8202
|
+
{
|
8203
|
+
"disabled": false,
|
8204
|
+
"document": "标签值",
|
8205
|
+
"example": "liu",
|
8206
|
+
"member": "string",
|
8207
|
+
"name": "TagValue",
|
8208
|
+
"required": false,
|
8209
|
+
"type": "string"
|
8210
|
+
}
|
8211
|
+
],
|
8212
|
+
"usage": "in"
|
8213
|
+
},
|
8171
8214
|
"TerminateDedicatedDBInstanceRequest": {
|
8172
8215
|
"document": "TerminateDedicatedDBInstance请求参数结构体",
|
8173
8216
|
"members": [
|
@@ -140,7 +140,7 @@
|
|
140
140
|
{
|
141
141
|
"document": "查询集中式实例的详细信息",
|
142
142
|
"input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-h178kq75\"\n}",
|
143
|
-
"output": "{\n \"Response\": {\n \"AutoRenewFlag\": 0,\n \"Cpu\": 1,\n \"CreateTime\": \"2023-02-27 17:58:50\",\n \"DbEngine\": \"MySQL\",\n \"DbVersion\": \"8.0.24\",\n \"DbVersionId\": \"8.0\",\n \"DcnDstNum\": 1,\n \"DcnFlag\": 1,\n \"DcnStatus\": 2,\n \"EncryptStatus\": 0,\n \"ExclusterId\": \"\",\n \"ExclusterType\": 0,\n \"InstanceId\": \"tdsql-h178kq75\",\n \"InstanceName\": \"cdz\",\n \"InstanceType\": 2,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": true,\n \"IsEncryptSupported\": 0,\n \"IsMaxUserConnectionsSupported\": true,\n \"IsTmp\": 0,\n \"LogStorage\": 8,\n \"Machine\": \"TS85\",\n \"MasterZone\": \"ap-guangzhou-3\",\n \"Memory\": 2,\n \"NodeCount\": 2,\n \"NodesInfo\": [\n {\n \"NodeId\": \"60af5538060f\",\n \"Role\": \"master\"\n },\n {\n \"NodeId\": \"12c58811dbfd\",\n \"Role\": \"slave\"\n }\n ],\n \"PayMode\": \"postpaid\",\n \"PeriodEndTime\": \"0001-01-01 00:00:00\",\n \"Pid\": 1002231,\n \"ProjectId\": 0,\n \"Qps\": 2100,\n \"Region\": \"ap-guangzhou\",\n \"ReplicaConfig\": null,\n \"ReplicaStatus\": null,\n \"RequestId\": \"40b4a902-5217-4e18-8db1-10e0ff01be62\",\n \"ResourceTags\": [],\n \"RsAccessStrategy\": 0,\n \"SlaveZones\": [\n \"ap-guangzhou-3\"\n ],\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 10,\n \"StorageUsage\": \"0.010\",\n \"SubnetId\": \"subnet-8ve8m3xy\",\n \"TdsqlVersion\": \"基于MySQL 8.0.24设计(兼容Mysql 8.0)\",\n \"Vip\": \"10.1.0.13\",\n \"Vip6\": \"\",\n \"VpcId\": \"vpc-0rjtvrlz\",\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ReservedNetResources\": [\n {\n \"VpcId\": \"vpc-5rske1or\",\n \"SubnetId\": \"subnet-0z3os0xe\",\n \"Vip\": \"10.1.0.6\",\n \"Vports\": [\n 3306\n ],\n \"RecycleTime\": \"2023-05-19 16:12:32\"\n }\n ],\n \"IsPhysicalReplicationSupported\": true,\n \"IsDcnStrongSyncSupported\": 1,\n \"IsDcnSwitchSupported\": 1\n }\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"AutoRenewFlag\": 0,\n \"Cpu\": 1,\n \"CreateTime\": \"2023-02-27 17:58:50\",\n \"DbEngine\": \"MySQL\",\n \"DbVersion\": \"8.0.24\",\n \"DbVersionId\": \"8.0\",\n \"DcnDstNum\": 1,\n \"DcnFlag\": 1,\n \"DcnStatus\": 2,\n \"EncryptStatus\": 0,\n \"ExclusterId\": \"\",\n \"ExclusterType\": 0,\n \"InstanceId\": \"tdsql-h178kq75\",\n \"InstanceName\": \"cdz\",\n \"InstanceType\": 2,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": true,\n \"IsEncryptSupported\": 0,\n \"IsMaxUserConnectionsSupported\": true,\n \"IsTmp\": 0,\n \"LogStorage\": 8,\n \"Machine\": \"TS85\",\n \"MasterZone\": \"ap-guangzhou-3\",\n \"Memory\": 2,\n \"NodeCount\": 2,\n \"NodesInfo\": [\n {\n \"NodeId\": \"60af5538060f\",\n \"Role\": \"master\"\n },\n {\n \"NodeId\": \"12c58811dbfd\",\n \"Role\": \"slave\"\n }\n ],\n \"PayMode\": \"postpaid\",\n \"PeriodEndTime\": \"0001-01-01 00:00:00\",\n \"Pid\": 1002231,\n \"ProjectId\": 0,\n \"Qps\": 2100,\n \"Region\": \"ap-guangzhou\",\n \"ReplicaConfig\": null,\n \"ReplicaStatus\": null,\n \"RequestId\": \"40b4a902-5217-4e18-8db1-10e0ff01be62\",\n \"ResourceTags\": [],\n \"RsAccessStrategy\": 0,\n \"SlaveZones\": [\n \"ap-guangzhou-3\"\n ],\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 10,\n \"StorageUsage\": \"0.010\",\n \"SubnetId\": \"subnet-8ve8m3xy\",\n \"TdsqlVersion\": \"基于MySQL 8.0.24设计(兼容Mysql 8.0)\",\n \"Vip\": \"10.1.0.13\",\n \"Vip6\": \"\",\n \"VpcId\": \"vpc-0rjtvrlz\",\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ReservedNetResources\": [\n {\n \"VpcId\": \"vpc-5rske1or\",\n \"SubnetId\": \"subnet-0z3os0xe\",\n \"Vip\": \"10.1.0.6\",\n \"Vports\": [\n 3306\n ],\n \"RecycleTime\": \"2023-05-19 16:12:32\"\n }\n ],\n \"IsPhysicalReplicationSupported\": true,\n \"IsDcnStrongSyncSupported\": 1,\n \"IsDcnSwitchSupported\": 1,\n \"ProxyVersion\": \"proxy-22.1.7\"\n }\n}",
|
144
144
|
"title": "查询实例详细信息"
|
145
145
|
}
|
146
146
|
],
|
@@ -156,7 +156,7 @@
|
|
156
156
|
{
|
157
157
|
"document": "",
|
158
158
|
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDBInstances\n&InstanceIds.0=tdsql-dj77jd0p\n&<公共请求参数>",
|
159
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AppId\": 251000022,\n \"AutoRenewFlag\": 1,\n \"Cpu\": 1,\n \"CreateTime\": \"2021-03-26 15:28:23\",\n \"DbEngine\": \"Percona\",\n \"DbVersion\": \"5.7.17\",\n \"DcnDstNum\": 0,\n \"DcnFlag\": 0,\n \"DcnStatus\": 0,\n \"ExclusterId\": \"\",\n \"Id\": 2000090,\n \"InstanceId\": \"tdsql-dj77jd0p\",\n \"InstanceName\": \"tdsql-dj77jd0p\",\n \"InstanceType\": 2,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": 1,\n \"IsEncryptSupported\": 1,\n \"IsTmp\": 0,\n \"Locker\": 0,\n \"Machine\": \"TS85\",\n \"Memory\": 2,\n \"NodeCount\": 2,\n \"OriginSerialId\": \"set_1616743781_36017514\",\n \"Paymode\": \"prepaid\",\n \"PeriodEndTime\": \"2021-04-26 15:28:23\",\n \"Pid\": 1002231,\n \"ProjectId\": 0,\n \"Qps\": 2100,\n \"Region\": \"ap-guangzhou\",\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 10,\n \"SubnetId\": 1479311,\n \"TdsqlVersion\": \"基于Percona 5.7.17设计(兼容Mysql 5.7)\",\n \"Uin\": \"918700682\",\n \"UniqueSubnetId\": \"subnet-au6ics6s\",\n \"UniqueVpcId\": \"vpc-737mtr2f\",\n \"UpdateTime\": \"2021-03-29 17:20:05\",\n \"Vip\": \"10.1.0.10\",\n \"Vipv6\": \"\",\n \"VpcId\": 74809,\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-1\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"
|
159
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"AppId\": 251000022,\n \"AutoRenewFlag\": 1,\n \"Cpu\": 1,\n \"CreateTime\": \"2021-03-26 15:28:23\",\n \"DbEngine\": \"Percona\",\n \"DbVersion\": \"5.7.17\",\n \"DcnDstNum\": 0,\n \"DcnFlag\": 0,\n \"DcnStatus\": 0,\n \"ExclusterId\": \"\",\n \"Id\": 2000090,\n \"InstanceId\": \"tdsql-dj77jd0p\",\n \"InstanceName\": \"tdsql-dj77jd0p\",\n \"InstanceType\": 2,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": 1,\n \"IsEncryptSupported\": 1,\n \"IsTmp\": 0,\n \"Locker\": 0,\n \"Machine\": \"TS85\",\n \"Memory\": 2,\n \"NodeCount\": 2,\n \"OriginSerialId\": \"set_1616743781_36017514\",\n \"Paymode\": \"prepaid\",\n \"PeriodEndTime\": \"2021-04-26 15:28:23\",\n \"Pid\": 1002231,\n \"ProjectId\": 0,\n \"Qps\": 2100,\n \"Region\": \"ap-guangzhou\",\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 10,\n \"SubnetId\": 1479311,\n \"TdsqlVersion\": \"基于Percona 5.7.17设计(兼容Mysql 5.7)\",\n \"Uin\": \"918700682\",\n \"UniqueSubnetId\": \"subnet-au6ics6s\",\n \"UniqueVpcId\": \"vpc-737mtr2f\",\n \"UpdateTime\": \"2021-03-29 17:20:05\",\n \"Vip\": \"10.1.0.10\",\n \"Vipv6\": \"\",\n \"VpcId\": 74809,\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-1\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"name\",\n \"TagValue\": \"liu\"\n }\n ],\n \"DbVersionId\": \"8.0\"\n }\n ],\n \"RequestId\": \"66c4d0c5-bdef-45bd-aa5b-05642802d034\",\n \"TotalCount\": 1\n }\n}",
|
160
160
|
"title": "根据实例ID查询实例列表"
|
161
161
|
}
|
162
162
|
],
|