tccli 3.0.1220.1__py2.py3-none-any.whl → 3.0.1221.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -602,6 +602,13 @@
602
602
  "output": "RetryReleaseResponse",
603
603
  "status": "online"
604
604
  },
605
+ "RunReRank": {
606
+ "document": "重排序",
607
+ "input": "RunReRankRequest",
608
+ "name": "重排序",
609
+ "output": "RunReRankResponse",
610
+ "status": "online"
611
+ },
605
612
  "SaveDoc": {
606
613
  "document": "保存文档",
607
614
  "input": "SaveDocRequest",
@@ -10500,6 +10507,30 @@
10500
10507
  ],
10501
10508
  "type": "object"
10502
10509
  },
10510
+ "ReRankDataObject": {
10511
+ "document": "重排数据, 计算2段内容的关联性",
10512
+ "members": [
10513
+ {
10514
+ "disabled": false,
10515
+ "document": "第一段内容",
10516
+ "example": "hello",
10517
+ "member": "string",
10518
+ "name": "PromptA",
10519
+ "required": true,
10520
+ "type": "string"
10521
+ },
10522
+ {
10523
+ "disabled": false,
10524
+ "document": "第二段内容",
10525
+ "example": "world",
10526
+ "member": "string",
10527
+ "name": "PromptB",
10528
+ "required": true,
10529
+ "type": "string"
10530
+ }
10531
+ ],
10532
+ "usage": "in"
10533
+ },
10503
10534
  "ReconstructDocumentConfig": {
10504
10535
  "document": "ReconstructDocument配置选项",
10505
10536
  "members": [
@@ -11394,6 +11425,89 @@
11394
11425
  ],
11395
11426
  "usage": "both"
11396
11427
  },
11428
+ "RunReRankRequest": {
11429
+ "document": "RunReRank请求参数结构体",
11430
+ "members": [
11431
+ {
11432
+ "disabled": false,
11433
+ "document": "模型名称, 必填,默认: lke-reranker-base",
11434
+ "example": "lke-reranker-base",
11435
+ "member": "string",
11436
+ "name": "Query",
11437
+ "required": false,
11438
+ "type": "string"
11439
+ },
11440
+ {
11441
+ "disabled": false,
11442
+ "document": "文档列表,必填,最多20个",
11443
+ "example": "[\"腾讯知识引擎\",\"知识引擎大模型\"]",
11444
+ "member": "string",
11445
+ "name": "Docs",
11446
+ "required": false,
11447
+ "type": "list"
11448
+ },
11449
+ {
11450
+ "disabled": false,
11451
+ "document": "模型名称, 非必填,默认: lke-reranker-base",
11452
+ "example": "lke-reranker-base",
11453
+ "member": "string",
11454
+ "name": "Model",
11455
+ "required": false,
11456
+ "type": "string"
11457
+ },
11458
+ {
11459
+ "disabled": true,
11460
+ "document": "需要计算关联性的2段内容",
11461
+ "example": "[{\"PromptA\":\"hello\",\"PromptB\":\"world\"},{\"PromptA\":\"hello\",\"PromptB\":\"世界\"}]",
11462
+ "member": "ReRankDataObject",
11463
+ "name": "DataList",
11464
+ "required": false,
11465
+ "type": "list"
11466
+ },
11467
+ {
11468
+ "disabled": true,
11469
+ "document": "是否在线, 后台异步任务使用离线, 实时任务使用在线, 默认值: false",
11470
+ "example": "false",
11471
+ "member": "bool",
11472
+ "name": "Online",
11473
+ "required": false,
11474
+ "type": "bool"
11475
+ }
11476
+ ],
11477
+ "type": "object"
11478
+ },
11479
+ "RunReRankResponse": {
11480
+ "document": "RunReRank返回参数结构体",
11481
+ "members": [
11482
+ {
11483
+ "disabled": false,
11484
+ "document": "相关性, 数值越大越相关",
11485
+ "example": "[-19.681953, -19.414124]",
11486
+ "member": "float",
11487
+ "name": "ScoreList",
11488
+ "output_required": true,
11489
+ "type": "list",
11490
+ "value_allowed_null": false
11491
+ },
11492
+ {
11493
+ "disabled": false,
11494
+ "document": "消耗量,仅返回TotalToken",
11495
+ "example": "{\"TotalTokens\":3}",
11496
+ "member": "Usage",
11497
+ "name": "Usage",
11498
+ "output_required": false,
11499
+ "type": "object",
11500
+ "value_allowed_null": false
11501
+ },
11502
+ {
11503
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11504
+ "member": "string",
11505
+ "name": "RequestId",
11506
+ "type": "string"
11507
+ }
11508
+ ],
11509
+ "type": "object"
11510
+ },
11397
11511
  "SaveDocRequest": {
11398
11512
  "document": "SaveDoc请求参数结构体",
11399
11513
  "members": [
@@ -700,6 +700,14 @@
700
700
  "title": "发布重试"
701
701
  }
702
702
  ],
