tccli 3.0.1090.1__py2.py3-none-any.whl → 3.0.1092.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/ccc/v20200210/UploadIvrAudio.md +16 -1
- tccli/examples/cdb/v20170320/CheckMigrateCluster.md +18 -0
- tccli/examples/cdb/v20170320/DescribeClusterInfo.md +59 -0
- tccli/examples/csip/v20221121/DescribeAssetViewVulRiskList.md +5 -302
- tccli/examples/domain/v20180808/BidPreDomains.md +21 -0
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +43 -0
- tccli/examples/domain/v20180808/DescribeReservedPreDomainInfo.md +31 -0
- tccli/examples/es/v20180416/UpdateInstance.md +27 -27
- tccli/examples/es/v20180416/UpdatePlugins.md +6 -6
- tccli/examples/ess/v20201111/CreateBatchOrganizationRegistrationTasks.md +146 -0
- tccli/examples/ess/v20201111/CreateOrganizationAuthUrl.md +18 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +28 -0
- tccli/examples/gs/v20191118/StartPublishStreamToCSS.md +20 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +69 -31
- tccli/examples/hunyuan/v20230901/ChatStd.md +40 -1
- tccli/examples/lke/v20231130/CheckAttributeLabelExist.md +24 -0
- tccli/examples/lke/v20231130/CheckAttributeLabelRefer.md +23 -0
- tccli/examples/lke/v20231130/CreateApp.md +24 -0
- tccli/examples/lke/v20231130/CreateAttributeLabel.md +24 -0
- tccli/examples/lke/v20231130/CreateCorp.md +24 -0
- tccli/examples/lke/v20231130/CreateQA.md +24 -0
- tccli/examples/lke/v20231130/CreateQACate.md +26 -0
- tccli/examples/lke/v20231130/CreateRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/CreateRelease.md +21 -0
- tccli/examples/lke/v20231130/DeleteApp.md +21 -0
- tccli/examples/lke/v20231130/DeleteAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/DeleteDoc.md +21 -0
- tccli/examples/lke/v20231130/DeleteQA.md +21 -0
- tccli/examples/lke/v20231130/DeleteQACate.md +21 -0
- tccli/examples/lke/v20231130/DeleteRejectedQuestion.md +21 -0
- tccli/examples/lke/v20231130/DescribeApp.md +29 -0
- tccli/examples/lke/v20231130/DescribeAttributeLabel.md +28 -0
- tccli/examples/lke/v20231130/DescribeCorp.md +21 -0
- tccli/examples/lke/v20231130/DescribeDoc.md +44 -0
- tccli/examples/lke/v20231130/DescribeQA.md +42 -0
- tccli/examples/lke/v20231130/DescribeRefer.md +35 -0
- tccli/examples/lke/v20231130/DescribeRelease.md +25 -0
- tccli/examples/lke/v20231130/DescribeReleaseInfo.md +24 -0
- tccli/examples/lke/v20231130/DescribeRobotBizIDByAppKey.md +21 -0
- tccli/examples/lke/v20231130/DescribeStorageCredential.md +32 -0
- tccli/examples/lke/v20231130/DescribeUnsatisfiedReplyContext.md +121 -0
- tccli/examples/lke/v20231130/ExportAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/ExportQAList.md +21 -0
- tccli/examples/lke/v20231130/ExportUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/GenerateQA.md +21 -0
- tccli/examples/lke/v20231130/GetAppKnowledgeCount.md +22 -0
- tccli/examples/lke/v20231130/GetAppSecret.md +24 -0
- tccli/examples/lke/v20231130/GetDocPreview.md +26 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +29 -0
- tccli/examples/lke/v20231130/GetMsgRecord.md +51 -0
- tccli/examples/lke/v20231130/GetTaskStatus.md +0 -0
- tccli/examples/lke/v20231130/GetWsToken.md +44 -0
- tccli/examples/lke/v20231130/GroupQA.md +44 -0
- tccli/examples/lke/v20231130/IgnoreUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/IsTransferIntent.md +22 -0
- tccli/examples/lke/v20231130/ListApp.md +36 -0
- tccli/examples/lke/v20231130/ListAppCategory.md +25 -0
- tccli/examples/lke/v20231130/ListAttributeLabel.md +33 -0
- tccli/examples/lke/v20231130/ListDoc.md +52 -0
- tccli/examples/lke/v20231130/ListModel.md +31 -0
- tccli/examples/lke/v20231130/ListQA.md +66 -0
- tccli/examples/lke/v20231130/ListQACate.md +41 -0
- tccli/examples/lke/v20231130/ListRejectedQuestion.md +52 -0
- tccli/examples/lke/v20231130/ListRejectedQuestionPreview.md +37 -0
- tccli/examples/lke/v20231130/ListRelease.md +36 -0
- tccli/examples/lke/v20231130/ListReleaseConfigPreview.md +129 -0
- tccli/examples/lke/v20231130/ListReleaseDocPreview.md +38 -0
- tccli/examples/lke/v20231130/ListReleaseQAPreview.md +107 -0
- tccli/examples/lke/v20231130/ListSelectDoc.md +27 -0
- tccli/examples/lke/v20231130/ListUnsatisfiedReply.md +24 -0
- tccli/examples/lke/v20231130/ModifyApp.md +25 -0
- tccli/examples/lke/v20231130/ModifyAttributeLabel.md +23 -0
- tccli/examples/lke/v20231130/ModifyDoc.md +25 -0
- tccli/examples/lke/v20231130/ModifyDocAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQA.md +24 -0
- tccli/examples/lke/v20231130/ModifyQAAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQACate.md +22 -0
- tccli/examples/lke/v20231130/ModifyRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/ParseDoc.md +25 -0
- tccli/examples/lke/v20231130/QueryParseDocResult.md +24 -0
- tccli/examples/lke/v20231130/QueryRewrite.md +25 -0
- tccli/examples/lke/v20231130/RateMsgRecord.md +22 -0
- tccli/examples/lke/v20231130/ResetSession.md +20 -0
- tccli/examples/lke/v20231130/RetryDocAudit.md +21 -0
- tccli/examples/lke/v20231130/RetryDocParse.md +21 -0
- tccli/examples/lke/v20231130/RetryRelease.md +21 -0
- tccli/examples/lke/v20231130/SaveDoc.md +34 -0
- tccli/examples/lke/v20231130/StopDocParse.md +21 -0
- tccli/examples/lke/v20231130/UploadAttributeLabel.md +27 -0
- tccli/examples/lke/v20231130/VerifyQA.md +27 -0
- tccli/examples/mna/v20210119/GetFlowPackages.md +3 -1
- tccli/examples/mna/v20210119/GetFlowStatistic.md +42 -0
- tccli/examples/ocr/v20181119/GeneralBasicOCR.md +0 -1
- tccli/examples/organization/v20210331/AddOrganizationNode.md +1 -1
- tccli/examples/organization/v20210331/BindOrganizationMemberAuthAccount.md +3 -3
- tccli/examples/organization/v20210331/CancelOrganizationMemberAuthAccount.md +3 -3
- tccli/examples/organization/v20210331/CheckAccountDelete.md +5 -5
- tccli/examples/organization/v20210331/CreateOrganizationMember.md +2 -2
- tccli/examples/organization/v20210331/CreateOrganizationMemberAuthIdentity.md +1 -1
- tccli/examples/organization/v20210331/CreateOrganizationMemberPolicy.md +5 -5
- tccli/examples/organization/v20210331/CreateOrganizationMembersPolicy.md +2 -2
- tccli/examples/organization/v20210331/DeleteOrganizationMembers.md +1 -1
- tccli/examples/organization/v20210331/DeleteOrganizationNodes.md +1 -1
- tccli/examples/organization/v20210331/DeleteShareUnitResources.md +1 -1
- tccli/examples/organization/v20210331/DescribeOrganizationMemberAuthAccounts.md +2 -2
- tccli/examples/organization/v20210331/DescribeOrganizationMemberPolicies.md +1 -1
- tccli/examples/organization/v20210331/MoveOrganizationNodeMembers.md +2 -2
- tccli/examples/organization/v20210331/QuitOrganization.md +1 -1
- tccli/examples/organization/v20210331/UpdateOrganizationMember.md +2 -2
- tccli/examples/organization/v20210331/UpdateOrganizationMemberEmailBind.md +3 -3
- tccli/examples/organization/v20210331/UpdateOrganizationNode.md +3 -2
- tccli/examples/sqlserver/v20180328/DescribeDBInstancesAttribute.md +7 -1
- tccli/examples/sqlserver/v20180328/DescribeRestoreTimeRange.md +23 -0
- tccli/examples/ssl/v20191205/DeployCertificateInstance.md +26 -1
- tccli/examples/tione/v20211111/CreateBatchTask.md +1 -0
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +7 -7
- tccli/services/antiddos/v20200309/api.json +10 -0
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/captcha/v20190722/api.json +75 -31
- tccli/services/ccc/v20200210/api.json +10 -0
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +255 -0
- tccli/services/cdb/v20170320/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +4 -4
- tccli/services/cfg/v20210820/api.json +30 -33
- tccli/services/ckafka/v20190819/api.json +29 -24
- tccli/services/csip/v20221121/api.json +17 -11
- tccli/services/csip/v20221121/examples.json +1 -1
- tccli/services/domain/domain_client.py +114 -8
- tccli/services/domain/v20180808/api.json +174 -1
- tccli/services/domain/v20180808/examples.json +22 -0
- tccli/services/dts/v20211206/api.json +22 -2
- tccli/services/es/v20180416/api.json +12 -12
- tccli/services/es/v20180416/examples.json +21 -21
- tccli/services/ess/ess_client.py +149 -43
- tccli/services/ess/v20201111/api.json +215 -5
- tccli/services/ess/v20201111/examples.json +34 -0
- tccli/services/essbasic/v20210526/api.json +15 -15
- tccli/services/faceid/v20180301/api.json +14 -5
- tccli/services/gs/gs_client.py +53 -0
- tccli/services/gs/v20191118/api.json +43 -0
- tccli/services/gs/v20191118/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +67 -21
- tccli/services/hunyuan/v20230901/examples.json +17 -5
- tccli/services/iai/v20180301/api.json +19 -19
- tccli/services/iss/v20230517/api.json +38 -0
- tccli/services/live/v20180801/api.json +12 -12
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +4117 -0
- tccli/services/lke/v20231130/api.json +9010 -0
- tccli/services/lke/v20231130/examples.json +617 -0
- tccli/services/mna/v20210119/api.json +249 -29
- tccli/services/mna/v20210119/examples.json +7 -1
- tccli/services/monitor/monitor_client.py +0 -53
- tccli/services/monitor/v20180724/api.json +30 -62
- tccli/services/monitor/v20180724/examples.json +0 -8
- tccli/services/ocr/v20181119/api.json +5 -0
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/organization/v20210331/api.json +128 -119
- tccli/services/organization/v20210331/examples.json +24 -24
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +18 -9
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/soe/v20180724/api.json +13 -13
- tccli/services/sqlserver/sqlserver_client.py +110 -57
- tccli/services/sqlserver/v20180328/api.json +109 -0
- tccli/services/sqlserver/v20180328/examples.json +9 -1
- tccli/services/ssl/v20191205/examples.json +7 -1
- tccli/services/tione/v20211111/api.json +61 -4
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +79 -10
- tccli/services/wedata/v20210820/api.json +295 -1437
- tccli/services/wedata/v20210820/examples.json +0 -88
- tccli/services/wedata/wedata_client.py +33 -616
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/RECORD +182 -95
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1090.1.dist-info → tccli-3.0.1092.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,36 @@
|
|
1
|
+
**Example 1: 发布列表**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListRelease --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 10
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"List": [
|
19
|
+
{
|
20
|
+
"Desc": "测试下发布哈哈哈哈哈哈哈哈",
|
21
|
+
"FailCount": 0,
|
22
|
+
"Operator": "stanwei",
|
23
|
+
"Reason": "",
|
24
|
+
"ReleaseBizId": "1730138654150348800",
|
25
|
+
"Status": 3,
|
26
|
+
"StatusDesc": "发布成功",
|
27
|
+
"SuccessCount": 6,
|
28
|
+
"UpdateTime": "1701332268"
|
29
|
+
}
|
30
|
+
],
|
31
|
+
"RequestId": "e28f31fe-72a3-459b-9abb-5042a0f35a1b",
|
32
|
+
"Total": "1"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,129 @@
|
|
1
|
+
**Example 1: 获取待发布的配置项**
|
2
|
+
|
3
|
+
获取待发布的配置项
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListReleaseConfigPreview --cli-unfold-argument \
|
9
|
+
--BotBizId 1747951478630252544 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 15
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"List": [
|
19
|
+
{
|
20
|
+
"Action": 2,
|
21
|
+
"ConfigItem": "应用名称",
|
22
|
+
"Content": "",
|
23
|
+
"LastValue": "",
|
24
|
+
"UpdateTime": "1709694760",
|
25
|
+
"Value": "上博"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"Action": 2,
|
29
|
+
"ConfigItem": "头像",
|
30
|
+
"Content": "应用图标变更",
|
31
|
+
"LastValue": "",
|
32
|
+
"UpdateTime": "1709694760",
|
33
|
+
"Value": "https://cdn.xiaowei.qq.com/lke/assets//static/avatar.png"
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"Action": 2,
|
37
|
+
"ConfigItem": "欢迎语",
|
38
|
+
"Content": "",
|
39
|
+
"LastValue": "",
|
40
|
+
"UpdateTime": "1709694760",
|
41
|
+
"Value": "您好,我是客服助手,我将为您提供友好、专业和高效的服务。"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"Action": 2,
|
45
|
+
"ConfigItem": "输出方式",
|
46
|
+
"Content": "",
|
47
|
+
"LastValue": "非流式输出",
|
48
|
+
"UpdateTime": "1709694760",
|
49
|
+
"Value": "流式输出"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"Action": 2,
|
53
|
+
"ConfigItem": "通用模型回复开关",
|
54
|
+
"Content": "",
|
55
|
+
"LastValue": "关闭",
|
56
|
+
"UpdateTime": "1709694760",
|
57
|
+
"Value": "开启"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"Action": 2,
|
61
|
+
"ConfigItem": "默认问题回复",
|
62
|
+
"Content": "",
|
63
|
+
"LastValue": "",
|
64
|
+
"UpdateTime": "1709694760",
|
65
|
+
"Value": "作为一个智能助手,针对您这个问题,我所提供的答案或建议可能会存在不准确的地方。建议您转到人工,由专业顾问为您提供服务。"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"Action": 2,
|
69
|
+
"ConfigItem": "问答最大召回数量",
|
70
|
+
"Content": "",
|
71
|
+
"LastValue": "0",
|
72
|
+
"UpdateTime": "1709694760",
|
73
|
+
"Value": "3"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"Action": 2,
|
77
|
+
"ConfigItem": "回复灵活度",
|
78
|
+
"Content": "",
|
79
|
+
"LastValue": "已采纳答案润色回复",
|
80
|
+
"UpdateTime": "1709694760",
|
81
|
+
"Value": "已采纳答案直接回复"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"Action": 2,
|
85
|
+
"ConfigItem": "知识来源问答配置",
|
86
|
+
"Content": "",
|
87
|
+
"LastValue": "关闭",
|
88
|
+
"UpdateTime": "1709694760",
|
89
|
+
"Value": "开启"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"Action": 2,
|
93
|
+
"ConfigItem": "知识来源任务流程配置",
|
94
|
+
"Content": "",
|
95
|
+
"LastValue": "关闭",
|
96
|
+
"UpdateTime": "1709694760",
|
97
|
+
"Value": "开启"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"Action": 2,
|
101
|
+
"ConfigItem": "文档最大召回数量",
|
102
|
+
"Content": "",
|
103
|
+
"LastValue": "0",
|
104
|
+
"UpdateTime": "1709694760",
|
105
|
+
"Value": "4"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"Action": 2,
|
109
|
+
"ConfigItem": "知识来源文档配置",
|
110
|
+
"Content": "",
|
111
|
+
"LastValue": "关闭",
|
112
|
+
"UpdateTime": "1709694760",
|
113
|
+
"Value": "开启"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"Action": 2,
|
117
|
+
"ConfigItem": "上下文指代轮次",
|
118
|
+
"Content": "",
|
119
|
+
"LastValue": "0",
|
120
|
+
"UpdateTime": "1709694760",
|
121
|
+
"Value": "1"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"RequestId": "ac6c9baf-890b-4b63-b1b3-409eb74b0e14",
|
125
|
+
"Total": "13"
|
126
|
+
}
|
127
|
+
}
|
128
|
+
```
|
129
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
**Example 1: 发布文档预览**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListReleaseDocPreview --cli-unfold-argument \
|
9
|
+
--BotBizId abc \
|
10
|
+
--Query abc \
|
11
|
+
--ReleaseBizId 1 \
|
12
|
+
--PageNumber 1 \
|
13
|
+
--PageSize 1 \
|
14
|
+
--StartTime 1701566219 \
|
15
|
+
--EndTime 1701766219 \
|
16
|
+
--Actions 1
|
17
|
+
```
|
18
|
+
|
19
|
+
Output:
|
20
|
+
```
|
21
|
+
{
|
22
|
+
"Response": {
|
23
|
+
"Total": "abc",
|
24
|
+
"List": [
|
25
|
+
{
|
26
|
+
"FileName": "abc",
|
27
|
+
"FileType": "abc",
|
28
|
+
"UpdateTime": "abc",
|
29
|
+
"Action": 1,
|
30
|
+
"ActionDesc": "abc",
|
31
|
+
"Message": "abc"
|
32
|
+
}
|
33
|
+
],
|
34
|
+
"RequestId": "abc"
|
35
|
+
}
|
36
|
+
}
|
37
|
+
```
|
38
|
+
|
@@ -0,0 +1,107 @@
|
|
1
|
+
**Example 1: 发布问答预览**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListReleaseQAPreview --cli-unfold-argument \
|
9
|
+
--BotBizId 1694921462777761792 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 10 \
|
12
|
+
--Query \
|
13
|
+
--ReleaseBizId 0 \
|
14
|
+
--StartTime 0 \
|
15
|
+
--EndTime 0
|
16
|
+
```
|
17
|
+
|
18
|
+
Output:
|
19
|
+
```
|
20
|
+
{
|
21
|
+
"Response": {
|
22
|
+
"List": [
|
23
|
+
{
|
24
|
+
"Action": 3,
|
25
|
+
"ActionDesc": "删除",
|
26
|
+
"FileName": "",
|
27
|
+
"FileType": "",
|
28
|
+
"Message": "",
|
29
|
+
"QaBizId": "161612",
|
30
|
+
"Question": "aaaa",
|
31
|
+
"ReleaseStatus": 0,
|
32
|
+
"Source": 3,
|
33
|
+
"SourceDesc": "手动录入",
|
34
|
+
"UpdateTime": "1701264450"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"Action": 3,
|
38
|
+
"ActionDesc": "删除",
|
39
|
+
"FileName": "",
|
40
|
+
"FileType": "",
|
41
|
+
"Message": "",
|
42
|
+
"QaBizId": "161738",
|
43
|
+
"Question": "问题1",
|
44
|
+
"ReleaseStatus": 0,
|
45
|
+
"Source": 2,
|
46
|
+
"SourceDesc": "批量导入",
|
47
|
+
"UpdateTime": "1701422596"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"Action": 3,
|
51
|
+
"ActionDesc": "删除",
|
52
|
+
"FileName": "",
|
53
|
+
"FileType": "",
|
54
|
+
"Message": "",
|
55
|
+
"QaBizId": "161739",
|
56
|
+
"Question": "问题2",
|
57
|
+
"ReleaseStatus": 0,
|
58
|
+
"Source": 2,
|
59
|
+
"SourceDesc": "批量导入",
|
60
|
+
"UpdateTime": "1701427533"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"Action": 3,
|
64
|
+
"ActionDesc": "删除",
|
65
|
+
"FileName": "",
|
66
|
+
"FileType": "",
|
67
|
+
"Message": "",
|
68
|
+
"QaBizId": "161740",
|
69
|
+
"Question": "qq",
|
70
|
+
"ReleaseStatus": 0,
|
71
|
+
"Source": 2,
|
72
|
+
"SourceDesc": "批量导入",
|
73
|
+
"UpdateTime": "1701670093"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"Action": 1,
|
77
|
+
"ActionDesc": "新增",
|
78
|
+
"FileName": "深圳市最低生活保障办法.docx",
|
79
|
+
"FileType": "docx",
|
80
|
+
"Message": "",
|
81
|
+
"QaBizId": "162463",
|
82
|
+
"Question": "深圳市最低生活保障办法何时开始施行?",
|
83
|
+
"ReleaseStatus": 0,
|
84
|
+
"Source": 1,
|
85
|
+
"SourceDesc": "深圳市最低生活保障办法.docx",
|
86
|
+
"UpdateTime": "1700550874"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"Action": 1,
|
90
|
+
"ActionDesc": "新增",
|
91
|
+
"FileName": "",
|
92
|
+
"FileType": "",
|
93
|
+
"Message": "",
|
94
|
+
"QaBizId": "1731558661913706496",
|
95
|
+
"Question": "a",
|
96
|
+
"ReleaseStatus": 0,
|
97
|
+
"Source": 3,
|
98
|
+
"SourceDesc": "手动录入",
|
99
|
+
"UpdateTime": "1701670760"
|
100
|
+
}
|
101
|
+
],
|
102
|
+
"RequestId": "0260ac98-913d-4aab-9276-8a045f627e4e",
|
103
|
+
"Total": "6"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
```
|
107
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 获取文档下拉列表**
|
2
|
+
|
3
|
+
获取文档下拉列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListSelectDoc --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--FileName 26
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"List": [
|
18
|
+
{
|
19
|
+
"Text": "26种病虫害防治方法.docx",
|
20
|
+
"Value": "630"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"RequestId": "0b598870-f2e7-4fcc-ada0-7cf99a8fbc8e"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 查询不满意回复列表**
|
2
|
+
|
3
|
+
查询不满意回复列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListUnsatisfiedReply --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 15
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"List": [],
|
19
|
+
"RequestId": "b60ba14e-982f-4d51-a3c0-6d17383f42dc",
|
20
|
+
"Total": "0"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 修改应用**
|
2
|
+
|
3
|
+
修改应用
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyApp --cli-unfold-argument \
|
9
|
+
--AppBizId 45454545464646 \
|
10
|
+
--AppType knowledge_qa \
|
11
|
+
--BaseConfig.Name 应用 \
|
12
|
+
--BaseConfig.Avatar 头像 \
|
13
|
+
--BaseConfig.Desc 应用描述
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"AppBizId": "198848848484848",
|
21
|
+
"RequestId": "dwec-adsdsdsd-sfsfdsfsf"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 修改知识标签**
|
2
|
+
|
3
|
+
修改知识标签
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyAttributeLabel --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--AttributeBizId 208 \
|
11
|
+
--AttrKey tb \
|
12
|
+
--AttrName 属性修改
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "73f925c5-e9c6-476c-ab2f-dc3de7088ed9"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 修改文档**
|
2
|
+
|
3
|
+
修改文档
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyDoc --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--DocBizId 1697208584570261504 \
|
11
|
+
--IsRefer True \
|
12
|
+
--AttrRange 1 \
|
13
|
+
--WebUrl \
|
14
|
+
--ReferUrlType 0
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "780fda73-174d-4f81-9dce-80038117fe87"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 批量修改文档的适用范围**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyDocAttrRange --cli-unfold-argument \
|
9
|
+
--BotBizId 1742501052613230592 \
|
10
|
+
--DocBizIds 1747174616331976704 \
|
11
|
+
--AttrLabels.0.AttributeBizId 1759039436899221504 \
|
12
|
+
--AttrLabels.0.Source 1 \
|
13
|
+
--AttrLabels.0.LabelBizIds 0 \
|
14
|
+
--AttrRange 2
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "e3338103-3165-49c0-b218-245be865cca5"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 修改问答**
|
2
|
+
|
3
|
+
修改问答
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyQA --cli-unfold-argument \
|
9
|
+
--BotBizId 1727231073371148288 \
|
10
|
+
--QaBizId 1728997020814671872 \
|
11
|
+
--Question q1 \
|
12
|
+
--Answer a \
|
13
|
+
--AttrRange 1
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"RequestId": "59f31ba4-688b-4765-91eb-b47d41895036"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 批量修改问答适用范围**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyQAAttrRange --cli-unfold-argument \
|
9
|
+
--BotBizId 1742501052613230592 \
|
10
|
+
--QaBizIds 1762058568200880128 \
|
11
|
+
--AttrLabels.0.AttributeBizId 1759039436899221504 \
|
12
|
+
--AttrLabels.0.Source 1 \
|
13
|
+
--AttrLabels.0.LabelBizIds 1759039436924387328 \
|
14
|
+
--AttrRange 2
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "9a81d98f-5fea-450f-8d8d-0ba8a985972f"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 修改问答分类**
|
2
|
+
|
3
|
+
修改问答分类
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyQACate --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--Name 1733038 \
|
11
|
+
--CateBizId 1733038348326273024
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "f28a91f9-11ec-451c-a09e-3c8552f6fd29"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 修改拒答问题**
|
2
|
+
|
3
|
+
修改拒答问题
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ModifyRejectedQuestion --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--Question 吃了什么122222222211111111111 \
|
11
|
+
--RejectedBizId 1732953678087585792
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "1acee7c3-21d2-4aa4-aa46-289928b4bbb0"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 文档解析**
|
2
|
+
|
3
|
+
文档解析
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ParseDoc --cli-unfold-argument \
|
9
|
+
--Name 微信城市服务CityID说明文档.docx \
|
10
|
+
--Url https://wximg.qq.com/cityservices/doc/res/cityservices_cityids.docx \
|
11
|
+
--TaskId D78iBBGi \
|
12
|
+
--Policy default \
|
13
|
+
--Operate split
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"RequestId": "8ea5a507-108f-4b05-add4-b07de8580590",
|
21
|
+
"TaskId": "D78iBBGi"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 查询文档解析结果**
|
2
|
+
|
3
|
+
查询文档解析结果
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke QueryParseDocResult --cli-unfold-argument \
|
9
|
+
--TaskId D78iBBGi
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Name": "D78iBBGi.zip",
|
17
|
+
"Reason": "",
|
18
|
+
"RequestId": "acd2b5f3-350f-4171-92be-e1c70f3e73d7",
|
19
|
+
"Status": "success",
|
20
|
+
"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*******************"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 多轮改写**
|
2
|
+
|
3
|
+
多轮改写
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke QueryRewrite --cli-unfold-argument \
|
9
|
+
--Question 国内哪里? \
|
10
|
+
--Messages.0.Role user \
|
11
|
+
--Messages.0.Content 你家在哪里 \
|
12
|
+
--Messages.1.Role assistant \
|
13
|
+
--Messages.1.Content 我家在国内
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"Content": "你家在国内哪里?",
|
21
|
+
"RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 点赞点踩消息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke RateMsgRecord --cli-unfold-argument \
|
9
|
+
--BotAppKey Nwdwlfw \
|
10
|
+
--RecordId 6bafdae2-3c8e-4c89-9674-d0c50a2312a3 \
|
11
|
+
--Score 1
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "8e4cf36f-2e65-452a-83f5-d7a1b53d07b6"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 重置会话**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ResetSession --cli-unfold-argument \
|
9
|
+
--SessionId your session id
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "76ad8e10-2e25-4702-8b15-1dbbe4ee2c3b"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|