tccli 3.0.1264.1__py2.py3-none-any.whl → 3.0.1266.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bh/v20230418/api.json +490 -5
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/billing/v20180709/api.json +4 -2
- tccli/services/cbs/v20170312/api.json +12 -2
- tccli/services/cbs/v20170312/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +33 -11
- tccli/services/chdfs/v20201112/api.json +7 -7
- tccli/services/cls/v20201016/api.json +11 -2
- tccli/services/cvm/v20170312/api.json +13 -3
- tccli/services/ess/v20201111/api.json +19 -19
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/facefusion/v20220927/api.json +2 -2
- tccli/services/lcic/v20220817/api.json +30 -35
- tccli/services/lighthouse/v20200324/api.json +7 -7
- tccli/services/lkeap/v20240522/api.json +412 -9
- tccli/services/lkeap/v20240522/examples.json +19 -19
- tccli/services/mna/v20210119/api.json +21 -21
- tccli/services/mongodb/mongodb_client.py +53 -0
- tccli/services/mongodb/v20190725/api.json +70 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +84 -8
- tccli/services/mqtt/mqtt_client.py +658 -75
- tccli/services/mqtt/v20240516/api.json +1038 -54
- tccli/services/mqtt/v20240516/examples.json +88 -0
- tccli/services/ocr/v20181119/api.json +52 -22
- tccli/services/rum/v20210622/api.json +12 -12
- tccli/services/rum/v20210622/examples.json +6 -6
- tccli/services/ssl/ssl_client.py +122 -16
- tccli/services/ssl/v20191205/api.json +468 -22
- tccli/services/ssl/v20191205/examples.json +18 -2
- tccli/services/sts/v20180813/api.json +1 -1
- tccli/services/tcr/v20190924/api.json +2 -2
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/v20180525/api.json +18 -0
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/trro/v20220325/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +34 -35
- tccli/services/trtc/v20190722/examples.json +14 -14
- tccli/services/vms/v20200902/api.json +9 -9
- tccli/services/vms/v20200902/examples.json +5 -5
- tccli/services/vpc/v20170312/api.json +6 -6
- tccli/services/vpc/v20170312/examples.json +4 -4
- tccli/services/waf/v20180125/api.json +24 -2
- tccli/services/wedata/v20210820/api.json +107 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1264.1.dist-info → tccli-3.0.1266.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1264.1.dist-info → tccli-3.0.1266.1.dist-info}/RECORD +53 -53
- {tccli-3.0.1264.1.dist-info → tccli-3.0.1266.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1264.1.dist-info → tccli-3.0.1266.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1264.1.dist-info → tccli-3.0.1266.1.dist-info}/license_files/LICENSE +0 -0
@@ -494,6 +494,33 @@
|
|
494
494
|
"CreateAttributeLabelRequest": {
|
495
495
|
"document": "CreateAttributeLabel请求参数结构体",
|
496
496
|
"members": [
|
497
|
+
{
|
498
|
+
"disabled": false,
|
499
|
+
"document": "知识库ID",
|
500
|
+
"example": "4901991032",
|
501
|
+
"member": "string",
|
502
|
+
"name": "KnowledgeBaseId",
|
503
|
+
"required": true,
|
504
|
+
"type": "string"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"disabled": false,
|
508
|
+
"document": "属性标识,最大40个英文字符,如style",
|
509
|
+
"example": "style",
|
510
|
+
"member": "string",
|
511
|
+
"name": "AttributeKey",
|
512
|
+
"required": true,
|
513
|
+
"type": "string"
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"disabled": false,
|
517
|
+
"document": "属性名称,最大80个英文字符,如风格",
|
518
|
+
"example": "风格",
|
519
|
+
"member": "string",
|
520
|
+
"name": "AttributeName",
|
521
|
+
"required": true,
|
522
|
+
"type": "string"
|
523
|
+
},
|
497
524
|
{
|
498
525
|
"disabled": false,
|
499
526
|
"document": "属性标签信息",
|
@@ -548,6 +575,33 @@
|
|
548
575
|
"CreateQARequest": {
|
549
576
|
"document": "CreateQA请求参数结构体",
|
550
577
|
"members": [
|
578
|
+
{
|
579
|
+
"disabled": false,
|
580
|
+
"document": "知识库ID",
|
581
|
+
"example": "4901991032",
|
582
|
+
"member": "string",
|
583
|
+
"name": "KnowledgeBaseId",
|
584
|
+
"required": true,
|
585
|
+
"type": "string"
|
586
|
+
},
|
587
|
+
{
|
588
|
+
"disabled": false,
|
589
|
+
"document": "问题,最大1000个英文字符",
|
590
|
+
"example": "你是谁",
|
591
|
+
"member": "string",
|
592
|
+
"name": "Question",
|
593
|
+
"required": true,
|
594
|
+
"type": "string"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"disabled": false,
|
598
|
+
"document": "答案,最大4000个英文字符",
|
599
|
+
"example": "我是腾讯大模型知识引擎",
|
600
|
+
"member": "string",
|
601
|
+
"name": "Answer",
|
602
|
+
"required": true,
|
603
|
+
"type": "string"
|
604
|
+
},
|
551
605
|
{
|
552
606
|
"disabled": false,
|
553
607
|
"document": "属性标签",
|
@@ -563,6 +617,16 @@
|
|
563
617
|
"CreateQAResponse": {
|
564
618
|
"document": "CreateQA返回参数结构体",
|
565
619
|
"members": [
|
620
|
+
{
|
621
|
+
"disabled": false,
|
622
|
+
"document": "问答对ID",
|
623
|
+
"example": "1830996257459865536",
|
624
|
+
"member": "string",
|
625
|
+
"name": "QaId",
|
626
|
+
"output_required": true,
|
627
|
+
"type": "string",
|
628
|
+
"value_allowed_null": false
|
629
|
+
},
|
566
630
|
{
|
567
631
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
568
632
|
"member": "string",
|
@@ -813,7 +877,26 @@
|
|
813
877
|
},
|
814
878
|
"DeleteAttributeLabelsRequest": {
|
815
879
|
"document": "DeleteAttributeLabels请求参数结构体",
|
816
|
-
"members": [
|
880
|
+
"members": [
|
881
|
+
{
|
882
|
+
"disabled": false,
|
883
|
+
"document": "知识库ID",
|
884
|
+
"example": "4901991032",
|
885
|
+
"member": "string",
|
886
|
+
"name": "KnowledgeBaseId",
|
887
|
+
"required": true,
|
888
|
+
"type": "string"
|
889
|
+
},
|
890
|
+
{
|
891
|
+
"disabled": false,
|
892
|
+
"document": "属性ID",
|
893
|
+
"example": "[\"1830996257455365986\"]",
|
894
|
+
"member": "string",
|
895
|
+
"name": "AttributeIds",
|
896
|
+
"required": true,
|
897
|
+
"type": "list"
|
898
|
+
}
|
899
|
+
],
|
817
900
|
"type": "object"
|
818
901
|
},
|
819
902
|
"DeleteAttributeLabelsResponse": {
|
@@ -830,7 +913,26 @@
|
|
830
913
|
},
|
831
914
|
"DeleteDocsRequest": {
|
832
915
|
"document": "DeleteDocs请求参数结构体",
|
833
|
-
"members": [
|
916
|
+
"members": [
|
917
|
+
{
|
918
|
+
"disabled": false,
|
919
|
+
"document": "知识库ID",
|
920
|
+
"example": "4901991032",
|
921
|
+
"member": "string",
|
922
|
+
"name": "KnowledgeBaseId",
|
923
|
+
"required": true,
|
924
|
+
"type": "string"
|
925
|
+
},
|
926
|
+
{
|
927
|
+
"disabled": false,
|
928
|
+
"document": "文档ID列表。支持批量删除,数量不超过100",
|
929
|
+
"example": "[\"1830996256553674598\"]",
|
930
|
+
"member": "string",
|
931
|
+
"name": "DocIds",
|
932
|
+
"required": true,
|
933
|
+
"type": "list"
|
934
|
+
}
|
935
|
+
],
|
834
936
|
"type": "object"
|
835
937
|
},
|
836
938
|
"DeleteDocsResponse": {
|
@@ -874,7 +976,26 @@
|
|
874
976
|
},
|
875
977
|
"DeleteQAsRequest": {
|
876
978
|
"document": "DeleteQAs请求参数结构体",
|
877
|
-
"members": [
|
979
|
+
"members": [
|
980
|
+
{
|
981
|
+
"disabled": false,
|
982
|
+
"document": "知识库ID",
|
983
|
+
"example": "4901991032",
|
984
|
+
"member": "string",
|
985
|
+
"name": "KnowledgeBaseId",
|
986
|
+
"required": true,
|
987
|
+
"type": "string"
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"disabled": false,
|
991
|
+
"document": "问答对ID列表。支持批量删除,数量不超过100",
|
992
|
+
"example": "[\"1830996257459865536\"]",
|
993
|
+
"member": "string",
|
994
|
+
"name": "QaIds",
|
995
|
+
"required": true,
|
996
|
+
"type": "list"
|
997
|
+
}
|
998
|
+
],
|
878
999
|
"type": "object"
|
879
1000
|
},
|
880
1001
|
"DeleteQAsResponse": {
|
@@ -917,12 +1038,71 @@
|
|
917
1038
|
},
|
918
1039
|
"DescribeDocRequest": {
|
919
1040
|
"document": "DescribeDoc请求参数结构体",
|
920
|
-
"members": [
|
1041
|
+
"members": [
|
1042
|
+
{
|
1043
|
+
"disabled": false,
|
1044
|
+
"document": "知识库ID",
|
1045
|
+
"example": "4901991032",
|
1046
|
+
"member": "string",
|
1047
|
+
"name": "KnowledgeBaseId",
|
1048
|
+
"required": true,
|
1049
|
+
"type": "string"
|
1050
|
+
},
|
1051
|
+
{
|
1052
|
+
"disabled": false,
|
1053
|
+
"document": "文档ID",
|
1054
|
+
"example": "1830994598655366257",
|
1055
|
+
"member": "string",
|
1056
|
+
"name": "DocId",
|
1057
|
+
"required": true,
|
1058
|
+
"type": "string"
|
1059
|
+
}
|
1060
|
+
],
|
921
1061
|
"type": "object"
|
922
1062
|
},
|
923
1063
|
"DescribeDocResponse": {
|
924
1064
|
"document": "DescribeDoc返回参数结构体",
|
925
1065
|
"members": [
|
1066
|
+
{
|
1067
|
+
"disabled": false,
|
1068
|
+
"document": "文档ID",
|
1069
|
+
"example": "无",
|
1070
|
+
"member": "string",
|
1071
|
+
"name": "DocId",
|
1072
|
+
"output_required": true,
|
1073
|
+
"type": "string",
|
1074
|
+
"value_allowed_null": false
|
1075
|
+
},
|
1076
|
+
{
|
1077
|
+
"disabled": false,
|
1078
|
+
"document": "状态,\n\n- Uploading 上传中 \n- Auditing 审核中\n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败",
|
1079
|
+
"example": "无",
|
1080
|
+
"member": "string",
|
1081
|
+
"name": "Status",
|
1082
|
+
"output_required": true,
|
1083
|
+
"type": "string",
|
1084
|
+
"value_allowed_null": false
|
1085
|
+
},
|
1086
|
+
{
|
1087
|
+
"disabled": false,
|
1088
|
+
"document": "文件名",
|
1089
|
+
"example": "无",
|
1090
|
+
"member": "string",
|
1091
|
+
"name": "FileName",
|
1092
|
+
"output_required": true,
|
1093
|
+
"type": "string",
|
1094
|
+
"value_allowed_null": false
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"disabled": false,
|
1098
|
+
"document": "更新时间",
|
1099
|
+
"example": "无",
|
1100
|
+
"member": "string",
|
1101
|
+
"name": "UpdateTime",
|
1102
|
+
"output_required": false,
|
1103
|
+
"type": "string",
|
1104
|
+
"value_allowed_null": false
|
1105
|
+
},
|
926
1106
|
{
|
927
1107
|
"disabled": false,
|
928
1108
|
"document": "属性标签",
|
@@ -958,7 +1138,7 @@
|
|
958
1138
|
},
|
959
1139
|
{
|
960
1140
|
"disabled": false,
|
961
|
-
"document": " 状态,\n- Uploading 上传中 \n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败\n注意:此字段可能返回 null,表示取不到有效值。",
|
1141
|
+
"document": " 状态,\n- Uploading 上传中 \n- Auditing 审核中\n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败\n注意:此字段可能返回 null,表示取不到有效值。",
|
962
1142
|
"example": "无",
|
963
1143
|
"member": "string",
|
964
1144
|
"name": "Status",
|
@@ -1238,7 +1418,44 @@
|
|
1238
1418
|
},
|
1239
1419
|
"ImportQAsRequest": {
|
1240
1420
|
"document": "ImportQAs请求参数结构体",
|
1241
|
-
"members": [
|
1421
|
+
"members": [
|
1422
|
+
{
|
1423
|
+
"disabled": false,
|
1424
|
+
"document": "知识库ID",
|
1425
|
+
"example": "4901991032",
|
1426
|
+
"member": "string",
|
1427
|
+
"name": "KnowledgeBaseId",
|
1428
|
+
"required": true,
|
1429
|
+
"type": "string"
|
1430
|
+
},
|
1431
|
+
{
|
1432
|
+
"disabled": false,
|
1433
|
+
"document": "文件名",
|
1434
|
+
"example": "qa_import.xlsx",
|
1435
|
+
"member": "string",
|
1436
|
+
"name": "FileName",
|
1437
|
+
"required": true,
|
1438
|
+
"type": "string"
|
1439
|
+
},
|
1440
|
+
{
|
1441
|
+
"disabled": false,
|
1442
|
+
"document": "文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。\n导入模板:https://cdn.xiaowei.qq.com/lke/assets//static/批量导入问答模板v6.xlsx",
|
1443
|
+
"example": "https://xxx.cos.ap-shanghai.myqcloud.com/file/qa_import.xlsx",
|
1444
|
+
"member": "string",
|
1445
|
+
"name": "FileUrl",
|
1446
|
+
"required": true,
|
1447
|
+
"type": "string"
|
1448
|
+
},
|
1449
|
+
{
|
1450
|
+
"disabled": false,
|
1451
|
+
"document": "文件类型,仅支持XLSX格式,请使用模板",
|
1452
|
+
"example": "XLSX",
|
1453
|
+
"member": "string",
|
1454
|
+
"name": "FileType",
|
1455
|
+
"required": false,
|
1456
|
+
"type": "string"
|
1457
|
+
}
|
1458
|
+
],
|
1242
1459
|
"type": "object"
|
1243
1460
|
},
|
1244
1461
|
"ImportQAsResponse": {
|
@@ -1279,12 +1496,50 @@
|
|
1279
1496
|
},
|
1280
1497
|
"ListAttributeLabelsRequest": {
|
1281
1498
|
"document": "ListAttributeLabels请求参数结构体",
|
1282
|
-
"members": [
|
1499
|
+
"members": [
|
1500
|
+
{
|
1501
|
+
"disabled": false,
|
1502
|
+
"document": "知识库ID",
|
1503
|
+
"example": "4901991032",
|
1504
|
+
"member": "string",
|
1505
|
+
"name": "KnowledgeBaseId",
|
1506
|
+
"required": true,
|
1507
|
+
"type": "string"
|
1508
|
+
},
|
1509
|
+
{
|
1510
|
+
"disabled": false,
|
1511
|
+
"document": "页码,默认1",
|
1512
|
+
"example": "1",
|
1513
|
+
"member": "int64",
|
1514
|
+
"name": "PageNumber",
|
1515
|
+
"required": false,
|
1516
|
+
"type": "int"
|
1517
|
+
},
|
1518
|
+
{
|
1519
|
+
"disabled": false,
|
1520
|
+
"document": "每页数目,最大50,默认20",
|
1521
|
+
"example": "50",
|
1522
|
+
"member": "int64",
|
1523
|
+
"name": "PageSize",
|
1524
|
+
"required": false,
|
1525
|
+
"type": "int"
|
1526
|
+
}
|
1527
|
+
],
|
1283
1528
|
"type": "object"
|
1284
1529
|
},
|
1285
1530
|
"ListAttributeLabelsResponse": {
|
1286
1531
|
"document": "ListAttributeLabels返回参数结构体",
|
1287
1532
|
"members": [
|
1533
|
+
{
|
1534
|
+
"disabled": false,
|
1535
|
+
"document": "属性总数",
|
1536
|
+
"example": "10",
|
1537
|
+
"member": "int64",
|
1538
|
+
"name": "TotalCount",
|
1539
|
+
"output_required": false,
|
1540
|
+
"type": "int",
|
1541
|
+
"value_allowed_null": false
|
1542
|
+
},
|
1288
1543
|
{
|
1289
1544
|
"disabled": false,
|
1290
1545
|
"document": "属性标签列表",
|
@@ -1306,12 +1561,50 @@
|
|
1306
1561
|
},
|
1307
1562
|
"ListDocsRequest": {
|
1308
1563
|
"document": "ListDocs请求参数结构体",
|
1309
|
-
"members": [
|
1564
|
+
"members": [
|
1565
|
+
{
|
1566
|
+
"disabled": false,
|
1567
|
+
"document": "知识库ID",
|
1568
|
+
"example": "4901991032",
|
1569
|
+
"member": "string",
|
1570
|
+
"name": "KnowledgeBaseId",
|
1571
|
+
"required": true,
|
1572
|
+
"type": "string"
|
1573
|
+
},
|
1574
|
+
{
|
1575
|
+
"disabled": false,
|
1576
|
+
"document": "页码,默认1",
|
1577
|
+
"example": "1",
|
1578
|
+
"member": "int64",
|
1579
|
+
"name": "PageNumber",
|
1580
|
+
"required": false,
|
1581
|
+
"type": "int"
|
1582
|
+
},
|
1583
|
+
{
|
1584
|
+
"disabled": false,
|
1585
|
+
"document": "每页数目,最大50,默认20",
|
1586
|
+
"example": "50",
|
1587
|
+
"member": "int64",
|
1588
|
+
"name": "PageSize",
|
1589
|
+
"required": false,
|
1590
|
+
"type": "int"
|
1591
|
+
}
|
1592
|
+
],
|
1310
1593
|
"type": "object"
|
1311
1594
|
},
|
1312
1595
|
"ListDocsResponse": {
|
1313
1596
|
"document": "ListDocs返回参数结构体",
|
1314
1597
|
"members": [
|
1598
|
+
{
|
1599
|
+
"disabled": false,
|
1600
|
+
"document": "文档总数",
|
1601
|
+
"example": "10",
|
1602
|
+
"member": "int64",
|
1603
|
+
"name": "TotalCount",
|
1604
|
+
"output_required": false,
|
1605
|
+
"type": "int",
|
1606
|
+
"value_allowed_null": false
|
1607
|
+
},
|
1315
1608
|
{
|
1316
1609
|
"disabled": false,
|
1317
1610
|
"document": "文档信息",
|
@@ -1333,12 +1626,50 @@
|
|
1333
1626
|
},
|
1334
1627
|
"ListQAsRequest": {
|
1335
1628
|
"document": "ListQAs请求参数结构体",
|
1336
|
-
"members": [
|
1629
|
+
"members": [
|
1630
|
+
{
|
1631
|
+
"disabled": false,
|
1632
|
+
"document": "知识库ID",
|
1633
|
+
"example": "4901991032",
|
1634
|
+
"member": "string",
|
1635
|
+
"name": "KnowledgeBaseId",
|
1636
|
+
"required": true,
|
1637
|
+
"type": "string"
|
1638
|
+
},
|
1639
|
+
{
|
1640
|
+
"disabled": false,
|
1641
|
+
"document": "页码,默认1",
|
1642
|
+
"example": "1",
|
1643
|
+
"member": "int64",
|
1644
|
+
"name": "PageNumber",
|
1645
|
+
"required": false,
|
1646
|
+
"type": "int"
|
1647
|
+
},
|
1648
|
+
{
|
1649
|
+
"disabled": false,
|
1650
|
+
"document": "每页数目,最大50,默认20",
|
1651
|
+
"example": "50",
|
1652
|
+
"member": "int64",
|
1653
|
+
"name": "PageSize",
|
1654
|
+
"required": false,
|
1655
|
+
"type": "int"
|
1656
|
+
}
|
1657
|
+
],
|
1337
1658
|
"type": "object"
|
1338
1659
|
},
|
1339
1660
|
"ListQAsResponse": {
|
1340
1661
|
"document": "ListQAs返回参数结构体",
|
1341
1662
|
"members": [
|
1663
|
+
{
|
1664
|
+
"disabled": false,
|
1665
|
+
"document": "问答对总数量",
|
1666
|
+
"example": "10",
|
1667
|
+
"member": "int64",
|
1668
|
+
"name": "TotalCount",
|
1669
|
+
"output_required": false,
|
1670
|
+
"type": "int",
|
1671
|
+
"value_allowed_null": false
|
1672
|
+
},
|
1342
1673
|
{
|
1343
1674
|
"disabled": false,
|
1344
1675
|
"document": "问答对信息",
|
@@ -1400,6 +1731,42 @@
|
|
1400
1731
|
"ModifyAttributeLabelRequest": {
|
1401
1732
|
"document": "ModifyAttributeLabel请求参数结构体",
|
1402
1733
|
"members": [
|
1734
|
+
{
|
1735
|
+
"disabled": false,
|
1736
|
+
"document": "知识库ID",
|
1737
|
+
"example": "4901991032",
|
1738
|
+
"member": "string",
|
1739
|
+
"name": "KnowledgeBaseId",
|
1740
|
+
"required": true,
|
1741
|
+
"type": "string"
|
1742
|
+
},
|
1743
|
+
{
|
1744
|
+
"disabled": false,
|
1745
|
+
"document": "属性ID",
|
1746
|
+
"example": "1830996257459865531",
|
1747
|
+
"member": "string",
|
1748
|
+
"name": "AttributeId",
|
1749
|
+
"required": true,
|
1750
|
+
"type": "string"
|
1751
|
+
},
|
1752
|
+
{
|
1753
|
+
"disabled": false,
|
1754
|
+
"document": "属性标识,最大40个英文字符,如style",
|
1755
|
+
"example": "stlye",
|
1756
|
+
"member": "string",
|
1757
|
+
"name": "AttributeKey",
|
1758
|
+
"required": true,
|
1759
|
+
"type": "string"
|
1760
|
+
},
|
1761
|
+
{
|
1762
|
+
"disabled": false,
|
1763
|
+
"document": "属性名称,最大80个英文字符,如风格",
|
1764
|
+
"example": "风格",
|
1765
|
+
"member": "string",
|
1766
|
+
"name": "AttributeName",
|
1767
|
+
"required": true,
|
1768
|
+
"type": "string"
|
1769
|
+
},
|
1403
1770
|
{
|
1404
1771
|
"disabled": false,
|
1405
1772
|
"document": "属性标签",
|
@@ -1427,6 +1794,42 @@
|
|
1427
1794
|
"ModifyQARequest": {
|
1428
1795
|
"document": "ModifyQA请求参数结构体",
|
1429
1796
|
"members": [
|
1797
|
+
{
|
1798
|
+
"disabled": false,
|
1799
|
+
"document": "知识库ID",
|
1800
|
+
"example": "4901991032",
|
1801
|
+
"member": "string",
|
1802
|
+
"name": "KnowledgeBaseId",
|
1803
|
+
"required": true,
|
1804
|
+
"type": "string"
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
"disabled": false,
|
1808
|
+
"document": "问答对ID",
|
1809
|
+
"example": "1830995120618932160",
|
1810
|
+
"member": "string",
|
1811
|
+
"name": "QaId",
|
1812
|
+
"required": true,
|
1813
|
+
"type": "string"
|
1814
|
+
},
|
1815
|
+
{
|
1816
|
+
"disabled": false,
|
1817
|
+
"document": "问题,最大1000个英文字符",
|
1818
|
+
"example": "你是谁",
|
1819
|
+
"member": "string",
|
1820
|
+
"name": "Question",
|
1821
|
+
"required": true,
|
1822
|
+
"type": "string"
|
1823
|
+
},
|
1824
|
+
{
|
1825
|
+
"disabled": false,
|
1826
|
+
"document": "答案,最大4000个英文字符",
|
1827
|
+
"example": "我是腾讯大模型知识引擎",
|
1828
|
+
"member": "string",
|
1829
|
+
"name": "Answer",
|
1830
|
+
"required": true,
|
1831
|
+
"type": "string"
|
1832
|
+
},
|
1430
1833
|
{
|
1431
1834
|
"disabled": false,
|
1432
1835
|
"document": "属性标签",
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"CreateAttributeLabel": [
|
18
18
|
{
|
19
19
|
"document": "添加属性标签",
|
20
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAttributeLabel\n<公共请求参数>\n\n{\n \"Labels\": [\n {\n \"LabelName\": \"现代\"\n },\n {\n \"LabelName\": \"流行\"\n }\n ]\n}",
|
20
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"AttributeKey\": \"style\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelName\": \"现代\"\n },\n {\n \"LabelName\": \"流行\"\n }\n ]\n}",
|
21
21
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3973e13a-926f-40a5-91d7-d61a56083314\"\n }\n}",
|
22
22
|
"title": "添加属性标签"
|
23
23
|
}
|
@@ -33,14 +33,14 @@
|
|
33
33
|
"CreateQA": [
|
34
34
|
{
|
35
35
|
"document": "创建问答对",
|
36
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
|
37
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca\"\n }\n}",
|
36
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
|
37
|
+
"output": "{\n \"Response\": {\n \"QaId\": \"1830995120618932160\",\n \"RequestId\": \"28c960e9-c3ba-4a6d-be28-0d5d0dcca5ca\"\n }\n}",
|
38
38
|
"title": "创建问答对"
|
39
39
|
},
|
40
40
|
{
|
41
41
|
"document": "创建无标签问答对",
|
42
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{}",
|
43
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a37897c3-acf5-420a-bc32-9a1da9348c13\"\n }\n}",
|
42
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\"\n}",
|
43
|
+
"output": "{\n \"Response\": {\n \"QaId\": \"1831158575324892608\",\n \"RequestId\": \"a37897c3-acf5-420a-bc32-9a1da9348c13\"\n }\n}",
|
44
44
|
"title": "创建无标签问答对"
|
45
45
|
}
|
46
46
|
],
|
@@ -63,7 +63,7 @@
|
|
63
63
|
"DeleteAttributeLabels": [
|
64
64
|
{
|
65
65
|
"document": "删除属性标签",
|
66
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAttributeLabel\n<公共请求参数>\n\n{}",
|
66
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"AttributeIds\": [\n \"1830996257455365986\"\n ]\n}",
|
67
67
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1966c811-59a6-4385-bd4f-4ce12bdaa21a\"\n }\n}",
|
68
68
|
"title": "删除属性标签"
|
69
69
|
}
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"DeleteDocs": [
|
72
72
|
{
|
73
73
|
"document": "删除文档",
|
74
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDoc\n<公共请求参数>\n\n{}",
|
74
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteDoc\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"DocIds\": [\n \"1830996257459865536\"\n ]\n}",
|
75
75
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f3d05737-0b05-45cd-aa6a-fe16213cfe01\"\n }\n}",
|
76
76
|
"title": "删除文档"
|
77
77
|
}
|
@@ -87,7 +87,7 @@
|
|
87
87
|
"DeleteQAs": [
|
88
88
|
{
|
89
89
|
"document": "删除qa",
|
90
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteQA\n<公共请求参数>\n\n{}",
|
90
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaIds\": [\n \"1830996257459865536\"\n ]\n}",
|
91
91
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6c081879-196a-4df0-87ac-07e73a00952e\"\n }\n}",
|
92
92
|
"title": "删除问答对"
|
93
93
|
}
|
@@ -95,8 +95,8 @@
|
|
95
95
|
"DescribeDoc": [
|
96
96
|
{
|
97
97
|
"document": "查询文档详情",
|
98
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDoc\n<公共请求参数>\n\n{}",
|
99
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"bf318516-67a7-41df-9460-e581b4ecedbd\"\n }\n}",
|
98
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDoc\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"DocId\": \"1830881178265519872\"\n}",
|
99
|
+
"output": "{\n \"Response\": {\n \"DocId\": \"1830881178265519872\",\n \"FileName\": \"product_manuals.docx\",\n \"RequestId\": \"bf318516-67a7-41df-9460-e581b4ecedbd\",\n \"Status\": \"Parsing\"\n }\n}",
|
100
100
|
"title": "查询文档详情"
|
101
101
|
}
|
102
102
|
],
|
@@ -127,7 +127,7 @@
|
|
127
127
|
"ImportQAs": [
|
128
128
|
{
|
129
129
|
"document": "批量导入问答对",
|
130
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportQAs\n<公共请求参数>\n\n{}",
|
130
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportQAs\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"FileName\": \"qa_import.xlsx\",\n \"FileUrl\": \"https://xxx.cos.ap-guangzhou.myqcloud.com/file/qa_import.xlsx\"\n}",
|
131
131
|
"output": "{\n \"Response\": {\n \"RequestId\": \"21305ff4-94c7-4113-9977-9b20427e0a2a\"\n }\n}",
|
132
132
|
"title": "批量导入问答对"
|
133
133
|
}
|
@@ -135,31 +135,31 @@
|
|
135
135
|
"ListAttributeLabels": [
|
136
136
|
{
|
137
137
|
"document": "获取标签列表",
|
138
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAttributeLabel\n<公共请求参数>\n\n{}",
|
139
|
-
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"AttributeKey\": \"stylee\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"流行\"\n },\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"现代\"\n }\n ]\n }\n ],\n \"RequestId\": \"c5821f64-064a-448c-9279-b40eff06f4ae\"\n }\n}",
|
138
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"PageNumber\": 1,\n \"PageSize\": 50\n}",
|
139
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"AttributeKey\": \"stylee\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"流行\"\n },\n {\n \"LabelId\": \"1830880287852529408\",\n \"LabelName\": \"现代\"\n }\n ]\n }\n ],\n \"RequestId\": \"c5821f64-064a-448c-9279-b40eff06f4ae\",\n \"TotalCount\": 1\n }\n}",
|
140
140
|
"title": "获取标签列表"
|
141
141
|
}
|
142
142
|
],
|
143
143
|
"ListDocs": [
|
144
144
|
{
|
145
145
|
"document": "获取文档列表",
|
146
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDocs\n<公共请求参数>\n\n{}",
|
147
|
-
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"DocId\": \"1830985874053466048\",\n \"FileName\": \"product_manuals.docx\",\n \"Status\": \"Success\"\n }\n ],\n \"RequestId\": \"292da1b4-1125-4423-b7cd-5cf3b14eb98d\"\n }\n}",
|
146
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDocs\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"PageNumber\": 1,\n \"PageSize\": 10\n}",
|
147
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"DocId\": \"1830985874053466048\",\n \"FileName\": \"product_manuals.docx\",\n \"Status\": \"Success\"\n }\n ],\n \"RequestId\": \"292da1b4-1125-4423-b7cd-5cf3b14eb98d\",\n \"TotalCount\": 1\n }\n}",
|
148
148
|
"title": "获取文档列表"
|
149
149
|
}
|
150
150
|
],
|
151
151
|
"ListQAs": [
|
152
152
|
{
|
153
153
|
"document": "查询已经上传的问答对列表",
|
154
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListQAs\n<公共请求参数>\n\n{}",
|
155
|
-
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"LabelIds\": [\n \"1830880287865112320\"\n ]\n }\n ],\n \"QaId\": \"1830882708456671000\",\n \"Question\": \"你是谁\"\n }\n ],\n \"RequestId\": \"5f95d7c7-c881-49d1-98fc-34f138d8ca54\"\n }\n}",
|
154
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListQAs\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"49019910127\",\n \"PageNumber\": 1,\n \"PageSize\": 10\n}",
|
155
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830880287852529408\",\n \"LabelIds\": [\n \"1830880287865112320\"\n ]\n }\n ],\n \"QaId\": \"1830882708456671000\",\n \"Question\": \"你是谁\"\n }\n ],\n \"RequestId\": \"5f95d7c7-c881-49d1-98fc-34f138d8ca54\",\n \"TotalCount\": 1\n }\n}",
|
156
156
|
"title": "获取问答对列表"
|
157
157
|
}
|
158
158
|
],
|
159
159
|
"ModifyAttributeLabel": [
|
160
160
|
{
|
161
161
|
"document": "修改属性标签",
|
162
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttributeLabel\n<公共请求参数>\n\n{\n \"Labels\": [\n {\n \"LabelId\": \"1830993312978765760\",\n \"LabelName\": \"主流\"\n },\n {\n \"LabelId\": \"1830993312978765761\",\n \"LabelName\": \"现代\"\n }\n ]\n}",
|
162
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAttributeLabel\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"AttributeId\": \"1830993312966182848\",\n \"AttributeKey\": \"style\",\n \"AttributeName\": \"风格\",\n \"Labels\": [\n {\n \"LabelId\": \"1830993312978765760\",\n \"LabelName\": \"主流\"\n },\n {\n \"LabelId\": \"1830993312978765761\",\n \"LabelName\": \"现代\"\n }\n ]\n}",
|
163
163
|
"output": "{\n \"Response\": {\n \"RequestId\": \"04ba0a85-161a-408a-9c80-029601af9775\"\n }\n}",
|
164
164
|
"title": "修改属性标签"
|
165
165
|
}
|
@@ -167,7 +167,7 @@
|
|
167
167
|
"ModifyQA": [
|
168
168
|
{
|
169
169
|
"document": "修改问答对",
|
170
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
|
170
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"KnowledgeBaseId\": \"4901991032\",\n \"QaId\": \"1830995120618932160\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是腾讯大模型知识引擎\",\n \"AttributeLabels\": [\n {\n \"AttributeId\": \"1830994685416869312\",\n \"LabelIds\": [\n \"1830994685429452224\"\n ]\n }\n ]\n}",
|
171
171
|
"output": "{\n \"Response\": {\n \"RequestId\": \"4f4843c1-8f3b-4a0b-ad7e-91b47f2b93c7\"\n }\n}",
|
172
172
|
"title": "修改问答对"
|
173
173
|
}
|