703
+ "RunReRank": [
704
+ {
705
+ "document": "重排",
706
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunReRank\n<公共请求参数>\n\n{\n \"Query\": \"知识引擎大模型\",\n \"Docs\": [\n \"混元大模型\",\n \"腾讯知识引擎\"\n ]\n}",
707
+ "output": "{\n \"Response\": {\n \"RequestId\": \"766383fd-5219-4d13-aa1a-7ae00766640c\",\n \"ScoreList\": [\n -9.006162,\n 2.8577538\n ],\n \"Usage\": {\n \"TotalTokens\": 27\n }\n }\n}",
708
+ "title": "重排"
709
+ }
710
+ ],
703
711
  "SaveDoc": [
704
712
  {
705
713
  "document": "",
@@ -14560,6 +14560,16 @@
14560
14560
  "type": "list",
14561
14561
  "value_allowed_null": false
14562
14562
  },
14563
+ {
14564
+ "disabled": false,
14565
+ "document": "字段置信度:\n{\n \"ID\": {\n \"Confidence\": 0.9999\n },\n \"ThaiName\": {\n \"Confidence\": 0.9996\n }\n}",
14566
+ "example": "{\"ID\":{\"Confidence\":\"0.9500\"},\"ThaiName\":{\"Confidence\":\"0.9500\"}}",
14567
+ "member": "string",
14568
+ "name": "AdvancedInfo",
14569
+ "output_required": false,
14570
+ "type": "string",
14571
+ "value_allowed_null": false
14572
+ },
14563
14573
  {
14564
14574
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
14565
14575
  "member": "string",
@@ -711,7 +711,7 @@
711
711
  {
712
712
  "disabled": false,
713
713
  "document": "地域",
714
- "example": "*",
714
+ "example": "[\"*\"]",
715
715
  "member": "string",
716
716
  "name": "Region",
717
717
  "output_required": true,
@@ -837,7 +837,7 @@
837
837
  {
838
838
  "disabled": false,
839
839
  "document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
840
- "example": "*",
840
+ "example": "[\"*\"]",
841
841
  "member": "string",
842
842
  "name": "Region",
843
843
  "output_required": true,
@@ -246,7 +246,7 @@
246
246
  },
247
247
  {
248
248
  "disabled": false,
249
- "document": "指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前仅支持公有镜像和特定自定义镜像。",
249
+ "document": "指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)",
250
250
  "example": "无",
251
251
  "member": "string",
252
252
  "name": "ImageId",
@@ -1066,7 +1066,7 @@
1066
1066
  },
1067
1067
  {
1068
1068
  "disabled": false,
1069
- "document": "指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818)",
1069
+ "document": "指定有效的[镜像](https://cloud.tencent.com/document/product/213/4940)ID,格式形如`img-xxx`。目前支持部分公有镜像和自定义镜像。公共镜像请参考[镜像限制](https://cloud.tencent.com/document/product/1527/64818#.E9.95.9C.E5.83.8F)",
1070
1070
  "example": "无",
1071
1071
  "member": "string",
1072
1072
  "name": "ImageId",
@@ -5226,7 +5226,7 @@
5226
5226
  },
5227
5227
  {
5228
5228
  "disabled": false,
5229
- "document": "房间内持续没有用户(主播)上行推流的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。",
5229
+ "document": "房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。",
5230
5230
  "example": "30",
5231
5231
  "member": "uint64",
5232
5232
  "name": "MaxIdleTime",