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,21 @@
|
|
1
|
+
**Example 1: 生成问答**
|
2
|
+
|
3
|
+
生成问答
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GenerateQA --cli-unfold-argument \
|
9
|
+
--BotBizId 1727231073371148288 \
|
10
|
+
--DocBizIds 1729099536210460672
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "b580e969-fd9a-4f86-82aa-92905aa684bd"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: GetAppKnowledgeCount**
|
2
|
+
|
3
|
+
获取总数使用
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GetAppKnowledgeCount --cli-unfold-argument \
|
9
|
+
--AppBizId \
|
10
|
+
--Type
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"Total": "abc",
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 获取应用密钥**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GetAppSecret --cli-unfold-argument \
|
9
|
+
--AppBizId abc
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"AppKey": "",
|
17
|
+
"CreateTime": "",
|
18
|
+
"IsRelease": false,
|
19
|
+
"HasPermission": true,
|
20
|
+
"RequestId": "abc"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 获取文档预览相关信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GetDocPreview --cli-unfold-argument \
|
9
|
+
--DocBizId 1681597542412103680 \
|
10
|
+
--BotBizId 1735129619995951104
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"FileName": "26种病虫害防治方法.docx",
|
18
|
+
"FileType": "docx",
|
19
|
+
"CosUrl": "/corp/1681586131361275904/1681597542412103680/doc/E0dQM9X41QmyAWiTQMkC-7807575532.docx",
|
20
|
+
"Url": "xxx",
|
21
|
+
"Bucket": "",
|
22
|
+
"RequestId": "abc"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 获取特征向量**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GetEmbedding --cli-unfold-argument \
|
9
|
+
--Model doc-normal-500-v5.8 \
|
10
|
+
--Inputs 你好 \
|
11
|
+
--Online False
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Data": [
|
19
|
+
{
|
20
|
+
"Embedding": [
|
21
|
+
0
|
22
|
+
]
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"RequestId": "abc"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
**Example 1: 会话记录**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GetMsgRecord --cli-unfold-argument \
|
9
|
+
--Type 2 \
|
10
|
+
--Count 15 \
|
11
|
+
--SessionId your session id \
|
12
|
+
--LastRecordId
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"Records": [
|
20
|
+
{
|
21
|
+
"Content": "abc",
|
22
|
+
"RecordId": "abc",
|
23
|
+
"RelatedRecordId": "abc",
|
24
|
+
"IsFromSelf": true,
|
25
|
+
"FromName": "abc",
|
26
|
+
"FromAvatar": "abc",
|
27
|
+
"Timestamp": "abc",
|
28
|
+
"HasRead": true,
|
29
|
+
"Score": 1,
|
30
|
+
"CanRating": true,
|
31
|
+
"Type": 1,
|
32
|
+
"References": [
|
33
|
+
{
|
34
|
+
"Id": "abc",
|
35
|
+
"Url": "abc",
|
36
|
+
"Type": 1,
|
37
|
+
"Name": "abc",
|
38
|
+
"DocId": "abc"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"Reasons": [
|
42
|
+
"abc"
|
43
|
+
],
|
44
|
+
"IsLlmGenerated": true
|
45
|
+
}
|
46
|
+
],
|
47
|
+
"RequestId": "abc"
|
48
|
+
}
|
49
|
+
}
|
50
|
+
```
|
51
|
+
|
File without changes
|
@@ -0,0 +1,44 @@
|
|
1
|
+
**Example 1: 获取ws token**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GetWsToken --cli-unfold-argument \
|
9
|
+
--Type 1 \
|
10
|
+
--BotAppKey c65bf398 \
|
11
|
+
--VisitorBizId
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Token": "c91a8c01-c543-42e2-ba8a-d119b7cba434",
|
19
|
+
"RequestId": "abc"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
24
|
+
**Example 2: 获取 WS Token**
|
25
|
+
|
26
|
+
获取 WS Token
|
27
|
+
|
28
|
+
Input:
|
29
|
+
|
30
|
+
```
|
31
|
+
tccli lke GetWsToken --cli-unfold-argument \
|
32
|
+
--Type 1
|
33
|
+
```
|
34
|
+
|
35
|
+
Output:
|
36
|
+
```
|
37
|
+
{
|
38
|
+
"Response": {
|
39
|
+
"RequestId": "3fa293a5-9d46-4f26-8c0b-95252cfef12f",
|
40
|
+
"Token": "0457ad8d-2c64-40d9-9f2f-81863f4b0182"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
```
|
44
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
**Example 1: QA分组**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke GroupQA --cli-unfold-argument \
|
9
|
+
--BotBizId abc \
|
10
|
+
--QaBizIds abc \
|
11
|
+
--CateBizId abc
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "abc"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
23
|
+
**Example 2: 分组QA**
|
24
|
+
|
25
|
+
分组QA
|
26
|
+
|
27
|
+
Input:
|
28
|
+
|
29
|
+
```
|
30
|
+
tccli lke GroupQA --cli-unfold-argument \
|
31
|
+
--BotBizId 1714970520775950336 \
|
32
|
+
--QaBizIds 162779 \
|
33
|
+
--CateBizId 1734163509413793792
|
34
|
+
```
|
35
|
+
|
36
|
+
Output:
|
37
|
+
```
|
38
|
+
{
|
39
|
+
"Response": {
|
40
|
+
"RequestId": "1a86bd37-eeae-427a-baad-c8aa20eb6252"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
```
|
44
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 忽略不满意回复**
|
2
|
+
|
3
|
+
忽略不满意回复
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke IgnoreUnsatisfiedReply --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--ReplyBizIds 29
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "631ef23e-d787-47a1-9677-3104e68b1c56"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 是否转人工意图**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke IsTransferIntent --cli-unfold-argument \
|
9
|
+
--Content 转人工 \
|
10
|
+
--BotAppKey your botAppKey
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"Hit": true,
|
18
|
+
"RequestId": "13eec622-226b-47f0-89d7-1a2aa9f8adad"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
**Example 1: ListApp**
|
2
|
+
|
3
|
+
获取企业下应用列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListApp --cli-unfold-argument \
|
9
|
+
--AppType knowledge_qa
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Total": "1",
|
17
|
+
"List": [
|
18
|
+
{
|
19
|
+
"AppType": "abc",
|
20
|
+
"AppTypeDesc": "abc",
|
21
|
+
"AppBizId": "abc",
|
22
|
+
"Name": "abc",
|
23
|
+
"Avatar": "abc",
|
24
|
+
"Desc": "abc",
|
25
|
+
"AppStatus": 1,
|
26
|
+
"AppStatusDesc": "abc",
|
27
|
+
"UpdateTime": "abc",
|
28
|
+
"Operator": "abc",
|
29
|
+
"ModelName": "abc"
|
30
|
+
}
|
31
|
+
],
|
32
|
+
"RequestId": "abc"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
```
|
36
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 获取应用类型列表**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListAppCategory --cli-unfold-argument ```
|
9
|
+
|
10
|
+
Output:
|
11
|
+
```
|
12
|
+
{
|
13
|
+
"Response": {
|
14
|
+
"List": [
|
15
|
+
{
|
16
|
+
"Text": "",
|
17
|
+
"Value": "",
|
18
|
+
"Logo": ""
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"RequestId": "abc"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: 知识标签列表**
|
2
|
+
|
3
|
+
知识标签列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListAttributeLabel --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 15
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"List": [
|
19
|
+
{
|
20
|
+
"AttrKey": "test",
|
21
|
+
"AttrName": "诶皮爱标签",
|
22
|
+
"IsUpdating": false,
|
23
|
+
"LabelNames": [
|
24
|
+
"你好"
|
25
|
+
]
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"RequestId": "f949f7b3-c7f1-4e46-8049-db0c872dc174",
|
29
|
+
"Total": "1"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
**Example 1: 文档列表**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListDoc --cli-unfold-argument \
|
9
|
+
--BotBizId 1727231073371148288 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 10
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"List": [
|
19
|
+
{
|
20
|
+
"AttrLabels": [],
|
21
|
+
"AttrRange": 1,
|
22
|
+
"CosUrl": "/corp/137/doc/jkadslfjalkdfjaklsdfla.docx",
|
23
|
+
"DocBizId": "1729099536210460672",
|
24
|
+
"DocCharSize": "5",
|
25
|
+
"FileName": "jkadslfjalkdfjaklsdfla.docx",
|
26
|
+
"FileType": "docx",
|
27
|
+
"IsAllowDelete": true,
|
28
|
+
"IsAllowEdit": true,
|
29
|
+
"IsAllowRefer": true,
|
30
|
+
"IsAllowRestart": true,
|
31
|
+
"IsCreatedQa": true,
|
32
|
+
"IsCreatingQa": false,
|
33
|
+
"IsDeleted": false,
|
34
|
+
"IsDeletedQa": false,
|
35
|
+
"IsRefer": false,
|
36
|
+
"QaNum": 2,
|
37
|
+
"Reason": "生成问答成功",
|
38
|
+
"Source": 1,
|
39
|
+
"SourceDesc": "网页导入",
|
40
|
+
"Status": 12,
|
41
|
+
"StatusDesc": "已发布",
|
42
|
+
"WebUrl": "",
|
43
|
+
"ReferUrlType": 0,
|
44
|
+
"UpdateTime": "1701425246"
|
45
|
+
}
|
46
|
+
],
|
47
|
+
"RequestId": "5526c65b-308d-4e84-b6b3-6b21d5c106b2",
|
48
|
+
"Total": "1"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
```
|
52
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
**Example 1: ListModel**
|
2
|
+
|
3
|
+
获取模型列表
|
4
|
+
|
5
|
+
|
6
|
+
Input:
|
7
|
+
|
8
|
+
```
|
9
|
+
tccli lke ListModel --cli-unfold-argument \
|
10
|
+
--AppType knowledge_qa
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"List": [
|
18
|
+
{
|
19
|
+
"ModelName": "Model-A",
|
20
|
+
"ModelDesc": "模型A"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"ModelName": "Model-B",
|
24
|
+
"ModelDesc": "模型B"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"RequestId": "dwec-adsdsdsd-sfsfdsfsf"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
```
|
31
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
**Example 1: 获取问答列表**
|
2
|
+
|
3
|
+
获取问答列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListQA --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 50 \
|
12
|
+
--QaBizIds 162734 162779
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"AcceptedTotal": "2",
|
20
|
+
"List": [
|
21
|
+
{
|
22
|
+
"Answer": "就叫飞龙在天吧",
|
23
|
+
"CreateTime": "1701420491",
|
24
|
+
"DocBizId": "0",
|
25
|
+
"FileName": "",
|
26
|
+
"FileType": "",
|
27
|
+
"IsAllowAccept": false,
|
28
|
+
"IsAllowDelete": true,
|
29
|
+
"IsAllowEdit": true,
|
30
|
+
"QaBizId": "162779",
|
31
|
+
"QaCharSize": "14",
|
32
|
+
"Question": "帮我起一个名字",
|
33
|
+
"Source": 3,
|
34
|
+
"SourceDesc": "手动录入",
|
35
|
+
"Status": 2,
|
36
|
+
"StatusDesc": "待发布",
|
37
|
+
"UpdateTime": "1702366925"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"Answer": "我的好毛事12141",
|
41
|
+
"CreateTime": "1701419959",
|
42
|
+
"DocBizId": "0",
|
43
|
+
"FileName": "",
|
44
|
+
"FileType": "",
|
45
|
+
"IsAllowAccept": false,
|
46
|
+
"IsAllowDelete": true,
|
47
|
+
"IsAllowEdit": true,
|
48
|
+
"QaBizId": "162734",
|
49
|
+
"QaCharSize": "13",
|
50
|
+
"Question": "你号码",
|
51
|
+
"Source": 3,
|
52
|
+
"SourceDesc": "手动录入",
|
53
|
+
"Status": 2,
|
54
|
+
"StatusDesc": "待发布",
|
55
|
+
"UpdateTime": "1701939988"
|
56
|
+
}
|
57
|
+
],
|
58
|
+
"NotAcceptedTotal": "0",
|
59
|
+
"PageNumber": 1,
|
60
|
+
"RequestId": "b83a51f5-faba-4c2d-9844-fc1a9bd68c26",
|
61
|
+
"Total": "2",
|
62
|
+
"WaitVerifyTotal": "0"
|
63
|
+
}
|
64
|
+
}
|
65
|
+
```
|
66
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
**Example 1: 获取QA分类**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListQACate --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"List": [
|
17
|
+
{
|
18
|
+
"CanAdd": true,
|
19
|
+
"CanDelete": false,
|
20
|
+
"CanEdit": false,
|
21
|
+
"CateBizId": "0",
|
22
|
+
"Children": [
|
23
|
+
{
|
24
|
+
"CanAdd": false,
|
25
|
+
"CanDelete": false,
|
26
|
+
"CanEdit": false,
|
27
|
+
"CateBizId": "54554",
|
28
|
+
"Children": [],
|
29
|
+
"Name": "未分类",
|
30
|
+
"Total": 4
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"Name": "全部分类",
|
34
|
+
"Total": 4
|
35
|
+
}
|
36
|
+
],
|
37
|
+
"RequestId": "b6a45aaf-571d-48bd-988d-b0063d5e1a8b"
|
38
|
+
}
|
39
|
+
}
|
40
|
+
```
|
41
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
**Example 1: 获取拒答问题列表**
|
2
|
+
|
3
|
+
获取拒答问题列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListRejectedQuestion --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 20
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"List": [
|
19
|
+
{
|
20
|
+
"IsAllowDelete": false,
|
21
|
+
"IsAllowEdit": false,
|
22
|
+
"Question": "北京天气如何呢",
|
23
|
+
"RejectedBizId": "0",
|
24
|
+
"Status": 2,
|
25
|
+
"StatusDesc": "发布中",
|
26
|
+
"UpdateTime": "1698930291"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"IsAllowDelete": false,
|
30
|
+
"IsAllowEdit": false,
|
31
|
+
"Question": "55555569",
|
32
|
+
"RejectedBizId": "0",
|
33
|
+
"Status": 2,
|
34
|
+
"StatusDesc": "发布中",
|
35
|
+
"UpdateTime": "1693407323"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"IsAllowDelete": true,
|
39
|
+
"IsAllowEdit": true,
|
40
|
+
"Question": "55555568",
|
41
|
+
"RejectedBizId": "0",
|
42
|
+
"Status": 1,
|
43
|
+
"StatusDesc": "待发布",
|
44
|
+
"UpdateTime": "1693407323"
|
45
|
+
}
|
46
|
+
],
|
47
|
+
"RequestId": "bdc74947-8606-41e1-9a97-72690bf06bdd",
|
48
|
+
"Total": "3"
|
49
|
+
}
|
50
|
+
}
|
51
|
+
```
|
52
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
**Example 1: 发布拒答问题预览**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke ListRejectedQuestionPreview --cli-unfold-argument \
|
9
|
+
--BotBizId abc \
|
10
|
+
--PageNumber 1 \
|
11
|
+
--PageSize 1 \
|
12
|
+
--Query abc \
|
13
|
+
--ReleaseBizId 1 \
|
14
|
+
--Actions 1 \
|
15
|
+
--StartTime 1701566284 \
|
16
|
+
--EndTime 1701766284
|
17
|
+
```
|
18
|
+
|
19
|
+
Output:
|
20
|
+
```
|
21
|
+
{
|
22
|
+
"Response": {
|
23
|
+
"Total": "1",
|
24
|
+
"List": [
|
25
|
+
{
|
26
|
+
"Question": "abc",
|
27
|
+
"UpdateTime": "abc",
|
28
|
+
"Action": 1,
|
29
|
+
"ActionDesc": "abc",
|
30
|
+
"Message": "abc"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"RequestId": "abc"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
```
|
37
|
+
|